@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
package/lib/events/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from './agent/account.events';
|
|
2
|
-
export * from './agent/payout.events';
|
|
3
|
-
export * from './agent/profile.events';
|
|
4
|
-
export * from './agent/promotion.events';
|
|
5
|
-
export * from './auth/auth.events';
|
|
6
|
-
export * from './auth/token.events';
|
|
7
|
-
export * from './auth/verify.events';
|
|
8
|
-
export * from './company/account/account.events';
|
|
9
|
-
export * from './company/account/profile.events';
|
|
10
|
-
export * from './company/course/appointment.events';
|
|
11
|
-
export * from './company/course/course.events';
|
|
12
|
-
export * from './company/course/lesson.events';
|
|
13
|
-
export * from './company/course/topic.events';
|
|
14
|
-
export * from './company/product/addon.events';
|
|
15
|
-
export * from './company/product/campaign.events';
|
|
16
|
-
export * from './company/product/product.events';
|
|
17
|
-
export * from './instructor/account/account.events';
|
|
18
|
-
export * from './instructor/account/profile.events';
|
|
19
|
-
export * from './instructor/task/task.events';
|
|
20
|
-
export * from './student/account/account.events';
|
|
21
|
-
export * from './user/account.events';
|
|
22
|
-
export * from './user/alert.events';
|
|
23
|
-
export * from './user/device.events';
|
|
24
|
-
export * from './user/notification.events';
|
|
25
|
-
export * from './user/profile.events';
|
package/lib/events/index.js
DELETED
|
@@ -1,42 +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("./agent/account.events"), exports);
|
|
18
|
-
__exportStar(require("./agent/payout.events"), exports);
|
|
19
|
-
__exportStar(require("./agent/profile.events"), exports);
|
|
20
|
-
__exportStar(require("./agent/promotion.events"), exports);
|
|
21
|
-
__exportStar(require("./auth/auth.events"), exports);
|
|
22
|
-
__exportStar(require("./auth/token.events"), exports);
|
|
23
|
-
__exportStar(require("./auth/verify.events"), exports);
|
|
24
|
-
__exportStar(require("./company/account/account.events"), exports);
|
|
25
|
-
__exportStar(require("./company/account/profile.events"), exports);
|
|
26
|
-
__exportStar(require("./company/course/appointment.events"), exports);
|
|
27
|
-
__exportStar(require("./company/course/course.events"), exports);
|
|
28
|
-
__exportStar(require("./company/course/lesson.events"), exports);
|
|
29
|
-
__exportStar(require("./company/course/topic.events"), exports);
|
|
30
|
-
__exportStar(require("./company/product/addon.events"), exports);
|
|
31
|
-
__exportStar(require("./company/product/campaign.events"), exports);
|
|
32
|
-
__exportStar(require("./company/product/product.events"), exports);
|
|
33
|
-
__exportStar(require("./instructor/account/account.events"), exports);
|
|
34
|
-
__exportStar(require("./instructor/account/profile.events"), exports);
|
|
35
|
-
__exportStar(require("./instructor/task/task.events"), exports);
|
|
36
|
-
__exportStar(require("./student/account/account.events"), exports);
|
|
37
|
-
__exportStar(require("./user/account.events"), exports);
|
|
38
|
-
__exportStar(require("./user/alert.events"), exports);
|
|
39
|
-
__exportStar(require("./user/device.events"), exports);
|
|
40
|
-
__exportStar(require("./user/notification.events"), exports);
|
|
41
|
-
__exportStar(require("./user/profile.events"), exports);
|
|
42
|
-
//# sourceMappingURL=index.js.map
|
package/lib/events/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,mEAAiD;AACjD,mEAAiD;AACjD,sEAAoD;AACpD,iEAA+C;AAC/C,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,oEAAkD;AAClD,mEAAiD;AACjD,sEAAoD;AACpD,sEAAoD;AACpD,gEAA8C;AAC9C,mEAAiD;AACjD,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,wDAAsC"}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
export declare enum InstructorAccountEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Company owner has created instructor account
|
|
4
|
-
* @author Company owner
|
|
5
|
-
* @fires Log user for auditing purposes
|
|
6
|
-
* @fires Log instructor for auditing purposes
|
|
7
|
-
* @fires Log company for auditing purposes
|
|
8
|
-
* @fires Log system for auditing purposes
|
|
9
|
-
* @param CompanyInstructorEntity Event author
|
|
10
|
-
*/
|
|
11
|
-
Created = "instructor.account.created",
|
|
12
|
-
/**
|
|
13
|
-
* Instructor account is completed
|
|
14
|
-
* @author Instructor
|
|
15
|
-
* @fires Log instructor for auditing purposes
|
|
16
|
-
* @fires Log company for auditing purposes
|
|
17
|
-
* @param CompanyInstructorEntity Event author
|
|
18
|
-
*/
|
|
19
|
-
Completed = "instructor.account.completed",
|
|
20
|
-
/**
|
|
21
|
-
* Instructor account is activated
|
|
22
|
-
* @author System/Job
|
|
23
|
-
* @fires Log instructor for auditing purposes
|
|
24
|
-
* @fires Log company for auditing purposes
|
|
25
|
-
* @fires Notify user about the account activation
|
|
26
|
-
* @param CompanyInstructorEntity Activated instructor
|
|
27
|
-
*/
|
|
28
|
-
Activated = "instructor.account.activated",
|
|
29
|
-
/**
|
|
30
|
-
* Instructor account is suspended
|
|
31
|
-
* @author System/Job
|
|
32
|
-
* @fires Log instructor for auditing purposes
|
|
33
|
-
* @fires Log company for auditing purposes
|
|
34
|
-
* @fires Notify user about the account suspension
|
|
35
|
-
* @param CompanyInstructorEntity Suspended instructor
|
|
36
|
-
*/
|
|
37
|
-
Suspended = "instructor.account.suspended",
|
|
38
|
-
/**
|
|
39
|
-
* Instructor account is reinstated
|
|
40
|
-
* @author Company Manager
|
|
41
|
-
* @fires Log user for auditing purposes
|
|
42
|
-
* @fires Log instructor for auditing purposes
|
|
43
|
-
* @fires Manager log as author of reinstatement
|
|
44
|
-
* @fires Log company for auditing purposes
|
|
45
|
-
* @fires Log system for auditing purposes
|
|
46
|
-
* @fires Notify user about the account reinstatement
|
|
47
|
-
* @fires Notify all inatructors about the reinstatement (bulk)
|
|
48
|
-
* @param CompanyInstructorEntity Reinstated instructor
|
|
49
|
-
* @param CompanyInstructorEntity Event author
|
|
50
|
-
*/
|
|
51
|
-
Reinstated = "instructor.account.reinstated",
|
|
52
|
-
/**
|
|
53
|
-
* Instructor is invited to join the company
|
|
54
|
-
* @author Company Manager
|
|
55
|
-
* @fires Log user for invited user
|
|
56
|
-
* @fires Log instructor for auditing purposes
|
|
57
|
-
* @fires Manager log as author of invitation
|
|
58
|
-
* @fires Log company for auditing purposes
|
|
59
|
-
* @fires Log system for auditing purposes
|
|
60
|
-
* @fires Notify all company managers about the invitation (bulk)
|
|
61
|
-
* @param CompanyInstructorEntity Invited instructor
|
|
62
|
-
* @param CompanyInstructorEntity Event author
|
|
63
|
-
*/
|
|
64
|
-
Invited = "instructor.account.invited",
|
|
65
|
-
/**
|
|
66
|
-
* Instructor reject invitation
|
|
67
|
-
* @author Invited instructor
|
|
68
|
-
* @fires Log user for auditing purposes
|
|
69
|
-
* @fires Log company for auditing purposes
|
|
70
|
-
* @fires Log system for auditing purposes
|
|
71
|
-
* @fires Notify company managers about the accepted invitation (bulk)
|
|
72
|
-
* @param CompanyInstructorEntity Event author
|
|
73
|
-
*/
|
|
74
|
-
InvitationAccepted = "instructor.account.invitationAccepted",
|
|
75
|
-
/**
|
|
76
|
-
* Instructor reject invitation
|
|
77
|
-
* @author Invited instructor
|
|
78
|
-
* @fires Log user for auditing purposes
|
|
79
|
-
* @fires Log company for auditing purposes
|
|
80
|
-
* @fires System log for auditing purposes
|
|
81
|
-
* @fires Notify all company managers about the invitation (bulk)
|
|
82
|
-
* @param UserEntity Invited user (CompanyInstructorEntity is not available)
|
|
83
|
-
* @param CompanyEntity Rejected company
|
|
84
|
-
* @param InstructorEntity Event author
|
|
85
|
-
*/
|
|
86
|
-
InvitationRejected = "instructor.account.invitationRejected",
|
|
87
|
-
/**
|
|
88
|
-
* Company manager revokes instructor invitation
|
|
89
|
-
* @author Company manager
|
|
90
|
-
* @fires Log user for auditing purposes
|
|
91
|
-
* @fires Log company for auditing purposes
|
|
92
|
-
* @fires Notify invited user about the invitation revocation
|
|
93
|
-
* @fires Notify all company instructors except the auth user (balk)
|
|
94
|
-
* @param InstructorEntity Revoked instructor account
|
|
95
|
-
* @param CompanyInstructorEntity Event author
|
|
96
|
-
*/
|
|
97
|
-
InvitationRevoked = "instructor.account.invitationRevoked",
|
|
98
|
-
/**
|
|
99
|
-
* Instructor closes his account
|
|
100
|
-
* @author Instructor himself
|
|
101
|
-
* @fires Log user for auditing purposes
|
|
102
|
-
* @fires Log instructor for auditing purposes
|
|
103
|
-
* @fires Log company for auditing purposes
|
|
104
|
-
* @fires Log system for auditing purposes
|
|
105
|
-
* @fires Notify all company instructors about the closed account (bulk)
|
|
106
|
-
* @param CompanyInstructorEntity Closed instructor
|
|
107
|
-
* @param InstructorEntity Event author
|
|
108
|
-
*/
|
|
109
|
-
Closed = "instructor.account.closed",
|
|
110
|
-
/**
|
|
111
|
-
* Company manager deleted instructor account
|
|
112
|
-
* @author Company manager
|
|
113
|
-
* @fires Log user for auditing purposes
|
|
114
|
-
* @fires Log owner as author of deletion
|
|
115
|
-
* @fires Log company for auditing purposes
|
|
116
|
-
* @fires Notify user about the account deletion
|
|
117
|
-
* @fires Notify all company instructors about the removed instructor (bulk)
|
|
118
|
-
* @param InstructorEntity Deleted instructor account
|
|
119
|
-
* @param CompanyInstructorEntity Event author
|
|
120
|
-
* @param Bulk Indicates whether to notify all company instructors
|
|
121
|
-
*/
|
|
122
|
-
Deleted = "instructor.account.deleted"
|
|
123
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstructorAccountEvents = void 0;
|
|
4
|
-
var InstructorAccountEvents;
|
|
5
|
-
(function (InstructorAccountEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Company owner has created instructor account
|
|
8
|
-
* @author Company owner
|
|
9
|
-
* @fires Log user for auditing purposes
|
|
10
|
-
* @fires Log instructor for auditing purposes
|
|
11
|
-
* @fires Log company for auditing purposes
|
|
12
|
-
* @fires Log system for auditing purposes
|
|
13
|
-
* @param CompanyInstructorEntity Event author
|
|
14
|
-
*/
|
|
15
|
-
InstructorAccountEvents["Created"] = "instructor.account.created";
|
|
16
|
-
/**
|
|
17
|
-
* Instructor account is completed
|
|
18
|
-
* @author Instructor
|
|
19
|
-
* @fires Log instructor for auditing purposes
|
|
20
|
-
* @fires Log company for auditing purposes
|
|
21
|
-
* @param CompanyInstructorEntity Event author
|
|
22
|
-
*/
|
|
23
|
-
InstructorAccountEvents["Completed"] = "instructor.account.completed";
|
|
24
|
-
/**
|
|
25
|
-
* Instructor account is activated
|
|
26
|
-
* @author System/Job
|
|
27
|
-
* @fires Log instructor for auditing purposes
|
|
28
|
-
* @fires Log company for auditing purposes
|
|
29
|
-
* @fires Notify user about the account activation
|
|
30
|
-
* @param CompanyInstructorEntity Activated instructor
|
|
31
|
-
*/
|
|
32
|
-
InstructorAccountEvents["Activated"] = "instructor.account.activated";
|
|
33
|
-
/**
|
|
34
|
-
* Instructor account is suspended
|
|
35
|
-
* @author System/Job
|
|
36
|
-
* @fires Log instructor for auditing purposes
|
|
37
|
-
* @fires Log company for auditing purposes
|
|
38
|
-
* @fires Notify user about the account suspension
|
|
39
|
-
* @param CompanyInstructorEntity Suspended instructor
|
|
40
|
-
*/
|
|
41
|
-
InstructorAccountEvents["Suspended"] = "instructor.account.suspended";
|
|
42
|
-
/**
|
|
43
|
-
* Instructor account is reinstated
|
|
44
|
-
* @author Company Manager
|
|
45
|
-
* @fires Log user for auditing purposes
|
|
46
|
-
* @fires Log instructor for auditing purposes
|
|
47
|
-
* @fires Manager log as author of reinstatement
|
|
48
|
-
* @fires Log company for auditing purposes
|
|
49
|
-
* @fires Log system for auditing purposes
|
|
50
|
-
* @fires Notify user about the account reinstatement
|
|
51
|
-
* @fires Notify all inatructors about the reinstatement (bulk)
|
|
52
|
-
* @param CompanyInstructorEntity Reinstated instructor
|
|
53
|
-
* @param CompanyInstructorEntity Event author
|
|
54
|
-
*/
|
|
55
|
-
InstructorAccountEvents["Reinstated"] = "instructor.account.reinstated";
|
|
56
|
-
/**
|
|
57
|
-
* Instructor is invited to join the company
|
|
58
|
-
* @author Company Manager
|
|
59
|
-
* @fires Log user for invited user
|
|
60
|
-
* @fires Log instructor for auditing purposes
|
|
61
|
-
* @fires Manager log as author of invitation
|
|
62
|
-
* @fires Log company for auditing purposes
|
|
63
|
-
* @fires Log system for auditing purposes
|
|
64
|
-
* @fires Notify all company managers about the invitation (bulk)
|
|
65
|
-
* @param CompanyInstructorEntity Invited instructor
|
|
66
|
-
* @param CompanyInstructorEntity Event author
|
|
67
|
-
*/
|
|
68
|
-
InstructorAccountEvents["Invited"] = "instructor.account.invited";
|
|
69
|
-
/**
|
|
70
|
-
* Instructor reject invitation
|
|
71
|
-
* @author Invited instructor
|
|
72
|
-
* @fires Log user for auditing purposes
|
|
73
|
-
* @fires Log company for auditing purposes
|
|
74
|
-
* @fires Log system for auditing purposes
|
|
75
|
-
* @fires Notify company managers about the accepted invitation (bulk)
|
|
76
|
-
* @param CompanyInstructorEntity Event author
|
|
77
|
-
*/
|
|
78
|
-
InstructorAccountEvents["InvitationAccepted"] = "instructor.account.invitationAccepted";
|
|
79
|
-
/**
|
|
80
|
-
* Instructor reject invitation
|
|
81
|
-
* @author Invited instructor
|
|
82
|
-
* @fires Log user for auditing purposes
|
|
83
|
-
* @fires Log company for auditing purposes
|
|
84
|
-
* @fires System log for auditing purposes
|
|
85
|
-
* @fires Notify all company managers about the invitation (bulk)
|
|
86
|
-
* @param UserEntity Invited user (CompanyInstructorEntity is not available)
|
|
87
|
-
* @param CompanyEntity Rejected company
|
|
88
|
-
* @param InstructorEntity Event author
|
|
89
|
-
*/
|
|
90
|
-
InstructorAccountEvents["InvitationRejected"] = "instructor.account.invitationRejected";
|
|
91
|
-
/**
|
|
92
|
-
* Company manager revokes instructor invitation
|
|
93
|
-
* @author Company manager
|
|
94
|
-
* @fires Log user for auditing purposes
|
|
95
|
-
* @fires Log company for auditing purposes
|
|
96
|
-
* @fires Notify invited user about the invitation revocation
|
|
97
|
-
* @fires Notify all company instructors except the auth user (balk)
|
|
98
|
-
* @param InstructorEntity Revoked instructor account
|
|
99
|
-
* @param CompanyInstructorEntity Event author
|
|
100
|
-
*/
|
|
101
|
-
InstructorAccountEvents["InvitationRevoked"] = "instructor.account.invitationRevoked";
|
|
102
|
-
/**
|
|
103
|
-
* Instructor closes his account
|
|
104
|
-
* @author Instructor himself
|
|
105
|
-
* @fires Log user for auditing purposes
|
|
106
|
-
* @fires Log instructor for auditing purposes
|
|
107
|
-
* @fires Log company for auditing purposes
|
|
108
|
-
* @fires Log system for auditing purposes
|
|
109
|
-
* @fires Notify all company instructors about the closed account (bulk)
|
|
110
|
-
* @param CompanyInstructorEntity Closed instructor
|
|
111
|
-
* @param InstructorEntity Event author
|
|
112
|
-
*/
|
|
113
|
-
InstructorAccountEvents["Closed"] = "instructor.account.closed";
|
|
114
|
-
/**
|
|
115
|
-
* Company manager deleted instructor account
|
|
116
|
-
* @author Company manager
|
|
117
|
-
* @fires Log user for auditing purposes
|
|
118
|
-
* @fires Log owner as author of deletion
|
|
119
|
-
* @fires Log company for auditing purposes
|
|
120
|
-
* @fires Notify user about the account deletion
|
|
121
|
-
* @fires Notify all company instructors about the removed instructor (bulk)
|
|
122
|
-
* @param InstructorEntity Deleted instructor account
|
|
123
|
-
* @param CompanyInstructorEntity Event author
|
|
124
|
-
* @param Bulk Indicates whether to notify all company instructors
|
|
125
|
-
*/
|
|
126
|
-
InstructorAccountEvents["Deleted"] = "instructor.account.deleted";
|
|
127
|
-
})(InstructorAccountEvents || (exports.InstructorAccountEvents = InstructorAccountEvents = {}));
|
|
128
|
-
//# sourceMappingURL=account.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../../src/events/instructor/account/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAqIX;AArID,WAAY,uBAAuB;IAElC;;;;;;;;OAQG;IACH,iEAAsC,CAAA;IAEtC;;;;;;OAMG;IACH,qEAA0C,CAAA;IAE1C;;;;;;;OAOG;IACH,qEAA0C,CAAA;IAE1C;;;;;;;OAOG;IACH,qEAA0C,CAAA;IAE1C;;;;;;;;;;;;OAYG;IACH,uEAA4C,CAAA;IAE5C;;;;;;;;;;;OAWG;IACH,iEAAsC,CAAA;IAEtC;;;;;;;;OAQG;IACH,uFAA4D,CAAA;IAE5D;;;;;;;;;;OAUG;IACH,uFAA4D,CAAA;IAE5D;;;;;;;;;OASG;IACH,qFAA0D,CAAA;IAE1D;;;;;;;;;;OAUG;IACH,+DAAoC,CAAA;IAEpC;;;;;;;;;;;OAWG;IACH,iEAAsC,CAAA;AACvC,CAAC,EArIW,uBAAuB,uCAAvB,uBAAuB,QAqIlC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare enum InstructorProfileEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Company manager changes instructor role
|
|
4
|
-
* @author Company manager
|
|
5
|
-
* @fires Log instructorfor auditing purposes
|
|
6
|
-
* @fires Log company for auditing purposes
|
|
7
|
-
* @fires Notify Instructor about the role change
|
|
8
|
-
* @fires Notify company managers about the holiday changes
|
|
9
|
-
* @param CompanyInstructorEntity Changed instructor role
|
|
10
|
-
* @param CompanyInstructorEntity Event author
|
|
11
|
-
*/
|
|
12
|
-
RoleChanged = "instructor.profile.roleChanged",
|
|
13
|
-
/**
|
|
14
|
-
* Instructor updates his holidays
|
|
15
|
-
* @author Instructor himself
|
|
16
|
-
* @fires Log instructorfor auditing purposes
|
|
17
|
-
* @fires Log company for auditing purposes
|
|
18
|
-
* @fires Notify company managers about the holiday changes
|
|
19
|
-
* @param CompanyInstructorEntity Event author
|
|
20
|
-
*/
|
|
21
|
-
HolidaysScheduleChanged = "instructor.profile.holidayScheduleChanged",
|
|
22
|
-
/**
|
|
23
|
-
* Instructor updates his working schedule
|
|
24
|
-
* @author Instructor himself
|
|
25
|
-
* @fires Log instructorfor auditing purposes
|
|
26
|
-
* @fires Log company for auditing purposes
|
|
27
|
-
* @fires Notify company managers about the holiday changes
|
|
28
|
-
* @param CompanyInstructorEntity Event author
|
|
29
|
-
*/
|
|
30
|
-
WorkingScheduleChanged = "instructor.profile.workingScheduleChanged"
|
|
31
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstructorProfileEvents = void 0;
|
|
4
|
-
var InstructorProfileEvents;
|
|
5
|
-
(function (InstructorProfileEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Company manager changes instructor role
|
|
8
|
-
* @author Company manager
|
|
9
|
-
* @fires Log instructorfor auditing purposes
|
|
10
|
-
* @fires Log company for auditing purposes
|
|
11
|
-
* @fires Notify Instructor about the role change
|
|
12
|
-
* @fires Notify company managers about the holiday changes
|
|
13
|
-
* @param CompanyInstructorEntity Changed instructor role
|
|
14
|
-
* @param CompanyInstructorEntity Event author
|
|
15
|
-
*/
|
|
16
|
-
InstructorProfileEvents["RoleChanged"] = "instructor.profile.roleChanged";
|
|
17
|
-
/**
|
|
18
|
-
* Instructor updates his holidays
|
|
19
|
-
* @author Instructor himself
|
|
20
|
-
* @fires Log instructorfor auditing purposes
|
|
21
|
-
* @fires Log company for auditing purposes
|
|
22
|
-
* @fires Notify company managers about the holiday changes
|
|
23
|
-
* @param CompanyInstructorEntity Event author
|
|
24
|
-
*/
|
|
25
|
-
InstructorProfileEvents["HolidaysScheduleChanged"] = "instructor.profile.holidayScheduleChanged";
|
|
26
|
-
/**
|
|
27
|
-
* Instructor updates his working schedule
|
|
28
|
-
* @author Instructor himself
|
|
29
|
-
* @fires Log instructorfor auditing purposes
|
|
30
|
-
* @fires Log company for auditing purposes
|
|
31
|
-
* @fires Notify company managers about the holiday changes
|
|
32
|
-
* @param CompanyInstructorEntity Event author
|
|
33
|
-
*/
|
|
34
|
-
InstructorProfileEvents["WorkingScheduleChanged"] = "instructor.profile.workingScheduleChanged";
|
|
35
|
-
})(InstructorProfileEvents || (exports.InstructorProfileEvents = InstructorProfileEvents = {}));
|
|
36
|
-
//# sourceMappingURL=profile.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../../src/events/instructor/account/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAiCX;AAjCD,WAAY,uBAAuB;IAElC;;;;;;;;;OASG;IACH,yEAA8C,CAAA;IAE9C;;;;;;;OAOG;IACH,gGAAqE,CAAA;IAErE;;;;;;;OAOG;IACH,+FAAoE,CAAA;AACrE,CAAC,EAjCW,uBAAuB,uCAAvB,uBAAuB,QAiClC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare enum InstructorTaskEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Instructor task is created
|
|
4
|
-
* @author Instructor himself
|
|
5
|
-
* @fires Log instructor for auditing purposes
|
|
6
|
-
* @param InstructorTaskEntity Submitted task
|
|
7
|
-
*/
|
|
8
|
-
TaskCreated = "instructor.task.created",
|
|
9
|
-
/**
|
|
10
|
-
* Instructor task is changed
|
|
11
|
-
* @author Instructor himself
|
|
12
|
-
* @fires Log instructor for auditing purposes
|
|
13
|
-
* @param InstructorTaskEntity Changed task
|
|
14
|
-
*/
|
|
15
|
-
TaskChanged = "instructor.task.changed",
|
|
16
|
-
/**
|
|
17
|
-
* Instructor task is deleted
|
|
18
|
-
* @author Instructor himself
|
|
19
|
-
* @fires Log instructor for auditing purposes
|
|
20
|
-
* @param string Deleted task title
|
|
21
|
-
* @param InstructorEntity Event author
|
|
22
|
-
*/
|
|
23
|
-
TaskDeleted = "instructor.task.deleted"
|
|
24
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstructorTaskEvents = void 0;
|
|
4
|
-
var InstructorTaskEvents;
|
|
5
|
-
(function (InstructorTaskEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Instructor task is created
|
|
8
|
-
* @author Instructor himself
|
|
9
|
-
* @fires Log instructor for auditing purposes
|
|
10
|
-
* @param InstructorTaskEntity Submitted task
|
|
11
|
-
*/
|
|
12
|
-
InstructorTaskEvents["TaskCreated"] = "instructor.task.created";
|
|
13
|
-
/**
|
|
14
|
-
* Instructor task is changed
|
|
15
|
-
* @author Instructor himself
|
|
16
|
-
* @fires Log instructor for auditing purposes
|
|
17
|
-
* @param InstructorTaskEntity Changed task
|
|
18
|
-
*/
|
|
19
|
-
InstructorTaskEvents["TaskChanged"] = "instructor.task.changed";
|
|
20
|
-
/**
|
|
21
|
-
* Instructor task is deleted
|
|
22
|
-
* @author Instructor himself
|
|
23
|
-
* @fires Log instructor for auditing purposes
|
|
24
|
-
* @param string Deleted task title
|
|
25
|
-
* @param InstructorEntity Event author
|
|
26
|
-
*/
|
|
27
|
-
InstructorTaskEvents["TaskDeleted"] = "instructor.task.deleted";
|
|
28
|
-
})(InstructorTaskEvents || (exports.InstructorTaskEvents = InstructorTaskEvents = {}));
|
|
29
|
-
//# sourceMappingURL=task.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task.events.js","sourceRoot":"","sources":["../../../../src/events/instructor/task/task.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBA0BX;AA1BD,WAAY,oBAAoB;IAE/B;;;;;OAKG;IACH,+DAAuC,CAAA;IAEvC;;;;;OAKG;IACH,+DAAuC,CAAA;IAEvC;;;;;;OAMG;IACH,+DAAuC,CAAA;AACxC,CAAC,EA1BW,oBAAoB,oCAApB,oBAAoB,QA0B/B"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare enum StudentAccountEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Student is invited to join the platform
|
|
4
|
-
* @author Company Instructor
|
|
5
|
-
* @fires Log student for auditing purposes
|
|
6
|
-
* @fires Notify student about the invitation
|
|
7
|
-
* @param StudentEntity Invited student
|
|
8
|
-
* @param Person Event author
|
|
9
|
-
* @param metadata Additional metadata for render
|
|
10
|
-
*/
|
|
11
|
-
Invited = "student.account.invited",
|
|
12
|
-
/**
|
|
13
|
-
* Student account is created
|
|
14
|
-
* @author User himself
|
|
15
|
-
* @fires Log student for auditing purposes
|
|
16
|
-
* @fires Log system for auditing purposes
|
|
17
|
-
* @param StudentEntity Event author
|
|
18
|
-
*/
|
|
19
|
-
Created = "student.account.created",
|
|
20
|
-
/**
|
|
21
|
-
* Student account is completed
|
|
22
|
-
* @author User himself
|
|
23
|
-
* @fires Log student for auditing purposes
|
|
24
|
-
* @param StudentEntity Event author
|
|
25
|
-
*/
|
|
26
|
-
Completed = "student.account.completed",
|
|
27
|
-
/**
|
|
28
|
-
* Student account is closed
|
|
29
|
-
* @author User himself
|
|
30
|
-
* @fires Log user for auditing purposes
|
|
31
|
-
* @fires Log student for auditing purposes
|
|
32
|
-
* @fires Log system for auditing purposes
|
|
33
|
-
* @param StudentEntity Event author
|
|
34
|
-
*/
|
|
35
|
-
Closed = "student.account.closed"
|
|
36
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StudentAccountEvents = void 0;
|
|
4
|
-
var StudentAccountEvents;
|
|
5
|
-
(function (StudentAccountEvents) {
|
|
6
|
-
/**
|
|
7
|
-
* Student is invited to join the platform
|
|
8
|
-
* @author Company Instructor
|
|
9
|
-
* @fires Log student for auditing purposes
|
|
10
|
-
* @fires Notify student about the invitation
|
|
11
|
-
* @param StudentEntity Invited student
|
|
12
|
-
* @param Person Event author
|
|
13
|
-
* @param metadata Additional metadata for render
|
|
14
|
-
*/
|
|
15
|
-
StudentAccountEvents["Invited"] = "student.account.invited";
|
|
16
|
-
/**
|
|
17
|
-
* Student account is created
|
|
18
|
-
* @author User himself
|
|
19
|
-
* @fires Log student for auditing purposes
|
|
20
|
-
* @fires Log system for auditing purposes
|
|
21
|
-
* @param StudentEntity Event author
|
|
22
|
-
*/
|
|
23
|
-
StudentAccountEvents["Created"] = "student.account.created";
|
|
24
|
-
/**
|
|
25
|
-
* Student account is completed
|
|
26
|
-
* @author User himself
|
|
27
|
-
* @fires Log student for auditing purposes
|
|
28
|
-
* @param StudentEntity Event author
|
|
29
|
-
*/
|
|
30
|
-
StudentAccountEvents["Completed"] = "student.account.completed";
|
|
31
|
-
/**
|
|
32
|
-
* Student account is closed
|
|
33
|
-
* @author User himself
|
|
34
|
-
* @fires Log user for auditing purposes
|
|
35
|
-
* @fires Log student for auditing purposes
|
|
36
|
-
* @fires Log system for auditing purposes
|
|
37
|
-
* @param StudentEntity Event author
|
|
38
|
-
*/
|
|
39
|
-
StudentAccountEvents["Closed"] = "student.account.closed";
|
|
40
|
-
})(StudentAccountEvents || (exports.StudentAccountEvents = StudentAccountEvents = {}));
|
|
41
|
-
//# sourceMappingURL=account.events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../../src/events/student/account/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAuCX;AAvCD,WAAY,oBAAoB;IAE/B;;;;;;;;OAQG;IACH,2DAAmC,CAAA;IAEnC;;;;;;OAMG;IACH,2DAAmC,CAAA;IAEnC;;;;;OAKG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;OAOG;IACH,yDAAiC,CAAA;AAClC,CAAC,EAvCW,oBAAoB,oCAApB,oBAAoB,QAuC/B"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export declare enum UserAccountEvents {
|
|
2
|
-
/**
|
|
3
|
-
* User account created
|
|
4
|
-
* @author Auth user
|
|
5
|
-
* @fires Log user for auditing purposes
|
|
6
|
-
* @fires Log system for auditing purposes
|
|
7
|
-
* @param UserEntity Event author
|
|
8
|
-
*/
|
|
9
|
-
Created = "user.account.created",
|
|
10
|
-
/**
|
|
11
|
-
* User account overdated
|
|
12
|
-
* @author System/Job
|
|
13
|
-
* @description Overdated account policy can be configured by admin or console
|
|
14
|
-
* @fires Log user for auditing purposes
|
|
15
|
-
* @fires Log system for auditing purposes
|
|
16
|
-
* @fires Notify user about the account overdate (email only)
|
|
17
|
-
* @param UserEntity Event author
|
|
18
|
-
*/
|
|
19
|
-
Overdated = "user.account.overdated",
|
|
20
|
-
/**
|
|
21
|
-
* Veryfy user account recovery request by email
|
|
22
|
-
* @author User himself
|
|
23
|
-
* @description User trying to recover his account by confirming OTP in recovery email
|
|
24
|
-
* @fires Log user for auditing purposes
|
|
25
|
-
* @fires Log system for auditing purposes
|
|
26
|
-
* @param UserEntity Event author
|
|
27
|
-
*/
|
|
28
|
-
RecoveryVerify = "user.account.recoveryVerify",
|
|
29
|
-
/**
|
|
30
|
-
* User account recovered
|
|
31
|
-
* @author User himself
|
|
32
|
-
* @description Account recovery can be done by confirming OTP in recovery email
|
|
33
|
-
* @fires Log user for auditing purposes
|
|
34
|
-
* @fires Log system for auditing purposes
|
|
35
|
-
* @fires Notify user about the account recovery (by email)
|
|
36
|
-
* @param UserEntity Event author
|
|
37
|
-
*/
|
|
38
|
-
Recovered = "user.account.recovered",
|
|
39
|
-
/**
|
|
40
|
-
* User account activated
|
|
41
|
-
* @author System/Job
|
|
42
|
-
* @fires Log user for auditing purposes
|
|
43
|
-
* @fires Log system for auditing purposes
|
|
44
|
-
* @fires Notify user about the account activation
|
|
45
|
-
* @param UserEntity Activated user
|
|
46
|
-
*/
|
|
47
|
-
Activated = "user.account.activated",
|
|
48
|
-
/**
|
|
49
|
-
* User account suspended
|
|
50
|
-
* Takeover overdated phone number or suspicious activity
|
|
51
|
-
* @author System/Job
|
|
52
|
-
* @fires Log user for auditing purposes
|
|
53
|
-
* @fires Log system for auditing purposes
|
|
54
|
-
* @fires Notify user about the account suspension
|
|
55
|
-
* @param UserEntity Suspended user
|
|
56
|
-
* @param Metadata Additional render data
|
|
57
|
-
*/
|
|
58
|
-
Suspended = "user.account.suspended",
|
|
59
|
-
/**
|
|
60
|
-
* User account closed
|
|
61
|
-
* @author User himself
|
|
62
|
-
* @description Say goodbye to user and mask personal data
|
|
63
|
-
* @fires Log user for auditing purposes
|
|
64
|
-
* @fires Log system for auditing purposes
|
|
65
|
-
* @param UserEntity Event author
|
|
66
|
-
*/
|
|
67
|
-
Closed = "user.account.closed",
|
|
68
|
-
/**
|
|
69
|
-
* User account blocked
|
|
70
|
-
* @author System/Job
|
|
71
|
-
* @fires Log user for auditing purposes
|
|
72
|
-
* @fires Log system for auditing purposes
|
|
73
|
-
* @fires Notify user about the account blocking
|
|
74
|
-
* @param UserEntity Blocked user
|
|
75
|
-
*/
|
|
76
|
-
Blocked = "user.account.blocked",
|
|
77
|
-
/**
|
|
78
|
-
* User switches active profile
|
|
79
|
-
* @author User himself
|
|
80
|
-
* @fires Log user for auditing purposes
|
|
81
|
-
* @param UserEntity Event author
|
|
82
|
-
*/
|
|
83
|
-
SwitchProfile = "user.account.switchProfile"
|
|
84
|
-
}
|