@intelact/driveup 1.6.0 → 1.7.1
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/agent/agent.model.d.ts +1 -2
- package/lib/agent/agent.model.js +3 -4
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/auth/signin.dto.js +1 -1
- package/lib/auth/signin.dto.js.map +1 -1
- package/lib/calendar/holiday.d.ts +1 -5
- package/lib/calendar/holiday.js +3 -20
- package/lib/calendar/holiday.js.map +1 -1
- package/lib/common/index.d.ts +0 -2
- package/lib/common/index.js +0 -2
- package/lib/common/index.js.map +1 -1
- package/lib/common/person.d.ts +1 -0
- package/lib/common/person.js +22 -0
- package/lib/common/person.js.map +1 -1
- package/lib/company/company.model.d.ts +6 -7
- package/lib/company/company.model.js +10 -11
- package/lib/company/company.model.js.map +1 -1
- package/lib/credit/credit.model.d.ts +1 -2
- package/lib/credit/credit.model.js +1 -3
- package/lib/credit/credit.model.js.map +1 -1
- package/lib/discount/discount.model.d.ts +3 -4
- package/lib/discount/discount.model.js +4 -8
- package/lib/discount/discount.model.js.map +1 -1
- package/lib/driving/exam/exam.dto.d.ts +1 -2
- package/lib/driving/exam/exam.dto.js +2 -3
- package/lib/driving/exam/exam.dto.js.map +1 -1
- package/lib/driving/exam/exam.model.d.ts +1 -2
- package/lib/driving/exam/exam.model.js +3 -4
- package/lib/driving/exam/exam.model.js.map +1 -1
- package/lib/expense/expense.model.d.ts +5 -6
- package/lib/expense/expense.model.js +5 -10
- package/lib/expense/expense.model.js.map +1 -1
- package/lib/feedback/feedback.model.d.ts +1 -2
- package/lib/feedback/feedback.model.js +2 -4
- package/lib/feedback/feedback.model.js.map +1 -1
- package/lib/finance/finance.model.d.ts +6 -7
- package/lib/finance/finance.model.js +6 -11
- package/lib/finance/finance.model.js.map +1 -1
- package/lib/geo/address.dto.d.ts +1 -1
- package/lib/geo/address.dto.js +2 -2
- package/lib/geo/address.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/index.d.ts +0 -2
- package/lib/geo/index.js +0 -2
- package/lib/geo/index.js.map +1 -1
- package/lib/geo/pickup.model.d.ts +2 -2
- package/lib/geo/pickup.model.js +3 -3
- package/lib/geo/pickup.model.js.map +1 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.js +0 -5
- package/lib/index.js.map +1 -1
- package/lib/instructor/instructor.model.d.ts +4 -6
- package/lib/instructor/instructor.model.js +6 -10
- package/lib/instructor/instructor.model.js.map +1 -1
- package/lib/invoice/invoice.model.d.ts +6 -8
- package/lib/invoice/invoice.model.js +8 -14
- package/lib/invoice/invoice.model.js.map +1 -1
- package/lib/license/license.model.d.ts +2 -0
- package/lib/license/license.model.js +10 -0
- package/lib/license/license.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/notification/notification.model.d.ts +3 -4
- package/lib/notification/notification.model.js +5 -5
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/payment/payment.model.d.ts +3 -4
- package/lib/payment/payment.model.js +4 -8
- package/lib/payment/payment.model.js.map +1 -1
- package/lib/payout/payout.model.d.ts +2 -4
- package/lib/payout/payout.model.js +4 -7
- package/lib/payout/payout.model.js.map +1 -1
- package/lib/priceplan/plan.model.d.ts +1 -2
- package/lib/priceplan/plan.model.js +1 -7
- package/lib/priceplan/plan.model.js.map +1 -1
- package/lib/refund/refund.model.d.ts +4 -6
- package/lib/refund/refund.model.js +6 -11
- package/lib/refund/refund.model.js.map +1 -1
- package/lib/session/driving/session.model.d.ts +4 -4
- package/lib/session/driving/session.model.js +6 -6
- package/lib/session/driving/session.model.js.map +1 -1
- package/lib/session/driving/session.topic.d.ts +3 -4
- package/lib/session/driving/session.topic.js +3 -5
- package/lib/session/driving/session.topic.js.map +1 -1
- package/lib/training/driving.model.d.ts +1 -1
- package/lib/training/driving.model.js +1 -1
- package/lib/training/driving.model.js.map +1 -1
- package/lib/training/request.model.d.ts +4 -5
- package/lib/training/request.model.js +5 -9
- package/lib/training/request.model.js.map +1 -1
- package/lib/training/training.dto.d.ts +5 -2
- package/lib/training/training.dto.js +13 -3
- package/lib/training/training.dto.js.map +1 -1
- package/lib/training/training.model.d.ts +7 -9
- package/lib/training/training.model.js +9 -15
- package/lib/training/training.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/profile.dto.d.ts +0 -3
- package/lib/user/profile.dto.js +2 -12
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +5 -8
- package/lib/user/user.model.js +7 -10
- package/lib/user/user.model.js.map +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
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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentAccountEvents = void 0;
|
|
4
|
-
var AgentAccountEvents;
|
|
5
|
-
(function (AgentAccountEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Agent account is created
|
|
8
|
-
* @author Auth User
|
|
9
|
-
* @fires Log user for auditing purposes
|
|
10
|
-
* @fires Log agent for auditing purposes
|
|
11
|
-
* @fires Log system log for auditing purposes
|
|
12
|
-
* @param AgentEntity Event author
|
|
13
|
-
*/
|
|
14
|
-
AgentAccountEvents["Created"] = "agent.account.created";
|
|
15
|
-
/**
|
|
16
|
-
* Agent account is completed
|
|
17
|
-
* @author Auth User
|
|
18
|
-
* @fires Log agent for auditing purposes
|
|
19
|
-
* @param AgentEntity Event author
|
|
20
|
-
*/
|
|
21
|
-
AgentAccountEvents["Completed"] = "agent.account.completed";
|
|
22
|
-
/**
|
|
23
|
-
* Agent account is closed
|
|
24
|
-
* @author Auth User
|
|
25
|
-
* @fires Log user for auditing purposes
|
|
26
|
-
* @fires Log agent for auditing purposes
|
|
27
|
-
* @fires Log System log for auditing purposes
|
|
28
|
-
* @param AgentEntity Event author
|
|
29
|
-
*/
|
|
30
|
-
AgentAccountEvents["Closed"] = "agent.account.closed";
|
|
31
|
-
})(AgentAccountEvents || (exports.AgentAccountEvents = AgentAccountEvents = {}));
|
|
32
|
-
//# sourceMappingURL=account.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../src/events/agent/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBA6BX;AA7BD,WAAY,kBAAkB;IAE7B;;;;;;;OAOG;IACH,uDAAiC,CAAA;IAEjC;;;;;OAKG;IACH,2DAAqC,CAAA;IAErC;;;;;;;OAOG;IACH,qDAA+B,CAAA;AAChC,CAAC,EA7BW,kBAAkB,kCAAlB,kBAAkB,QA6B7B"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare enum AgentPayoutEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Agent promotion profit is registered
|
|
4
|
-
* @author System/Job
|
|
5
|
-
* @fires Log staff for auditing purposes
|
|
6
|
-
* @fires Log agent for auditing purposes
|
|
7
|
-
* @fires Log system for auditing purposes
|
|
8
|
-
* @param AgentPromotionEntity Agent promotion
|
|
9
|
-
*/
|
|
10
|
-
ProfitRegistred = "agent.payout.profitRegistered",
|
|
11
|
-
/**
|
|
12
|
-
* Agent payout is settled
|
|
13
|
-
* @author Staff
|
|
14
|
-
* @fires Log agent for auditing purposes
|
|
15
|
-
* @fires Log system for auditing purposes
|
|
16
|
-
* @param AgentPayoutEntity Agent whose earnings are settled
|
|
17
|
-
* @param StaffEntity Event author
|
|
18
|
-
*/
|
|
19
|
-
PaymentSettled = "agent.payout.paymentSettled",
|
|
20
|
-
/**
|
|
21
|
-
* Agent payout is paid
|
|
22
|
-
* @author Staff
|
|
23
|
-
* @fires Log agent for auditing purposes
|
|
24
|
-
* @fires Log system for auditing purposes
|
|
25
|
-
* @param AgentPayoutEntity Paid agent
|
|
26
|
-
* @param StaffEntity Event author
|
|
27
|
-
*/
|
|
28
|
-
PaymentPaid = "agent.payout.paymentPaid"
|
|
29
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentPayoutEvents = void 0;
|
|
4
|
-
var AgentPayoutEvents;
|
|
5
|
-
(function (AgentPayoutEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Agent promotion profit is registered
|
|
8
|
-
* @author System/Job
|
|
9
|
-
* @fires Log staff for auditing purposes
|
|
10
|
-
* @fires Log agent for auditing purposes
|
|
11
|
-
* @fires Log system for auditing purposes
|
|
12
|
-
* @param AgentPromotionEntity Agent promotion
|
|
13
|
-
*/
|
|
14
|
-
AgentPayoutEvents["ProfitRegistred"] = "agent.payout.profitRegistered";
|
|
15
|
-
/**
|
|
16
|
-
* Agent payout is settled
|
|
17
|
-
* @author Staff
|
|
18
|
-
* @fires Log agent for auditing purposes
|
|
19
|
-
* @fires Log system for auditing purposes
|
|
20
|
-
* @param AgentPayoutEntity Agent whose earnings are settled
|
|
21
|
-
* @param StaffEntity Event author
|
|
22
|
-
*/
|
|
23
|
-
AgentPayoutEvents["PaymentSettled"] = "agent.payout.paymentSettled";
|
|
24
|
-
/**
|
|
25
|
-
* Agent payout is paid
|
|
26
|
-
* @author Staff
|
|
27
|
-
* @fires Log agent for auditing purposes
|
|
28
|
-
* @fires Log system for auditing purposes
|
|
29
|
-
* @param AgentPayoutEntity Paid agent
|
|
30
|
-
* @param StaffEntity Event author
|
|
31
|
-
*/
|
|
32
|
-
AgentPayoutEvents["PaymentPaid"] = "agent.payout.paymentPaid";
|
|
33
|
-
})(AgentPayoutEvents || (exports.AgentPayoutEvents = AgentPayoutEvents = {}));
|
|
34
|
-
//# sourceMappingURL=payout.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payout.events.js","sourceRoot":"","sources":["../../../src/events/agent/payout.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBA+BX;AA/BD,WAAY,iBAAiB;IAE5B;;;;;;;OAOG;IACH,sEAAiD,CAAA;IAEjD;;;;;;;OAOG;IACH,mEAA8C,CAAA;IAE9C;;;;;;;OAOG;IACH,6DAAwC,CAAA;AACzC,CAAC,EA/BW,iBAAiB,iCAAjB,iBAAiB,QA+B5B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare enum AgentProfileEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Agent submits his bank account
|
|
4
|
-
* @author Auth User
|
|
5
|
-
* @fires Log agent for auditing purposes
|
|
6
|
-
* @fires Log system for auditing purposes
|
|
7
|
-
* @param AgentEntity Event author
|
|
8
|
-
*/
|
|
9
|
-
BankAccountSubmitted = "agent.profile.bankAccountSubmitted",
|
|
10
|
-
/**
|
|
11
|
-
* Agent deletes his bank account
|
|
12
|
-
* @author Auth User
|
|
13
|
-
* @fires Log agent for auditing purposes
|
|
14
|
-
* @fires Log system for auditing purposes
|
|
15
|
-
* @param AgentEntity Event author
|
|
16
|
-
*/
|
|
17
|
-
BankAccountDeleted = "agent.profile.bankAccountDeleted"
|
|
18
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentProfileEvents = void 0;
|
|
4
|
-
var AgentProfileEvents;
|
|
5
|
-
(function (AgentProfileEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Agent submits his bank account
|
|
8
|
-
* @author Auth User
|
|
9
|
-
* @fires Log agent for auditing purposes
|
|
10
|
-
* @fires Log system for auditing purposes
|
|
11
|
-
* @param AgentEntity Event author
|
|
12
|
-
*/
|
|
13
|
-
AgentProfileEvents["BankAccountSubmitted"] = "agent.profile.bankAccountSubmitted";
|
|
14
|
-
/**
|
|
15
|
-
* Agent deletes his bank account
|
|
16
|
-
* @author Auth User
|
|
17
|
-
* @fires Log agent for auditing purposes
|
|
18
|
-
* @fires Log system for auditing purposes
|
|
19
|
-
* @param AgentEntity Event author
|
|
20
|
-
*/
|
|
21
|
-
AgentProfileEvents["BankAccountDeleted"] = "agent.profile.bankAccountDeleted";
|
|
22
|
-
})(AgentProfileEvents || (exports.AgentProfileEvents = AgentProfileEvents = {}));
|
|
23
|
-
//# sourceMappingURL=profile.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../src/events/agent/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAmBX;AAnBD,WAAY,kBAAkB;IAE7B;;;;;;OAMG;IACH,iFAA2D,CAAA;IAE3D;;;;;;OAMG;IACH,6EAAuD,CAAA;AACxD,CAAC,EAnBW,kBAAkB,kCAAlB,kBAAkB,QAmB7B"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare enum AgentPromotionEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Agent promotion code is registered (by company)
|
|
4
|
-
* @author Company Owner
|
|
5
|
-
* @fires Instructor (owner) log for auditing purposes
|
|
6
|
-
* @fires Log company for auditing purposes
|
|
7
|
-
* @fires Log agent for auditing purposes
|
|
8
|
-
* @fires Log system for auditing purposes
|
|
9
|
-
* @fires Notify agent about the promotion code registration
|
|
10
|
-
* @param CompanyEntity Effected company
|
|
11
|
-
*/
|
|
12
|
-
Registred = "agent.promotion.registred",
|
|
13
|
-
/**
|
|
14
|
-
* Agent promotion has started
|
|
15
|
-
* @author System/Job
|
|
16
|
-
* @fires Log agent for auditing purposes
|
|
17
|
-
* @fires Log system for auditing purposes
|
|
18
|
-
* @fires Notify agent about the promotion start
|
|
19
|
-
* @param CompanyEntity Effected company
|
|
20
|
-
*/
|
|
21
|
-
Started = "agent.promotion.started",
|
|
22
|
-
/**
|
|
23
|
-
* Agent promotion has ended
|
|
24
|
-
* @author System/Job
|
|
25
|
-
* @fires Log agent for auditing purposes
|
|
26
|
-
* @fires Log company for auditing purposes
|
|
27
|
-
* @fires Log system for auditing purposes
|
|
28
|
-
* @fires Notify agent about the promotion end
|
|
29
|
-
* @param CompanyEntity Effected company
|
|
30
|
-
*/
|
|
31
|
-
Ended = "agent.promotion.ended",
|
|
32
|
-
/**
|
|
33
|
-
* Agent promotion is closed due to company closure
|
|
34
|
-
* @author Company Owner
|
|
35
|
-
* @fires Log agent for auditing purposes
|
|
36
|
-
* @fires Log company for auditing purposes
|
|
37
|
-
* @fires Log system for auditing purposes
|
|
38
|
-
* @fires Notify agent about the promotion closure
|
|
39
|
-
* @param CompanyEntity Effected company
|
|
40
|
-
*/
|
|
41
|
-
Closed = "agent.promotion.closed"
|
|
42
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentPromotionEvents = void 0;
|
|
4
|
-
var AgentPromotionEvents;
|
|
5
|
-
(function (AgentPromotionEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Agent promotion code is registered (by company)
|
|
8
|
-
* @author Company Owner
|
|
9
|
-
* @fires Instructor (owner) log for auditing purposes
|
|
10
|
-
* @fires Log company for auditing purposes
|
|
11
|
-
* @fires Log agent for auditing purposes
|
|
12
|
-
* @fires Log system for auditing purposes
|
|
13
|
-
* @fires Notify agent about the promotion code registration
|
|
14
|
-
* @param CompanyEntity Effected company
|
|
15
|
-
*/
|
|
16
|
-
AgentPromotionEvents["Registred"] = "agent.promotion.registred";
|
|
17
|
-
/**
|
|
18
|
-
* Agent promotion has started
|
|
19
|
-
* @author System/Job
|
|
20
|
-
* @fires Log agent for auditing purposes
|
|
21
|
-
* @fires Log system for auditing purposes
|
|
22
|
-
* @fires Notify agent about the promotion start
|
|
23
|
-
* @param CompanyEntity Effected company
|
|
24
|
-
*/
|
|
25
|
-
AgentPromotionEvents["Started"] = "agent.promotion.started";
|
|
26
|
-
/**
|
|
27
|
-
* Agent promotion has ended
|
|
28
|
-
* @author System/Job
|
|
29
|
-
* @fires Log agent for auditing purposes
|
|
30
|
-
* @fires Log company for auditing purposes
|
|
31
|
-
* @fires Log system for auditing purposes
|
|
32
|
-
* @fires Notify agent about the promotion end
|
|
33
|
-
* @param CompanyEntity Effected company
|
|
34
|
-
*/
|
|
35
|
-
AgentPromotionEvents["Ended"] = "agent.promotion.ended";
|
|
36
|
-
/**
|
|
37
|
-
* Agent promotion is closed due to company closure
|
|
38
|
-
* @author Company Owner
|
|
39
|
-
* @fires Log agent for auditing purposes
|
|
40
|
-
* @fires Log company for auditing purposes
|
|
41
|
-
* @fires Log system for auditing purposes
|
|
42
|
-
* @fires Notify agent about the promotion closure
|
|
43
|
-
* @param CompanyEntity Effected company
|
|
44
|
-
*/
|
|
45
|
-
AgentPromotionEvents["Closed"] = "agent.promotion.closed";
|
|
46
|
-
})(AgentPromotionEvents || (exports.AgentPromotionEvents = AgentPromotionEvents = {}));
|
|
47
|
-
//# sourceMappingURL=promotion.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promotion.events.js","sourceRoot":"","sources":["../../../src/events/agent/promotion.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBA6CX;AA7CD,WAAY,oBAAoB;IAE/B;;;;;;;;;OASG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;OAOG;IACH,2DAAmC,CAAA;IAEnC;;;;;;;;OAQG;IACH,uDAA+B,CAAA;IAE/B;;;;;;;;OAQG;IACH,yDAAiC,CAAA;AAClC,CAAC,EA7CW,oBAAoB,oCAApB,oBAAoB,QA6C/B"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare enum AuthEvents {
|
|
2
|
-
/**
|
|
3
|
-
* User signs in with phone number
|
|
4
|
-
* @author Auth User
|
|
5
|
-
* @fires Log user for auditing purposes
|
|
6
|
-
* @param UserEntity Auth user
|
|
7
|
-
*/
|
|
8
|
-
SigninPhone = "auth.signin.phone",
|
|
9
|
-
/**
|
|
10
|
-
* User signs in with biometric authentication
|
|
11
|
-
* @author Auth User
|
|
12
|
-
* @fires Log user for auditing purposes
|
|
13
|
-
* @param UserDeviceEntity Auth user
|
|
14
|
-
*/
|
|
15
|
-
SigninBiometric = "auth.signin.biometric"
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthEvents = void 0;
|
|
4
|
-
var AuthEvents;
|
|
5
|
-
(function (AuthEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* User signs in with phone number
|
|
8
|
-
* @author Auth User
|
|
9
|
-
* @fires Log user for auditing purposes
|
|
10
|
-
* @param UserEntity Auth user
|
|
11
|
-
*/
|
|
12
|
-
AuthEvents["SigninPhone"] = "auth.signin.phone";
|
|
13
|
-
/**
|
|
14
|
-
* User signs in with biometric authentication
|
|
15
|
-
* @author Auth User
|
|
16
|
-
* @fires Log user for auditing purposes
|
|
17
|
-
* @param UserDeviceEntity Auth user
|
|
18
|
-
*/
|
|
19
|
-
AuthEvents["SigninBiometric"] = "auth.signin.biometric";
|
|
20
|
-
})(AuthEvents || (exports.AuthEvents = AuthEvents = {}));
|
|
21
|
-
//# sourceMappingURL=auth.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.events.js","sourceRoot":"","sources":["../../../src/events/auth/auth.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAgBX;AAhBD,WAAY,UAAU;IACrB;;;;;OAKG;IACH,+CAAiC,CAAA;IAEjC;;;;;OAKG;IACH,uDAAyC,CAAA;AAC1C,CAAC,EAhBW,UAAU,0BAAV,UAAU,QAgBrB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare enum AuthTokenEvents {
|
|
2
|
-
/**
|
|
3
|
-
* User auth token is refreshed
|
|
4
|
-
* @author Auth user
|
|
5
|
-
* @fires Log user for auditing purposes
|
|
6
|
-
* @param UserEntity Event author
|
|
7
|
-
*/
|
|
8
|
-
Refreshed = "auth.token.refreshed",
|
|
9
|
-
/**
|
|
10
|
-
* User auth token is invalid
|
|
11
|
-
* @author Auth user
|
|
12
|
-
* @fires Log user for auditing purposes
|
|
13
|
-
* @param UserEntity Event author
|
|
14
|
-
*/
|
|
15
|
-
Invalid = "auth.token.invalid",
|
|
16
|
-
/**
|
|
17
|
-
* User auth token is expired
|
|
18
|
-
* @author Auth user
|
|
19
|
-
* @fires Log user for auditing purposes
|
|
20
|
-
* @param UserEntity Event author
|
|
21
|
-
*/
|
|
22
|
-
Expired = "auth.token.expired"
|
|
23
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthTokenEvents = void 0;
|
|
4
|
-
var AuthTokenEvents;
|
|
5
|
-
(function (AuthTokenEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* User auth token is refreshed
|
|
8
|
-
* @author Auth user
|
|
9
|
-
* @fires Log user for auditing purposes
|
|
10
|
-
* @param UserEntity Event author
|
|
11
|
-
*/
|
|
12
|
-
AuthTokenEvents["Refreshed"] = "auth.token.refreshed";
|
|
13
|
-
/**
|
|
14
|
-
* User auth token is invalid
|
|
15
|
-
* @author Auth user
|
|
16
|
-
* @fires Log user for auditing purposes
|
|
17
|
-
* @param UserEntity Event author
|
|
18
|
-
*/
|
|
19
|
-
AuthTokenEvents["Invalid"] = "auth.token.invalid";
|
|
20
|
-
/**
|
|
21
|
-
* User auth token is expired
|
|
22
|
-
* @author Auth user
|
|
23
|
-
* @fires Log user for auditing purposes
|
|
24
|
-
* @param UserEntity Event author
|
|
25
|
-
*/
|
|
26
|
-
AuthTokenEvents["Expired"] = "auth.token.expired";
|
|
27
|
-
})(AuthTokenEvents || (exports.AuthTokenEvents = AuthTokenEvents = {}));
|
|
28
|
-
//# sourceMappingURL=token.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"token.events.js","sourceRoot":"","sources":["../../../src/events/auth/token.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAyBX;AAzBD,WAAY,eAAe;IAE1B;;;;;OAKG;IACH,qDAAkC,CAAA;IAElC;;;;;OAKG;IACH,iDAA8B,CAAA;IAE9B;;;;;OAKG;IACH,iDAA8B,CAAA;AAC/B,CAAC,EAzBW,eAAe,+BAAf,eAAe,QAyB1B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum VerifyEvents {
|
|
2
|
-
/**
|
|
3
|
-
* One-time password is verified by phone
|
|
4
|
-
* @author Auth user
|
|
5
|
-
* @fires Log user for auditing purposes
|
|
6
|
-
* @fires Notify user by SMS
|
|
7
|
-
*/
|
|
8
|
-
VerifyPhone = "auth.verify.phone",
|
|
9
|
-
/**
|
|
10
|
-
* One-time password is required by email
|
|
11
|
-
* @author Auth user
|
|
12
|
-
* @fires Log user for auditing purposes
|
|
13
|
-
* @fires Notify user by Email
|
|
14
|
-
* @param Person Event author
|
|
15
|
-
*/
|
|
16
|
-
VerifyEmail = "auth.verify.email"
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VerifyEvents = void 0;
|
|
4
|
-
var VerifyEvents;
|
|
5
|
-
(function (VerifyEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* One-time password is verified by phone
|
|
8
|
-
* @author Auth user
|
|
9
|
-
* @fires Log user for auditing purposes
|
|
10
|
-
* @fires Notify user by SMS
|
|
11
|
-
*/
|
|
12
|
-
VerifyEvents["VerifyPhone"] = "auth.verify.phone";
|
|
13
|
-
/**
|
|
14
|
-
* One-time password is required by email
|
|
15
|
-
* @author Auth user
|
|
16
|
-
* @fires Log user for auditing purposes
|
|
17
|
-
* @fires Notify user by Email
|
|
18
|
-
* @param Person Event author
|
|
19
|
-
*/
|
|
20
|
-
VerifyEvents["VerifyEmail"] = "auth.verify.email";
|
|
21
|
-
})(VerifyEvents || (exports.VerifyEvents = VerifyEvents = {}));
|
|
22
|
-
//# sourceMappingURL=verify.events.js.map
|