@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,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActivityType = void 0;
|
|
4
|
-
var ActivityType;
|
|
5
|
-
(function (ActivityType) {
|
|
6
|
-
ActivityType["createdBy"] = "createdBy";
|
|
7
|
-
ActivityType["createdOn"] = "createdOn";
|
|
8
|
-
ActivityType["updatedBy"] = "updatedBy";
|
|
9
|
-
ActivityType["updatedOn"] = "updatedOn";
|
|
10
|
-
ActivityType["closedBy"] = "closedBy";
|
|
11
|
-
ActivityType["closedOn"] = "closedOn";
|
|
12
|
-
ActivityType["endedBy"] = "endedBy";
|
|
13
|
-
ActivityType["endedOn"] = "endedOn";
|
|
14
|
-
ActivityType["canceledBy"] = "canceledBy";
|
|
15
|
-
ActivityType["canceledOn"] = "canceledOn";
|
|
16
|
-
ActivityType["blockedBy"] = "blockedBy";
|
|
17
|
-
ActivityType["blockedOn"] = "blockedOn";
|
|
18
|
-
ActivityType["activatedBy"] = "activatedBy";
|
|
19
|
-
ActivityType["activatedOn"] = "activatedOn";
|
|
20
|
-
ActivityType["deactivatedBy"] = "deactivatedBy";
|
|
21
|
-
ActivityType["deactivatedOn"] = "deactivatedOn";
|
|
22
|
-
ActivityType["enabledBy"] = "enabledBy";
|
|
23
|
-
ActivityType["enabledOn"] = "enabledOn";
|
|
24
|
-
ActivityType["disabledBy"] = "disabledBy";
|
|
25
|
-
ActivityType["disabledOn"] = "disabledOn";
|
|
26
|
-
ActivityType["completedBy"] = "completedBy";
|
|
27
|
-
ActivityType["completedOn"] = "completedOn";
|
|
28
|
-
ActivityType["terminatedBy"] = "terminatedBy";
|
|
29
|
-
ActivityType["terminatedOn"] = "terminatedOn";
|
|
30
|
-
ActivityType["acceptedBy"] = "acceptedBy";
|
|
31
|
-
ActivityType["acceptedOn"] = "acceptedOn";
|
|
32
|
-
ActivityType["rejectedBy"] = "rejectedBy";
|
|
33
|
-
ActivityType["rejectedOn"] = "rejectedOn";
|
|
34
|
-
ActivityType["approvedBy"] = "approvedBy";
|
|
35
|
-
ActivityType["approvedOn"] = "approvedOn";
|
|
36
|
-
ActivityType["skippedBy"] = "skippedBy";
|
|
37
|
-
ActivityType["skippedOn"] = "skippedOn";
|
|
38
|
-
ActivityType["publishedBy"] = "publishedBy";
|
|
39
|
-
ActivityType["publishedOn"] = "publishedOn";
|
|
40
|
-
ActivityType["invitedBy"] = "invitedBy";
|
|
41
|
-
ActivityType["invitedOn"] = "invitedOn";
|
|
42
|
-
ActivityType["generatedBy"] = "generatedBy";
|
|
43
|
-
ActivityType["generatedOn"] = "generatedOn";
|
|
44
|
-
ActivityType["registredBy"] = "registredBy";
|
|
45
|
-
ActivityType["registredOn"] = "registredOn";
|
|
46
|
-
ActivityType["paidBy"] = "paidBy";
|
|
47
|
-
ActivityType["paidOn"] = "paidOn";
|
|
48
|
-
ActivityType["failedOn"] = "failedOn";
|
|
49
|
-
ActivityType["pendingOn"] = "pendingOn";
|
|
50
|
-
})(ActivityType || (exports.ActivityType = ActivityType = {}));
|
|
51
|
-
//# sourceMappingURL=activity.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activity.type.js","sourceRoot":"","sources":["../../src/types/activity.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,YA6CX;AA7CD,WAAY,YAAY;IACvB,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,qCAAuB,CAAA;IACvB,qCAAuB,CAAA;IACvB,mCAAsB,CAAA;IACtB,mCAAsB,CAAA;IACtB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,2CAA4B,CAAA;IAC5B,2CAA4B,CAAA;IAC5B,+CAA+B,CAAA;IAC/B,+CAA+B,CAAA;IAC/B,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;AACxB,CAAC,EA7CW,YAAY,4BAAZ,YAAY,QA6CvB"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export declare enum AddonType {
|
|
2
|
-
/**
|
|
3
|
-
* Enrollment request sent by student to join a training
|
|
4
|
-
*/
|
|
5
|
-
StudentRequestEnrollment = "StudentRequestEnrollment",
|
|
6
|
-
/**
|
|
7
|
-
* Allows students to manage their own training appointments
|
|
8
|
-
*/
|
|
9
|
-
StudentManageTrainingAppointments = "StudentManageTrainingAppointments",
|
|
10
|
-
/**
|
|
11
|
-
* Reminds students about upcoming appointments
|
|
12
|
-
*/
|
|
13
|
-
StudentAppointmentReminder = "StudentAppointmentReminder",
|
|
14
|
-
/**
|
|
15
|
-
* Reminds instructors about upcoming appointments
|
|
16
|
-
*/
|
|
17
|
-
InstructorAppointmentReminder = "InstructorAppointmentReminder",
|
|
18
|
-
/**
|
|
19
|
-
* Protection in case a student does not show up for a booked appointment
|
|
20
|
-
*/
|
|
21
|
-
StudentNoShowProtection = "StudentNoShowProtection",
|
|
22
|
-
/**
|
|
23
|
-
* Protection in case an instructor does not show up for a booked appointment
|
|
24
|
-
*/
|
|
25
|
-
InstructorNoShowProtection = "InstructorNoShowProtection",
|
|
26
|
-
/**
|
|
27
|
-
* Package of extra lessons that can be booked in addition to the main product
|
|
28
|
-
*/
|
|
29
|
-
ExtraLessonPackage = "ExtraLessonPackage",
|
|
30
|
-
/**
|
|
31
|
-
* Allows students to reschedule their booked appointments
|
|
32
|
-
*/
|
|
33
|
-
RescheduleProtection = "RescheduleProtection",
|
|
34
|
-
/**
|
|
35
|
-
* Package to prepare students for their final exam
|
|
36
|
-
*/
|
|
37
|
-
ExamPreparationPackage = "ExamPreparationPackage",
|
|
38
|
-
/**
|
|
39
|
-
* Package of financing options for products
|
|
40
|
-
*/
|
|
41
|
-
FinancePackage = "FinancePackage",
|
|
42
|
-
/**
|
|
43
|
-
* Package of assessments for products to track progress or performance
|
|
44
|
-
*/
|
|
45
|
-
AssessmentPackage = "AssessmentPackage",
|
|
46
|
-
/**
|
|
47
|
-
* Package of reports for products to track progress or performance
|
|
48
|
-
*/
|
|
49
|
-
ReportsPackage = "ReportsPackage",
|
|
50
|
-
/**
|
|
51
|
-
* Improves the visibility of the profile in search engines
|
|
52
|
-
*/
|
|
53
|
-
SearchEngineVisibility = "SearchEngineVisibility",
|
|
54
|
-
/**
|
|
55
|
-
* Boosts the visibility of the profile in search engines
|
|
56
|
-
*/
|
|
57
|
-
SearchEngineVisibilityBoost = "SearchEngineVisibilityBoost",
|
|
58
|
-
/**
|
|
59
|
-
* Homepage package of profile on driveup platform
|
|
60
|
-
*/
|
|
61
|
-
HomepagePackage = "HomepagePackage",
|
|
62
|
-
/**
|
|
63
|
-
* API access package to integrate with driveup platform
|
|
64
|
-
*/
|
|
65
|
-
OpenApiAccessPackage = "OpenApiAccessPackage"
|
|
66
|
-
}
|
package/lib/types/addon.type.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddonType = void 0;
|
|
4
|
-
var AddonType;
|
|
5
|
-
(function (AddonType) {
|
|
6
|
-
/**
|
|
7
|
-
* Enrollment request sent by student to join a training
|
|
8
|
-
*/
|
|
9
|
-
AddonType["StudentRequestEnrollment"] = "StudentRequestEnrollment";
|
|
10
|
-
/**
|
|
11
|
-
* Allows students to manage their own training appointments
|
|
12
|
-
*/
|
|
13
|
-
AddonType["StudentManageTrainingAppointments"] = "StudentManageTrainingAppointments";
|
|
14
|
-
/**
|
|
15
|
-
* Reminds students about upcoming appointments
|
|
16
|
-
*/
|
|
17
|
-
AddonType["StudentAppointmentReminder"] = "StudentAppointmentReminder";
|
|
18
|
-
/**
|
|
19
|
-
* Reminds instructors about upcoming appointments
|
|
20
|
-
*/
|
|
21
|
-
AddonType["InstructorAppointmentReminder"] = "InstructorAppointmentReminder";
|
|
22
|
-
/**
|
|
23
|
-
* Protection in case a student does not show up for a booked appointment
|
|
24
|
-
*/
|
|
25
|
-
AddonType["StudentNoShowProtection"] = "StudentNoShowProtection";
|
|
26
|
-
/**
|
|
27
|
-
* Protection in case an instructor does not show up for a booked appointment
|
|
28
|
-
*/
|
|
29
|
-
AddonType["InstructorNoShowProtection"] = "InstructorNoShowProtection";
|
|
30
|
-
/**
|
|
31
|
-
* Package of extra lessons that can be booked in addition to the main product
|
|
32
|
-
*/
|
|
33
|
-
AddonType["ExtraLessonPackage"] = "ExtraLessonPackage";
|
|
34
|
-
/**
|
|
35
|
-
* Allows students to reschedule their booked appointments
|
|
36
|
-
*/
|
|
37
|
-
AddonType["RescheduleProtection"] = "RescheduleProtection";
|
|
38
|
-
/**
|
|
39
|
-
* Package to prepare students for their final exam
|
|
40
|
-
*/
|
|
41
|
-
AddonType["ExamPreparationPackage"] = "ExamPreparationPackage";
|
|
42
|
-
/**
|
|
43
|
-
* Package of financing options for products
|
|
44
|
-
*/
|
|
45
|
-
AddonType["FinancePackage"] = "FinancePackage";
|
|
46
|
-
/**
|
|
47
|
-
* Package of assessments for products to track progress or performance
|
|
48
|
-
*/
|
|
49
|
-
AddonType["AssessmentPackage"] = "AssessmentPackage";
|
|
50
|
-
/**
|
|
51
|
-
* Package of reports for products to track progress or performance
|
|
52
|
-
*/
|
|
53
|
-
AddonType["ReportsPackage"] = "ReportsPackage";
|
|
54
|
-
/**
|
|
55
|
-
* Improves the visibility of the profile in search engines
|
|
56
|
-
*/
|
|
57
|
-
AddonType["SearchEngineVisibility"] = "SearchEngineVisibility";
|
|
58
|
-
/**
|
|
59
|
-
* Boosts the visibility of the profile in search engines
|
|
60
|
-
*/
|
|
61
|
-
AddonType["SearchEngineVisibilityBoost"] = "SearchEngineVisibilityBoost";
|
|
62
|
-
/**
|
|
63
|
-
* Homepage package of profile on driveup platform
|
|
64
|
-
*/
|
|
65
|
-
AddonType["HomepagePackage"] = "HomepagePackage";
|
|
66
|
-
/**
|
|
67
|
-
* API access package to integrate with driveup platform
|
|
68
|
-
*/
|
|
69
|
-
AddonType["OpenApiAccessPackage"] = "OpenApiAccessPackage";
|
|
70
|
-
})(AddonType || (exports.AddonType = AddonType = {}));
|
|
71
|
-
//# sourceMappingURL=addon.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"addon.type.js","sourceRoot":"","sources":["../../src/types/addon.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAiFX;AAjFD,WAAY,SAAS;IAEpB;;OAEG;IACH,kEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAuE,CAAA;IAEvE;;OAEG;IACH,sEAAyD,CAAA;IAEzD;;OAEG;IACH,4EAA+D,CAAA;IAE/D;;OAEG;IACH,gEAAmD,CAAA;IAEnD;;OAEG;IACH,sEAAyD,CAAA;IAEzD;;OAEG;IACH,sDAAyC,CAAA;IAEzC;;OAEG;IACH,0DAA6C,CAAA;IAE7C;;OAEG;IACH,8DAAiD,CAAA;IAEjD;;OAEG;IACH,8CAAiC,CAAA;IAEjC;;OAEG;IACH,oDAAuC,CAAA;IAEvC;;OAEG;IACH,8CAAiC,CAAA;IAEjC;;OAEG;IACH,8DAAiD,CAAA;IAEjD;;OAEG;IACH,wEAA2D,CAAA;IAE3D;;OAEG;IACH,gDAAmC,CAAA;IAEnC;;OAEG;IACH,0DAA6C,CAAA;AAC9C,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare enum AppointmentType {
|
|
2
|
-
Medical = "medical",
|
|
3
|
-
Course = "course",
|
|
4
|
-
Driving = "driving",
|
|
5
|
-
Task = "task",
|
|
6
|
-
NonWorking = "nonworking",
|
|
7
|
-
Holiday = "holiday",
|
|
8
|
-
OffDay = "offday"
|
|
9
|
-
}
|
|
10
|
-
export declare enum AppointmentRepetition {
|
|
11
|
-
None = "none",
|
|
12
|
-
Daily = "daily",
|
|
13
|
-
Weekly = "weekly",
|
|
14
|
-
Monthly = "monthly"
|
|
15
|
-
}
|
|
16
|
-
export declare enum WeekDay {
|
|
17
|
-
Monday = "monday",
|
|
18
|
-
Tuesday = "tuesday",
|
|
19
|
-
Wednesday = "wednesday",
|
|
20
|
-
Thursday = "thursday",
|
|
21
|
-
Friday = "friday",
|
|
22
|
-
Saturday = "saturday",
|
|
23
|
-
Sunday = "sunday"
|
|
24
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WeekDay = exports.AppointmentRepetition = exports.AppointmentType = void 0;
|
|
4
|
-
var AppointmentType;
|
|
5
|
-
(function (AppointmentType) {
|
|
6
|
-
AppointmentType["Medical"] = "medical";
|
|
7
|
-
AppointmentType["Course"] = "course";
|
|
8
|
-
AppointmentType["Driving"] = "driving";
|
|
9
|
-
AppointmentType["Task"] = "task";
|
|
10
|
-
AppointmentType["NonWorking"] = "nonworking";
|
|
11
|
-
AppointmentType["Holiday"] = "holiday";
|
|
12
|
-
AppointmentType["OffDay"] = "offday";
|
|
13
|
-
})(AppointmentType || (exports.AppointmentType = AppointmentType = {}));
|
|
14
|
-
var AppointmentRepetition;
|
|
15
|
-
(function (AppointmentRepetition) {
|
|
16
|
-
AppointmentRepetition["None"] = "none";
|
|
17
|
-
AppointmentRepetition["Daily"] = "daily";
|
|
18
|
-
AppointmentRepetition["Weekly"] = "weekly";
|
|
19
|
-
AppointmentRepetition["Monthly"] = "monthly";
|
|
20
|
-
})(AppointmentRepetition || (exports.AppointmentRepetition = AppointmentRepetition = {}));
|
|
21
|
-
var WeekDay;
|
|
22
|
-
(function (WeekDay) {
|
|
23
|
-
WeekDay["Monday"] = "monday";
|
|
24
|
-
WeekDay["Tuesday"] = "tuesday";
|
|
25
|
-
WeekDay["Wednesday"] = "wednesday";
|
|
26
|
-
WeekDay["Thursday"] = "thursday";
|
|
27
|
-
WeekDay["Friday"] = "friday";
|
|
28
|
-
WeekDay["Saturday"] = "saturday";
|
|
29
|
-
WeekDay["Sunday"] = "sunday";
|
|
30
|
-
})(WeekDay || (exports.WeekDay = WeekDay = {}));
|
|
31
|
-
//# sourceMappingURL=calendar.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.type.js","sourceRoot":"","sources":["../../src/types/calendar.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAQX;AARD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACtB,sCAAmB,CAAA;IACtB,oCAAiB,CAAA;AAClB,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B;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;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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CarTransmission = exports.Score = void 0;
|
|
4
|
-
var Score;
|
|
5
|
-
(function (Score) {
|
|
6
|
-
Score[Score["NoScoreSubmitted"] = 0] = "NoScoreSubmitted";
|
|
7
|
-
Score[Score["Poor"] = 1] = "Poor";
|
|
8
|
-
Score[Score["Weak"] = 2] = "Weak";
|
|
9
|
-
Score[Score["Fair"] = 3] = "Fair";
|
|
10
|
-
Score[Score["Great"] = 4] = "Great";
|
|
11
|
-
Score[Score["Excellent"] = 5] = "Excellent";
|
|
12
|
-
})(Score || (exports.Score = Score = {}));
|
|
13
|
-
var CarTransmission;
|
|
14
|
-
(function (CarTransmission) {
|
|
15
|
-
CarTransmission["Automatic"] = "automatic";
|
|
16
|
-
CarTransmission["Manual"] = "manual";
|
|
17
|
-
})(CarTransmission || (exports.CarTransmission = CarTransmission = {}));
|
|
18
|
-
//# sourceMappingURL=driving.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"driving.type.js","sourceRoot":"","sources":["../../src/types/driving.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAOX;AAPD,WAAY,KAAK;IAChB,yDAAoB,CAAA;IACpB,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,mCAAS,CAAA;IACT,2CAAa,CAAA;AACd,CAAC,EAPW,KAAK,qBAAL,KAAK,QAOhB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"earning.type.js","sourceRoot":"","sources":["../../src/types/earning.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export declare enum BillStatus {
|
|
2
|
-
Open = "open",
|
|
3
|
-
Paid = "paid",
|
|
4
|
-
Unpaid = "unpaid"
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Payment types available
|
|
8
|
-
* Members: Cash, Online, Invoice
|
|
9
|
-
*/
|
|
10
|
-
export declare enum PaymentType {
|
|
11
|
-
/**
|
|
12
|
-
* Cash paid
|
|
13
|
-
*/
|
|
14
|
-
Cash = "cash",
|
|
15
|
-
/**
|
|
16
|
-
* Online paid
|
|
17
|
-
*/
|
|
18
|
-
Online = "online",
|
|
19
|
-
/**
|
|
20
|
-
* Paid by invoice
|
|
21
|
-
*/
|
|
22
|
-
Invoice = "invoice"
|
|
23
|
-
}
|
|
24
|
-
export declare enum TransactionType {
|
|
25
|
-
/**
|
|
26
|
-
* Online payment transaction
|
|
27
|
-
*/
|
|
28
|
-
Payment = "payment",
|
|
29
|
-
/**
|
|
30
|
-
* Refund issued to student
|
|
31
|
-
*/
|
|
32
|
-
Refund = "refund",
|
|
33
|
-
/**
|
|
34
|
-
* Discount applied to student
|
|
35
|
-
*/
|
|
36
|
-
Discount = "discount",
|
|
37
|
-
/**
|
|
38
|
-
* Student exspense like exam coste
|
|
39
|
-
*/
|
|
40
|
-
Expense = "expense",
|
|
41
|
-
/**
|
|
42
|
-
* Administration fee charged to student
|
|
43
|
-
*/
|
|
44
|
-
Administration = "administration",
|
|
45
|
-
/**
|
|
46
|
-
* Cancelation transaction for previous payment
|
|
47
|
-
*/
|
|
48
|
-
Cancelation = "cancelation"
|
|
49
|
-
}
|
|
50
|
-
export declare enum TaxType {
|
|
51
|
-
VAT = "vat",
|
|
52
|
-
GST = "gst",
|
|
53
|
-
SALES_TAX = "sales_tax",
|
|
54
|
-
SERVICE_TAX = "service_tax",
|
|
55
|
-
OTHER = "other"
|
|
56
|
-
}
|
|
57
|
-
export declare enum PaymentProvider {
|
|
58
|
-
Stripe = "stripe"
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* @description Use ProductType in next version
|
|
62
|
-
*/
|
|
63
|
-
export declare enum CompanyBillItemType {
|
|
64
|
-
StudentTraining = "bill.item.studentTraining",
|
|
65
|
-
InstructorSubscription = "bill.item.instructorSubscription",
|
|
66
|
-
EnterpriseSeats = "bill.item.enterpriseSeats"
|
|
67
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompanyBillItemType = exports.PaymentProvider = exports.TaxType = exports.TransactionType = exports.PaymentType = exports.BillStatus = void 0;
|
|
4
|
-
var BillStatus;
|
|
5
|
-
(function (BillStatus) {
|
|
6
|
-
BillStatus["Open"] = "open";
|
|
7
|
-
BillStatus["Paid"] = "paid";
|
|
8
|
-
BillStatus["Unpaid"] = "unpaid";
|
|
9
|
-
})(BillStatus || (exports.BillStatus = BillStatus = {}));
|
|
10
|
-
/**
|
|
11
|
-
* Payment types available
|
|
12
|
-
* Members: Cash, Online, Invoice
|
|
13
|
-
*/
|
|
14
|
-
var PaymentType;
|
|
15
|
-
(function (PaymentType) {
|
|
16
|
-
/**
|
|
17
|
-
* Cash paid
|
|
18
|
-
*/
|
|
19
|
-
PaymentType["Cash"] = "cash";
|
|
20
|
-
/**
|
|
21
|
-
* Online paid
|
|
22
|
-
*/
|
|
23
|
-
PaymentType["Online"] = "online";
|
|
24
|
-
/**
|
|
25
|
-
* Paid by invoice
|
|
26
|
-
*/
|
|
27
|
-
PaymentType["Invoice"] = "invoice";
|
|
28
|
-
})(PaymentType || (exports.PaymentType = PaymentType = {}));
|
|
29
|
-
var TransactionType;
|
|
30
|
-
(function (TransactionType) {
|
|
31
|
-
/**
|
|
32
|
-
* Online payment transaction
|
|
33
|
-
*/
|
|
34
|
-
TransactionType["Payment"] = "payment";
|
|
35
|
-
/**
|
|
36
|
-
* Refund issued to student
|
|
37
|
-
*/
|
|
38
|
-
TransactionType["Refund"] = "refund";
|
|
39
|
-
/**
|
|
40
|
-
* Discount applied to student
|
|
41
|
-
*/
|
|
42
|
-
TransactionType["Discount"] = "discount";
|
|
43
|
-
/**
|
|
44
|
-
* Student exspense like exam coste
|
|
45
|
-
*/
|
|
46
|
-
TransactionType["Expense"] = "expense";
|
|
47
|
-
/**
|
|
48
|
-
* Administration fee charged to student
|
|
49
|
-
*/
|
|
50
|
-
TransactionType["Administration"] = "administration";
|
|
51
|
-
/**
|
|
52
|
-
* Cancelation transaction for previous payment
|
|
53
|
-
*/
|
|
54
|
-
TransactionType["Cancelation"] = "cancelation";
|
|
55
|
-
})(TransactionType || (exports.TransactionType = TransactionType = {}));
|
|
56
|
-
var TaxType;
|
|
57
|
-
(function (TaxType) {
|
|
58
|
-
TaxType["VAT"] = "vat";
|
|
59
|
-
TaxType["GST"] = "gst";
|
|
60
|
-
TaxType["SALES_TAX"] = "sales_tax";
|
|
61
|
-
TaxType["SERVICE_TAX"] = "service_tax";
|
|
62
|
-
TaxType["OTHER"] = "other";
|
|
63
|
-
})(TaxType || (exports.TaxType = TaxType = {}));
|
|
64
|
-
var PaymentProvider;
|
|
65
|
-
(function (PaymentProvider) {
|
|
66
|
-
PaymentProvider["Stripe"] = "stripe";
|
|
67
|
-
})(PaymentProvider || (exports.PaymentProvider = PaymentProvider = {}));
|
|
68
|
-
/**
|
|
69
|
-
* @description Use ProductType in next version
|
|
70
|
-
*/
|
|
71
|
-
var CompanyBillItemType;
|
|
72
|
-
(function (CompanyBillItemType) {
|
|
73
|
-
CompanyBillItemType["StudentTraining"] = "bill.item.studentTraining";
|
|
74
|
-
CompanyBillItemType["InstructorSubscription"] = "bill.item.instructorSubscription";
|
|
75
|
-
CompanyBillItemType["EnterpriseSeats"] = "bill.item.enterpriseSeats";
|
|
76
|
-
})(CompanyBillItemType || (exports.CompanyBillItemType = CompanyBillItemType = {}));
|
|
77
|
-
//# sourceMappingURL=finance.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"finance.type.js","sourceRoot":"","sources":["../../src/types/finance.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+BAAiB,CAAA;AAClB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAED;;;GAGG;AACH,IAAY,WAeX;AAfD,WAAY,WAAW;IACtB;;OAEG;IACH,4BAAa,CAAA;IAEb;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,kCAAmB,CAAA;AACpB,CAAC,EAfW,WAAW,2BAAX,WAAW,QAetB;AAED,IAAY,eA+BX;AA/BD,WAAY,eAAe;IAE1B;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,oCAAiB,CAAA;IAEjB;;OAEG;IACH,wCAAqB,CAAA;IAErB;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,oDAAiC,CAAA;IAEjC;;OAEG;IACH,8CAA2B,CAAA;AAC5B,CAAC,EA/BW,eAAe,+BAAf,eAAe,QA+B1B;AAED,IAAY,OAMX;AAND,WAAY,OAAO;IAClB,sBAAW,CAAA;IACX,sBAAW,CAAA;IACX,kCAAuB,CAAA;IACvB,sCAA2B,CAAA;IAC3B,0BAAe,CAAA;AAChB,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAED,IAAY,eAEX;AAFD,WAAY,eAAe;IAC1B,oCAAiB,CAAA;AAClB,CAAC,EAFW,eAAe,+BAAf,eAAe,QAE1B;AAED;;GAEG;AACH,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,oEAA6C,CAAA;IAC7C,kFAA2D,CAAA;IAC3D,oEAA6C,CAAA;AAC9C,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
package/lib/types/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './activity.type';
|
|
2
|
-
export * from './addon.type';
|
|
3
|
-
export * from './calendar.type';
|
|
4
|
-
export * from './driving.type';
|
|
5
|
-
export * from './earning.type';
|
|
6
|
-
export * from './finance.type';
|
|
7
|
-
export * from './metric.type';
|
|
8
|
-
export * from './policy.type';
|
|
9
|
-
export * from './priceplan.type';
|
|
10
|
-
export * from './product.type';
|
|
11
|
-
export * from './program.type';
|
|
12
|
-
export * from './security.type';
|
|
13
|
-
export * from './support.type';
|
|
14
|
-
export * from './training.type';
|
|
15
|
-
export * from './interface';
|
package/lib/types/index.js
DELETED
|
@@ -1,32 +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("./activity.type"), exports);
|
|
18
|
-
__exportStar(require("./addon.type"), exports);
|
|
19
|
-
__exportStar(require("./calendar.type"), exports);
|
|
20
|
-
__exportStar(require("./driving.type"), exports);
|
|
21
|
-
__exportStar(require("./earning.type"), exports);
|
|
22
|
-
__exportStar(require("./finance.type"), exports);
|
|
23
|
-
__exportStar(require("./metric.type"), exports);
|
|
24
|
-
__exportStar(require("./policy.type"), exports);
|
|
25
|
-
__exportStar(require("./priceplan.type"), exports);
|
|
26
|
-
__exportStar(require("./product.type"), exports);
|
|
27
|
-
__exportStar(require("./program.type"), exports);
|
|
28
|
-
__exportStar(require("./security.type"), exports);
|
|
29
|
-
__exportStar(require("./support.type"), exports);
|
|
30
|
-
__exportStar(require("./training.type"), exports);
|
|
31
|
-
__exportStar(require("./interface"), exports);
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
package/lib/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,gDAA8B;AAC9B,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,8CAA4B"}
|
package/lib/types/interface.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { ProfileType } from "./support.type";
|
|
2
|
-
import { TransactionType } from "./finance.type";
|
|
3
|
-
import { PricePlanUsage } from "./priceplan.type";
|
|
4
|
-
/**
|
|
5
|
-
* Represents a selected profile for a user
|
|
6
|
-
*/
|
|
7
|
-
export interface SelectedProfile {
|
|
8
|
-
/** The type of profile (student, instructor, company, agent) */
|
|
9
|
-
type: ProfileType;
|
|
10
|
-
/** The unique identifier of the profile */
|
|
11
|
-
id: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents a time period with start and end dates
|
|
15
|
-
*/
|
|
16
|
-
export interface IPeriod {
|
|
17
|
-
/** The start date of the period */
|
|
18
|
-
startDate: Date;
|
|
19
|
-
/** The end date of the period */
|
|
20
|
-
endDate: Date;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Represents a date update operation with from and to dates
|
|
24
|
-
*/
|
|
25
|
-
export interface IDateUpdate {
|
|
26
|
-
/** The original date */
|
|
27
|
-
from: Date;
|
|
28
|
-
/** The new date */
|
|
29
|
-
to: Date;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Associates an ID with a specific date
|
|
33
|
-
*/
|
|
34
|
-
export interface IDateAssignment {
|
|
35
|
-
/** Entity identifier */
|
|
36
|
-
id: number;
|
|
37
|
-
/** Associated date */
|
|
38
|
-
date: Date;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Represents a date with a duration
|
|
42
|
-
*/
|
|
43
|
-
export interface IDateDuration {
|
|
44
|
-
/** The date */
|
|
45
|
-
date: Date;
|
|
46
|
-
/** Duration in minutes or other time unit */
|
|
47
|
-
duration: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Represents financial transaction history data
|
|
51
|
-
*/
|
|
52
|
-
export interface FinancialHistory {
|
|
53
|
-
/** Finance type */
|
|
54
|
-
type: TransactionType;
|
|
55
|
-
/** Array of [timestamp, amount] tuples for time-series data */
|
|
56
|
-
data: [number, number][];
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Document structure for handover operations
|
|
60
|
-
*/
|
|
61
|
-
export interface HandoverDocument {
|
|
62
|
-
/** IDs of rejected expenses */
|
|
63
|
-
rejectedExpenses: number[];
|
|
64
|
-
/** IDs of skipped expenses */
|
|
65
|
-
skippedExpenses: number[];
|
|
66
|
-
/** IDs of skipped payments */
|
|
67
|
-
skippedPayments: number[];
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Represents price plan usage information
|
|
71
|
-
*/
|
|
72
|
-
export interface IPricePlanUsage {
|
|
73
|
-
/** The type of price plan usage */
|
|
74
|
-
type: PricePlanUsage;
|
|
75
|
-
/** Optional usage amount/count */
|
|
76
|
-
usage?: number;
|
|
77
|
-
/** Optional unit of measurement */
|
|
78
|
-
unit?: string;
|
|
79
|
-
}
|
package/lib/types/interface.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../src/types/interface.ts"],"names":[],"mappings":";;AA8DC,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare enum MetricType {
|
|
2
|
-
Clients = "Clients",
|
|
3
|
-
ArchivedClients = "ArchivedClients",
|
|
4
|
-
Students = "Students",
|
|
5
|
-
ActiveStudents = "ActiveStudents",
|
|
6
|
-
InactiveStudents = "InactiveStudents",
|
|
7
|
-
StudentsWithBalance = "StudentsWithBalance",
|
|
8
|
-
Appointments = "Appointments",
|
|
9
|
-
UpcomingAppointments = "UpcomingAppointments",
|
|
10
|
-
PastAppointments = "PastAppointments",
|
|
11
|
-
CanceledAppointments = "CanceledAppointments",
|
|
12
|
-
AttendedAppointments = "AttendedAppointments",
|
|
13
|
-
AbsentAppointments = "AbsentAppointments",
|
|
14
|
-
Courses = "Courses",
|
|
15
|
-
CourseRemainingSeats = "CourseRemainingSeats",
|
|
16
|
-
Trainings = "Trainings",
|
|
17
|
-
DrivingTrainings = "DrivingTrainings",
|
|
18
|
-
TheoryTrainings = "TheoryTrainings",
|
|
19
|
-
Topics = "Topics",
|
|
20
|
-
CompletedTopics = "CompletedTopics",
|
|
21
|
-
PendingTopics = "PendingTopics",
|
|
22
|
-
Income = "Income",
|
|
23
|
-
PaidIncome = "PaidIncome",
|
|
24
|
-
PendingIncome = "PendingIncome",
|
|
25
|
-
Expenses = "Expenses",
|
|
26
|
-
PendingExpenses = "PendingExpenses",
|
|
27
|
-
ApprovedExpenses = "ApprovedExpenses",
|
|
28
|
-
RejectedExpenses = "RejectedExpenses",
|
|
29
|
-
Transactions = "Transactions",
|
|
30
|
-
PendingTransactions = "PendingTransactions",
|
|
31
|
-
ApprovedTransactions = "ApprovedTransactions",
|
|
32
|
-
RejectedTransactions = "RejectedTransactions",
|
|
33
|
-
GeneratedValue = "GeneratedValue"
|
|
34
|
-
}
|