@intelact/driveup 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/auth/signin.dto.js +1 -1
- package/lib/auth/signin.dto.js.map +1 -1
- package/lib/geo/address.model.d.ts +6 -4
- package/lib/geo/address.model.js +13 -2
- package/lib/geo/address.model.js.map +1 -1
- package/lib/geo/pickup.model.d.ts +1 -1
- package/lib/geo/pickup.model.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/instructor/instructor.model.d.ts +3 -2
- package/lib/instructor/instructor.model.js +5 -4
- package/lib/instructor/instructor.model.js.map +1 -1
- package/lib/note/note.model.d.ts +1 -1
- package/lib/note/note.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/array.helper.d.ts +7 -0
- package/lib/utils/array.helper.js +9 -0
- package/lib/utils/array.helper.js.map +1 -1
- package/package.json +2 -2
- package/lib/agent/asset.type.d.ts +0 -5
- package/lib/agent/asset.type.js +0 -10
- package/lib/agent/asset.type.js.map +0 -1
- package/lib/agent/earning.type.d.ts +0 -6
- package/lib/agent/earning.type.js +0 -3
- package/lib/agent/earning.type.js.map +0 -1
- package/lib/alert/alert.content.d.ts +0 -4
- package/lib/alert/alert.content.js +0 -9
- package/lib/alert/alert.content.js.map +0 -1
- package/lib/bill/bill-item.type.d.ts +0 -5
- package/lib/bill/bill-item.type.js +0 -10
- package/lib/bill/bill-item.type.js.map +0 -1
- package/lib/bill/bill.status.d.ts +0 -5
- package/lib/bill/bill.status.js +0 -13
- package/lib/bill/bill.status.js.map +0 -1
- package/lib/calendar/types.d.ts +0 -19
- package/lib/calendar/types.js +0 -25
- package/lib/calendar/types.js.map +0 -1
- package/lib/common/context.d.ts +0 -6
- package/lib/common/context.js +0 -11
- package/lib/common/context.js.map +0 -1
- package/lib/course/types.d.ts +0 -15
- package/lib/course/types.js +0 -22
- package/lib/course/types.js.map +0 -1
- package/lib/driving/lesson/types.d.ts +0 -15
- package/lib/driving/lesson/types.js +0 -21
- package/lib/driving/lesson/types.js.map +0 -1
- package/lib/driving/types.d.ts +0 -9
- package/lib/driving/types.js +0 -15
- package/lib/driving/types.js.map +0 -1
- package/lib/event/event.dto.d.ts +0 -24
- package/lib/event/event.dto.js +0 -146
- package/lib/event/event.dto.js.map +0 -1
- package/lib/event/event.model.d.ts +0 -8
- package/lib/event/event.model.js +0 -49
- package/lib/event/event.model.js.map +0 -1
- package/lib/event/index.d.ts +0 -2
- package/lib/event/index.js +0 -19
- package/lib/event/index.js.map +0 -1
- package/lib/events/agent/account.events.d.ts +0 -27
- package/lib/events/agent/account.events.js +0 -32
- package/lib/events/agent/account.events.js.map +0 -1
- package/lib/events/agent/payout.events.d.ts +0 -29
- package/lib/events/agent/payout.events.js +0 -34
- package/lib/events/agent/payout.events.js.map +0 -1
- package/lib/events/agent/profile.events.d.ts +0 -18
- package/lib/events/agent/profile.events.js +0 -23
- package/lib/events/agent/profile.events.js.map +0 -1
- package/lib/events/agent/promotion.events.d.ts +0 -42
- package/lib/events/agent/promotion.events.js +0 -47
- package/lib/events/agent/promotion.events.js.map +0 -1
- package/lib/events/auth/auth.events.d.ts +0 -16
- package/lib/events/auth/auth.events.js +0 -21
- package/lib/events/auth/auth.events.js.map +0 -1
- package/lib/events/auth/token.events.d.ts +0 -23
- package/lib/events/auth/token.events.js +0 -28
- package/lib/events/auth/token.events.js.map +0 -1
- package/lib/events/auth/verify.events.d.ts +0 -17
- package/lib/events/auth/verify.events.js +0 -22
- package/lib/events/auth/verify.events.js.map +0 -1
- package/lib/events/company/account/account.events.d.ts +0 -64
- package/lib/events/company/account/account.events.js +0 -69
- package/lib/events/company/account/account.events.js.map +0 -1
- package/lib/events/company/account/profile.events.d.ts +0 -169
- package/lib/events/company/account/profile.events.js +0 -174
- package/lib/events/company/account/profile.events.js.map +0 -1
- package/lib/events/company/course/appointment.events.d.ts +0 -56
- package/lib/events/company/course/appointment.events.js +0 -61
- package/lib/events/company/course/appointment.events.js.map +0 -1
- package/lib/events/company/course/course.events.d.ts +0 -118
- package/lib/events/company/course/course.events.js +0 -123
- package/lib/events/company/course/course.events.js.map +0 -1
- package/lib/events/company/course/lesson.events.d.ts +0 -56
- package/lib/events/company/course/lesson.events.js +0 -61
- package/lib/events/company/course/lesson.events.js.map +0 -1
- package/lib/events/company/course/topic.events.d.ts +0 -76
- package/lib/events/company/course/topic.events.js +0 -81
- package/lib/events/company/course/topic.events.js.map +0 -1
- package/lib/events/company/product/addon.events.d.ts +0 -34
- package/lib/events/company/product/addon.events.js +0 -39
- package/lib/events/company/product/addon.events.js.map +0 -1
- package/lib/events/company/product/campaign.events.d.ts +0 -13
- package/lib/events/company/product/campaign.events.js +0 -18
- package/lib/events/company/product/campaign.events.js.map +0 -1
- package/lib/events/company/product/product.events.d.ts +0 -54
- package/lib/events/company/product/product.events.js +0 -59
- package/lib/events/company/product/product.events.js.map +0 -1
- package/lib/events/index.d.ts +0 -25
- package/lib/events/index.js +0 -42
- package/lib/events/index.js.map +0 -1
- package/lib/events/instructor/account/account.events.d.ts +0 -123
- package/lib/events/instructor/account/account.events.js +0 -128
- package/lib/events/instructor/account/account.events.js.map +0 -1
- package/lib/events/instructor/account/profile.events.d.ts +0 -31
- package/lib/events/instructor/account/profile.events.js +0 -36
- package/lib/events/instructor/account/profile.events.js.map +0 -1
- package/lib/events/instructor/task/task.events.d.ts +0 -24
- package/lib/events/instructor/task/task.events.js +0 -29
- package/lib/events/instructor/task/task.events.js.map +0 -1
- package/lib/events/student/account/account.events.d.ts +0 -36
- package/lib/events/student/account/account.events.js +0 -41
- package/lib/events/student/account/account.events.js.map +0 -1
- package/lib/events/user/account.events.d.ts +0 -84
- package/lib/events/user/account.events.js +0 -89
- package/lib/events/user/account.events.js.map +0 -1
- package/lib/events/user/alert.events.d.ts +0 -16
- package/lib/events/user/alert.events.js +0 -21
- package/lib/events/user/alert.events.js.map +0 -1
- package/lib/events/user/device.events.d.ts +0 -30
- package/lib/events/user/device.events.js +0 -35
- package/lib/events/user/device.events.js.map +0 -1
- package/lib/events/user/notification.events.d.ts +0 -30
- package/lib/events/user/notification.events.js +0 -35
- package/lib/events/user/notification.events.js.map +0 -1
- package/lib/events/user/profile.events.d.ts +0 -60
- package/lib/events/user/profile.events.js +0 -65
- package/lib/events/user/profile.events.js.map +0 -1
- package/lib/expense/expense.types.d.ts +0 -5
- package/lib/expense/expense.types.js +0 -10
- package/lib/expense/expense.types.js.map +0 -1
- package/lib/finance/finance.type.d.ts +0 -21
- package/lib/finance/finance.type.js +0 -21
- package/lib/finance/finance.type.js.map +0 -1
- package/lib/free-benefit/free-benefit.type.d.ts +0 -4
- package/lib/free-benefit/free-benefit.type.js +0 -9
- package/lib/free-benefit/free-benefit.type.js.map +0 -1
- package/lib/handover/handover.document.d.ts +0 -5
- package/lib/handover/handover.document.js +0 -3
- package/lib/handover/handover.document.js.map +0 -1
- package/lib/invoice/invoice.types.d.ts +0 -6
- package/lib/invoice/invoice.types.js +0 -11
- package/lib/invoice/invoice.types.js.map +0 -1
- package/lib/log/log.type.d.ts +0 -9
- package/lib/log/log.type.js +0 -14
- package/lib/log/log.type.js.map +0 -1
- package/lib/notification/notification.channel.d.ts +0 -6
- package/lib/notification/notification.channel.js +0 -11
- package/lib/notification/notification.channel.js.map +0 -1
- package/lib/payment/payment.types.d.ts +0 -13
- package/lib/payment/payment.types.js +0 -20
- package/lib/payment/payment.types.js.map +0 -1
- package/lib/payout/payout.types.d.ts +0 -4
- package/lib/payout/payout.types.js +0 -9
- package/lib/payout/payout.types.js.map +0 -1
- package/lib/priceplan/plan.enum.d.ts +0 -23
- package/lib/priceplan/plan.enum.js +0 -29
- package/lib/priceplan/plan.enum.js.map +0 -1
- package/lib/product/index.d.ts +0 -3
- package/lib/product/index.js +0 -20
- package/lib/product/index.js.map +0 -1
- package/lib/product/product.dto.d.ts +0 -12
- package/lib/product/product.dto.js +0 -69
- package/lib/product/product.dto.js.map +0 -1
- package/lib/product/product.model.d.ts +0 -12
- package/lib/product/product.model.js +0 -61
- package/lib/product/product.model.js.map +0 -1
- package/lib/product/product.type.d.ts +0 -4
- package/lib/product/product.type.js +0 -9
- package/lib/product/product.type.js.map +0 -1
- package/lib/security/account.types.d.ts +0 -8
- package/lib/security/account.types.js +0 -13
- package/lib/security/account.types.js.map +0 -1
- package/lib/security/acl.d.ts +0 -6
- package/lib/security/acl.js +0 -11
- package/lib/security/acl.js.map +0 -1
- package/lib/security/permissions.d.ts +0 -9
- package/lib/security/permissions.js +0 -14
- package/lib/security/permissions.js.map +0 -1
- package/lib/security/role.types.d.ts +0 -41
- package/lib/security/role.types.js +0 -46
- package/lib/security/role.types.js.map +0 -1
- package/lib/setting/setting.type.d.ts +0 -7
- package/lib/setting/setting.type.js +0 -12
- package/lib/setting/setting.type.js.map +0 -1
- package/lib/ticket/ticket.enum.d.ts +0 -5
- package/lib/ticket/ticket.enum.js +0 -10
- package/lib/ticket/ticket.enum.js.map +0 -1
- package/lib/training/training.types.d.ts +0 -15
- package/lib/training/training.types.js +0 -22
- package/lib/training/training.types.js.map +0 -1
- package/lib/types/activity.type.d.ts +0 -46
- package/lib/types/activity.type.js +0 -51
- package/lib/types/activity.type.js.map +0 -1
- package/lib/types/addon.type.d.ts +0 -66
- package/lib/types/addon.type.js +0 -71
- package/lib/types/addon.type.js.map +0 -1
- package/lib/types/calendar.type.d.ts +0 -24
- package/lib/types/calendar.type.js +0 -31
- package/lib/types/calendar.type.js.map +0 -1
- package/lib/types/driving.type.d.ts +0 -12
- package/lib/types/driving.type.js +0 -18
- package/lib/types/driving.type.js.map +0 -1
- package/lib/types/earning.type.d.ts +0 -6
- package/lib/types/earning.type.js +0 -3
- package/lib/types/earning.type.js.map +0 -1
- package/lib/types/finance.type.d.ts +0 -67
- package/lib/types/finance.type.js +0 -77
- package/lib/types/finance.type.js.map +0 -1
- package/lib/types/index.d.ts +0 -15
- package/lib/types/index.js +0 -32
- package/lib/types/index.js.map +0 -1
- package/lib/types/interface.d.ts +0 -79
- package/lib/types/interface.js +0 -4
- package/lib/types/interface.js.map +0 -1
- package/lib/types/metric.type.d.ts +0 -34
- package/lib/types/metric.type.js +0 -39
- package/lib/types/metric.type.js.map +0 -1
- package/lib/types/policy.type.d.ts +0 -27
- package/lib/types/policy.type.js +0 -32
- package/lib/types/policy.type.js.map +0 -1
- package/lib/types/priceplan.type.d.ts +0 -39
- package/lib/types/priceplan.type.js +0 -48
- package/lib/types/priceplan.type.js.map +0 -1
- package/lib/types/product.type.d.ts +0 -202
- package/lib/types/product.type.js +0 -209
- package/lib/types/product.type.js.map +0 -1
- package/lib/types/program.type.d.ts +0 -23
- package/lib/types/program.type.js +0 -28
- package/lib/types/program.type.js.map +0 -1
- package/lib/types/security.type.d.ts +0 -54
- package/lib/types/security.type.js +0 -60
- package/lib/types/security.type.js.map +0 -1
- package/lib/types/support.type.d.ts +0 -128
- package/lib/types/support.type.js +0 -145
- package/lib/types/support.type.js.map +0 -1
- package/lib/types/training.type.d.ts +0 -16
- package/lib/types/training.type.js +0 -22
- package/lib/types/training.type.js.map +0 -1
- package/lib/user/profile.type.d.ts +0 -10
- package/lib/user/profile.type.js +0 -15
- package/lib/user/profile.type.js.map +0 -1
- package/lib/validators/compare.validator.d.ts +0 -9
- package/lib/validators/compare.validator.js +0 -34
- package/lib/validators/compare.validator.js.map +0 -1
- package/lib/validators/index.d.ts +0 -2
- package/lib/validators/index.js +0 -19
- package/lib/validators/index.js.map +0 -1
- package/lib/validators/required.validator.d.ts +0 -21
- package/lib/validators/required.validator.js +0 -95
- package/lib/validators/required.validator.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array.helper.js","sourceRoot":"","sources":["../../src/utils/array.helper.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;IAEvB;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAI,GAAQ;QAC3B,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3D,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,WAAW,CAAI,GAAQ;QAC7B,OAAO,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,MAAM,CAAC,GAAa,EAAE,OAAO,GAAC,CAAC;QACrC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CACD;
|
|
1
|
+
{"version":3,"file":"array.helper.js","sourceRoot":"","sources":["../../src/utils/array.helper.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;IAEvB;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAI,GAAQ;QAC3B,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3D,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,WAAW,CAAI,GAAQ;QAC7B,OAAO,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,MAAM,CAAC,GAAa,EAAE,OAAO,GAAC,CAAC;QACrC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,MAAM,CAAC,GAAa,EAAE,OAAO,GAAC,CAAC;QACrC,OAAO,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;CACD;AAxCD,kCAwCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intelact/driveup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Driveup Common",
|
|
5
5
|
"author": "Intelact Solutions Ltd.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=20"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@driveup/shared": "^0.1.
|
|
27
|
+
"@driveup/shared": "^0.1.7",
|
|
28
28
|
"class-transformer": "^0.5.1",
|
|
29
29
|
"class-validator": "^0.14.1",
|
|
30
30
|
"luxon": "^3.5.0",
|
package/lib/agent/asset.type.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentAssetType = void 0;
|
|
4
|
-
var AgentAssetType;
|
|
5
|
-
(function (AgentAssetType) {
|
|
6
|
-
AgentAssetType["Video"] = "VIDEO";
|
|
7
|
-
AgentAssetType["Image"] = "IMAGE";
|
|
8
|
-
AgentAssetType["PDF"] = "PDF";
|
|
9
|
-
})(AgentAssetType || (exports.AgentAssetType = AgentAssetType = {}));
|
|
10
|
-
//# sourceMappingURL=asset.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asset.type.js","sourceRoot":"","sources":["../../src/agent/asset.type.ts"],"names":[],"mappings":";;;AACA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,6BAAW,CAAA;AACZ,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"earning.type.js","sourceRoot":"","sources":["../../src/agent/earning.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AlertContent = void 0;
|
|
4
|
-
var AlertContent;
|
|
5
|
-
(function (AlertContent) {
|
|
6
|
-
AlertContent["RecoveryEmail"] = "RECOVERY_EMAIL";
|
|
7
|
-
AlertContent["TrainingRating"] = "TRAINING_RATING";
|
|
8
|
-
})(AlertContent || (exports.AlertContent = AlertContent = {}));
|
|
9
|
-
//# sourceMappingURL=alert.content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert.content.js","sourceRoot":"","sources":["../../src/alert/alert.content.ts"],"names":[],"mappings":";;;AACA,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,gDAAgC,CAAA;IAChC,kDAAkC,CAAA;AACnC,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompanyBillItemType = void 0;
|
|
4
|
-
var CompanyBillItemType;
|
|
5
|
-
(function (CompanyBillItemType) {
|
|
6
|
-
CompanyBillItemType["StudentTraining"] = "bill.item.studentTraining";
|
|
7
|
-
CompanyBillItemType["InstructorSubscription"] = "bill.item.instructorSubscription";
|
|
8
|
-
CompanyBillItemType["EnterpriseSeats"] = "bill.item.enterpriseSeats";
|
|
9
|
-
})(CompanyBillItemType || (exports.CompanyBillItemType = CompanyBillItemType = {}));
|
|
10
|
-
//# sourceMappingURL=bill-item.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bill-item.type.js","sourceRoot":"","sources":["../../src/bill/bill-item.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,oEAA6C,CAAA;IAC7C,kFAA2D,CAAA;IAC3D,oEAA6C,CAAA;AAC9C,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
package/lib/bill/bill.status.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BillStatus = void 0;
|
|
4
|
-
var BillStatus;
|
|
5
|
-
(function (BillStatus) {
|
|
6
|
-
// Current cycle
|
|
7
|
-
BillStatus["ACTIVE"] = "ACTIVE";
|
|
8
|
-
// Payment failed
|
|
9
|
-
BillStatus["UNPAID"] = "UNPAID";
|
|
10
|
-
// Payment completed
|
|
11
|
-
BillStatus["PAID"] = "PAID";
|
|
12
|
-
})(BillStatus || (exports.BillStatus = BillStatus = {}));
|
|
13
|
-
//# sourceMappingURL=bill.status.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bill.status.js","sourceRoot":"","sources":["../../src/bill/bill.status.ts"],"names":[],"mappings":";;;AACA,IAAY,UAOX;AAPD,WAAY,UAAU;IACrB,gBAAgB;IAChB,+BAAiB,CAAA;IACjB,iBAAiB;IACjB,+BAAiB,CAAA;IACjB,oBAAoB;IACpB,2BAAa,CAAA;AACd,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB"}
|
package/lib/calendar/types.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare enum AppointmentType {
|
|
2
|
-
Driving = "DRIVING",
|
|
3
|
-
Flexible = "FLEXIBLE",
|
|
4
|
-
Fixed = "FIXED",
|
|
5
|
-
Canceled = "CANCELED",
|
|
6
|
-
Task = "TASK",
|
|
7
|
-
NonWorking = "NONWORKING",
|
|
8
|
-
Holiday = "HOLIDAY",
|
|
9
|
-
OffDay = "OFFDAY"
|
|
10
|
-
}
|
|
11
|
-
export declare enum WeekDay {
|
|
12
|
-
Monday = "MONDAY",
|
|
13
|
-
Tuesday = "TUESDAY",
|
|
14
|
-
Wednesday = "WEDNESDAY",
|
|
15
|
-
Thursday = "THURSDAY",
|
|
16
|
-
Friday = "FRIDAY",
|
|
17
|
-
Saturday = "SATURDAY",
|
|
18
|
-
Sunday = "SUNDAY"
|
|
19
|
-
}
|
package/lib/calendar/types.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WeekDay = exports.AppointmentType = void 0;
|
|
4
|
-
var AppointmentType;
|
|
5
|
-
(function (AppointmentType) {
|
|
6
|
-
AppointmentType["Driving"] = "DRIVING";
|
|
7
|
-
AppointmentType["Flexible"] = "FLEXIBLE";
|
|
8
|
-
AppointmentType["Fixed"] = "FIXED";
|
|
9
|
-
AppointmentType["Canceled"] = "CANCELED";
|
|
10
|
-
AppointmentType["Task"] = "TASK";
|
|
11
|
-
AppointmentType["NonWorking"] = "NONWORKING";
|
|
12
|
-
AppointmentType["Holiday"] = "HOLIDAY";
|
|
13
|
-
AppointmentType["OffDay"] = "OFFDAY";
|
|
14
|
-
})(AppointmentType || (exports.AppointmentType = AppointmentType = {}));
|
|
15
|
-
var WeekDay;
|
|
16
|
-
(function (WeekDay) {
|
|
17
|
-
WeekDay["Monday"] = "MONDAY";
|
|
18
|
-
WeekDay["Tuesday"] = "TUESDAY";
|
|
19
|
-
WeekDay["Wednesday"] = "WEDNESDAY";
|
|
20
|
-
WeekDay["Thursday"] = "THURSDAY";
|
|
21
|
-
WeekDay["Friday"] = "FRIDAY";
|
|
22
|
-
WeekDay["Saturday"] = "SATURDAY";
|
|
23
|
-
WeekDay["Sunday"] = "SUNDAY";
|
|
24
|
-
})(WeekDay || (exports.WeekDay = WeekDay = {}));
|
|
25
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/calendar/types.ts"],"names":[],"mappings":";;;AACA,IAAY,eASX;AATD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACtB,sCAAmB,CAAA;IACtB,oCAAiB,CAAA;AAClB,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAED,IAAY,OAQX;AARD,WAAY,OAAO;IAClB,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;AAClB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"}
|
package/lib/common/context.d.ts
DELETED
package/lib/common/context.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Context = void 0;
|
|
4
|
-
var Context;
|
|
5
|
-
(function (Context) {
|
|
6
|
-
Context["Info"] = "info";
|
|
7
|
-
Context["Error"] = "error";
|
|
8
|
-
Context["Warning"] = "warning";
|
|
9
|
-
Context["Success"] = "success";
|
|
10
|
-
})(Context || (exports.Context = Context = {}));
|
|
11
|
-
//# sourceMappingURL=context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/common/context.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAKX;AALD,WAAY,OAAO;IAClB,wBAAa,CAAA;IACb,0BAAe,CAAA;IACf,8BAAmB,CAAA;IACnB,8BAAmB,CAAA;AACpB,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB"}
|
package/lib/course/types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum CourseType {
|
|
2
|
-
Flex = "FLEXIBLE",
|
|
3
|
-
Fix = "FIXED"
|
|
4
|
-
}
|
|
5
|
-
export declare enum CourseStatus {
|
|
6
|
-
Draft = "DRAFT",
|
|
7
|
-
Active = "ACTIVE",
|
|
8
|
-
Ended = "ENDED"
|
|
9
|
-
}
|
|
10
|
-
export declare enum AppointmentRepetition {
|
|
11
|
-
None = "NONE",
|
|
12
|
-
Daily = "DAILY",
|
|
13
|
-
Weekly = "WEEKLY",
|
|
14
|
-
Monthly = "MONTHLY"
|
|
15
|
-
}
|
package/lib/course/types.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppointmentRepetition = exports.CourseStatus = exports.CourseType = void 0;
|
|
4
|
-
var CourseType;
|
|
5
|
-
(function (CourseType) {
|
|
6
|
-
CourseType["Flex"] = "FLEXIBLE";
|
|
7
|
-
CourseType["Fix"] = "FIXED";
|
|
8
|
-
})(CourseType || (exports.CourseType = CourseType = {}));
|
|
9
|
-
var CourseStatus;
|
|
10
|
-
(function (CourseStatus) {
|
|
11
|
-
CourseStatus["Draft"] = "DRAFT";
|
|
12
|
-
CourseStatus["Active"] = "ACTIVE";
|
|
13
|
-
CourseStatus["Ended"] = "ENDED";
|
|
14
|
-
})(CourseStatus || (exports.CourseStatus = CourseStatus = {}));
|
|
15
|
-
var AppointmentRepetition;
|
|
16
|
-
(function (AppointmentRepetition) {
|
|
17
|
-
AppointmentRepetition["None"] = "NONE";
|
|
18
|
-
AppointmentRepetition["Daily"] = "DAILY";
|
|
19
|
-
AppointmentRepetition["Weekly"] = "WEEKLY";
|
|
20
|
-
AppointmentRepetition["Monthly"] = "MONTHLY";
|
|
21
|
-
})(AppointmentRepetition || (exports.AppointmentRepetition = AppointmentRepetition = {}));
|
|
22
|
-
//# sourceMappingURL=types.js.map
|
package/lib/course/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/course/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACrB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACd,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,+BAAe,CAAA;IACf,iCAAiB,CAAA;IACjB,+BAAe,CAAA;AAChB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACpB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum DrivingScore {
|
|
2
|
-
NoScoreSubmitted = 0,
|
|
3
|
-
Poor = 1,
|
|
4
|
-
Weak = 2,
|
|
5
|
-
Fair = 3,
|
|
6
|
-
Great = 4,
|
|
7
|
-
Excellent = 5
|
|
8
|
-
}
|
|
9
|
-
export declare enum DrivingTopicStatus {
|
|
10
|
-
Planned = "PLANNED",
|
|
11
|
-
InProgress = "INPROGRESS",
|
|
12
|
-
Completed = "COMPLETED",
|
|
13
|
-
Skipped = "SKIPPED",
|
|
14
|
-
Faild = "FAILD"
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DrivingTopicStatus = exports.DrivingScore = void 0;
|
|
4
|
-
var DrivingScore;
|
|
5
|
-
(function (DrivingScore) {
|
|
6
|
-
DrivingScore[DrivingScore["NoScoreSubmitted"] = 0] = "NoScoreSubmitted";
|
|
7
|
-
DrivingScore[DrivingScore["Poor"] = 1] = "Poor";
|
|
8
|
-
DrivingScore[DrivingScore["Weak"] = 2] = "Weak";
|
|
9
|
-
DrivingScore[DrivingScore["Fair"] = 3] = "Fair";
|
|
10
|
-
DrivingScore[DrivingScore["Great"] = 4] = "Great";
|
|
11
|
-
DrivingScore[DrivingScore["Excellent"] = 5] = "Excellent";
|
|
12
|
-
})(DrivingScore || (exports.DrivingScore = DrivingScore = {}));
|
|
13
|
-
var DrivingTopicStatus;
|
|
14
|
-
(function (DrivingTopicStatus) {
|
|
15
|
-
DrivingTopicStatus["Planned"] = "PLANNED";
|
|
16
|
-
DrivingTopicStatus["InProgress"] = "INPROGRESS";
|
|
17
|
-
DrivingTopicStatus["Completed"] = "COMPLETED";
|
|
18
|
-
DrivingTopicStatus["Skipped"] = "SKIPPED";
|
|
19
|
-
DrivingTopicStatus["Faild"] = "FAILD";
|
|
20
|
-
})(DrivingTopicStatus || (exports.DrivingTopicStatus = DrivingTopicStatus = {}));
|
|
21
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/driving/lesson/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAOX;AAPD,WAAY,YAAY;IACvB,uEAAoB,CAAA;IACpB,+CAAQ,CAAA;IACR,+CAAQ,CAAA;IACR,+CAAQ,CAAA;IACR,iDAAS,CAAA;IACT,yDAAa,CAAA;AACd,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB;AAED,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;AAChB,CAAC,EANW,kBAAkB,kCAAlB,kBAAkB,QAM7B"}
|
package/lib/driving/types.d.ts
DELETED
package/lib/driving/types.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DrivingExamStatus = exports.CarTransmission = void 0;
|
|
4
|
-
var CarTransmission;
|
|
5
|
-
(function (CarTransmission) {
|
|
6
|
-
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
7
|
-
CarTransmission["Manual"] = "MANUAL";
|
|
8
|
-
})(CarTransmission || (exports.CarTransmission = CarTransmission = {}));
|
|
9
|
-
var DrivingExamStatus;
|
|
10
|
-
(function (DrivingExamStatus) {
|
|
11
|
-
DrivingExamStatus["Pending"] = "PENDING";
|
|
12
|
-
DrivingExamStatus["Passed"] = "PASSED";
|
|
13
|
-
DrivingExamStatus["Failed"] = "FAILED";
|
|
14
|
-
})(DrivingExamStatus || (exports.DrivingExamStatus = DrivingExamStatus = {}));
|
|
15
|
-
//# sourceMappingURL=types.js.map
|
package/lib/driving/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/driving/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B"}
|
package/lib/event/event.dto.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare class TaskCreateDto {
|
|
2
|
-
instructorId: number;
|
|
3
|
-
title: string;
|
|
4
|
-
startDate: Date;
|
|
5
|
-
endDate: Date;
|
|
6
|
-
allDay: boolean;
|
|
7
|
-
busy: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare class TaskUpdateDto {
|
|
10
|
-
instructorId: number;
|
|
11
|
-
title: string;
|
|
12
|
-
startDate: Date;
|
|
13
|
-
endDate: Date;
|
|
14
|
-
allDay: boolean;
|
|
15
|
-
busy: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare class TaskFilterDto {
|
|
18
|
-
instructors: number[];
|
|
19
|
-
title: string;
|
|
20
|
-
startDate: Date;
|
|
21
|
-
endDate: Date;
|
|
22
|
-
allDay: boolean;
|
|
23
|
-
busy: boolean;
|
|
24
|
-
}
|
package/lib/event/event.dto.js
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.TaskFilterDto = exports.TaskUpdateDto = exports.TaskCreateDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const validators_1 = require("../validators");
|
|
16
|
-
class TaskCreateDto {
|
|
17
|
-
instructorId;
|
|
18
|
-
title;
|
|
19
|
-
startDate;
|
|
20
|
-
endDate;
|
|
21
|
-
allDay;
|
|
22
|
-
busy;
|
|
23
|
-
}
|
|
24
|
-
exports.TaskCreateDto = TaskCreateDto;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
-
(0, class_validator_1.IsNumber)(),
|
|
28
|
-
(0, class_validator_1.Min)(1),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], TaskCreateDto.prototype, "instructorId", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], TaskCreateDto.prototype, "title", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
-
(0, class_validator_1.IsDate)(),
|
|
40
|
-
(0, class_validator_1.Validate)(validators_1.CompareWithEndDate),
|
|
41
|
-
__metadata("design:type", Date)
|
|
42
|
-
], TaskCreateDto.prototype, "startDate", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
(0, class_validator_1.IsDate)(),
|
|
46
|
-
__metadata("design:type", Date)
|
|
47
|
-
], TaskCreateDto.prototype, "endDate", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
50
|
-
(0, class_validator_1.IsBoolean)(),
|
|
51
|
-
__metadata("design:type", Boolean)
|
|
52
|
-
], TaskCreateDto.prototype, "allDay", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
55
|
-
(0, class_validator_1.IsBoolean)(),
|
|
56
|
-
__metadata("design:type", Boolean)
|
|
57
|
-
], TaskCreateDto.prototype, "busy", void 0);
|
|
58
|
-
class TaskUpdateDto {
|
|
59
|
-
instructorId;
|
|
60
|
-
title;
|
|
61
|
-
startDate;
|
|
62
|
-
endDate;
|
|
63
|
-
allDay;
|
|
64
|
-
busy;
|
|
65
|
-
}
|
|
66
|
-
exports.TaskUpdateDto = TaskUpdateDto;
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
69
|
-
(0, class_validator_1.IsNumber)(),
|
|
70
|
-
__metadata("design:type", Number)
|
|
71
|
-
], TaskUpdateDto.prototype, "instructorId", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
74
|
-
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
75
|
-
(0, class_validator_1.IsString)(),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], TaskUpdateDto.prototype, "title", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
80
|
-
(0, class_validator_1.IsDate)(),
|
|
81
|
-
(0, class_validator_1.Validate)(validators_1.CompareWithEndDate),
|
|
82
|
-
__metadata("design:type", Date)
|
|
83
|
-
], TaskUpdateDto.prototype, "startDate", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, class_validator_1.IsOptional)(),
|
|
86
|
-
(0, class_validator_1.IsDate)(),
|
|
87
|
-
__metadata("design:type", Date)
|
|
88
|
-
], TaskUpdateDto.prototype, "endDate", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
91
|
-
(0, class_validator_1.IsBoolean)(),
|
|
92
|
-
__metadata("design:type", Boolean)
|
|
93
|
-
], TaskUpdateDto.prototype, "allDay", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
96
|
-
(0, class_validator_1.IsBoolean)(),
|
|
97
|
-
__metadata("design:type", Boolean)
|
|
98
|
-
], TaskUpdateDto.prototype, "busy", void 0);
|
|
99
|
-
class TaskFilterDto {
|
|
100
|
-
instructors;
|
|
101
|
-
title;
|
|
102
|
-
startDate;
|
|
103
|
-
endDate;
|
|
104
|
-
allDay;
|
|
105
|
-
busy;
|
|
106
|
-
}
|
|
107
|
-
exports.TaskFilterDto = TaskFilterDto;
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, class_validator_1.IsOptional)(),
|
|
110
|
-
(0, class_transformer_1.Transform)(({ value }) => value
|
|
111
|
-
? Array.isArray(value)
|
|
112
|
-
? value.map(v => +v)
|
|
113
|
-
: [+value]
|
|
114
|
-
: undefined),
|
|
115
|
-
(0, class_validator_1.IsArray)(),
|
|
116
|
-
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
117
|
-
__metadata("design:type", Array)
|
|
118
|
-
], TaskFilterDto.prototype, "instructors", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, class_validator_1.IsOptional)(),
|
|
121
|
-
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
122
|
-
(0, class_validator_1.IsString)(),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], TaskFilterDto.prototype, "title", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
127
|
-
(0, class_validator_1.IsDate)(),
|
|
128
|
-
(0, class_validator_1.Validate)(validators_1.CompareWithEndDate),
|
|
129
|
-
__metadata("design:type", Date)
|
|
130
|
-
], TaskFilterDto.prototype, "startDate", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
(0, class_validator_1.IsOptional)(),
|
|
133
|
-
(0, class_validator_1.IsDate)(),
|
|
134
|
-
__metadata("design:type", Date)
|
|
135
|
-
], TaskFilterDto.prototype, "endDate", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, class_validator_1.IsOptional)(),
|
|
138
|
-
(0, class_validator_1.IsBoolean)(),
|
|
139
|
-
__metadata("design:type", Boolean)
|
|
140
|
-
], TaskFilterDto.prototype, "allDay", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, class_validator_1.IsOptional)(),
|
|
143
|
-
(0, class_validator_1.IsBoolean)(),
|
|
144
|
-
__metadata("design:type", Boolean)
|
|
145
|
-
], TaskFilterDto.prototype, "busy", void 0);
|
|
146
|
-
//# sourceMappingURL=event.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event.dto.js","sourceRoot":"","sources":["../../src/event/event.dto.ts"],"names":[],"mappings":"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"}
|
package/lib/event/event.model.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.Event = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
class Event {
|
|
15
|
-
id;
|
|
16
|
-
title;
|
|
17
|
-
startDate;
|
|
18
|
-
endDate;
|
|
19
|
-
allDay;
|
|
20
|
-
constructor(props) {
|
|
21
|
-
Object.assign(this, props);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.Event = Event;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_transformer_1.Expose)(),
|
|
27
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], Event.prototype, "id", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], Event.prototype, "title", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_transformer_1.Expose)(),
|
|
36
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
37
|
-
__metadata("design:type", Date)
|
|
38
|
-
], Event.prototype, "startDate", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
42
|
-
__metadata("design:type", Date)
|
|
43
|
-
], Event.prototype, "endDate", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_transformer_1.Expose)(),
|
|
46
|
-
(0, class_transformer_1.Type)(() => Boolean),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], Event.prototype, "allDay", void 0);
|
|
49
|
-
//# sourceMappingURL=event.model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event.model.js","sourceRoot":"","sources":["../../src/event/event.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,KAAK;IAGjB,EAAE,CAAS;IAGX,KAAK,CAAS;IAId,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAEhB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvBD,sBAuBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;wCAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;sCAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;qCACJ"}
|
package/lib/event/index.d.ts
DELETED
package/lib/event/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./event.dto"), exports);
|
|
18
|
-
__exportStar(require("./event.model"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
package/lib/event/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/event/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,gDAA8B"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare enum AgentAccountEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Agent account is created
|
|
4
|
-
* @author Auth User
|
|
5
|
-
* @fires Log user for auditing purposes
|
|
6
|
-
* @fires Log agent for auditing purposes
|
|
7
|
-
* @fires Log system log for auditing purposes
|
|
8
|
-
* @param AgentEntity Event author
|
|
9
|
-
*/
|
|
10
|
-
Created = "agent.account.created",
|
|
11
|
-
/**
|
|
12
|
-
* Agent account is completed
|
|
13
|
-
* @author Auth User
|
|
14
|
-
* @fires Log agent for auditing purposes
|
|
15
|
-
* @param AgentEntity Event author
|
|
16
|
-
*/
|
|
17
|
-
Completed = "agent.account.completed",
|
|
18
|
-
/**
|
|
19
|
-
* Agent account is closed
|
|
20
|
-
* @author Auth User
|
|
21
|
-
* @fires Log user for auditing purposes
|
|
22
|
-
* @fires Log agent for auditing purposes
|
|
23
|
-
* @fires Log System log for auditing purposes
|
|
24
|
-
* @param AgentEntity Event author
|
|
25
|
-
*/
|
|
26
|
-
Closed = "agent.account.closed"
|
|
27
|
-
}
|