@intelact/driveup 0.9.42 → 0.9.43

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.
Files changed (100) hide show
  1. package/lib/auth/index.d.ts +1 -0
  2. package/lib/auth/index.js +1 -0
  3. package/lib/auth/index.js.map +1 -1
  4. package/lib/common/date.d.ts +9 -0
  5. package/lib/common/date.js +14 -0
  6. package/lib/common/date.js.map +1 -0
  7. package/lib/common/general.dto.d.ts +1 -1
  8. package/lib/common/general.dto.js +2 -3
  9. package/lib/common/general.dto.js.map +1 -1
  10. package/lib/company/common/request.status.enum.d.ts +6 -0
  11. package/lib/company/common/request.status.enum.js +11 -0
  12. package/lib/company/common/request.status.enum.js.map +1 -0
  13. package/lib/company/driving/appointment.type.enum.d.ts +4 -0
  14. package/lib/company/driving/appointment.type.enum.js +9 -0
  15. package/lib/company/driving/appointment.type.enum.js.map +1 -0
  16. package/lib/company/driving/exam.status.enum.d.ts +5 -0
  17. package/lib/company/driving/exam.status.enum.js +10 -0
  18. package/lib/company/driving/exam.status.enum.js.map +1 -0
  19. package/lib/company/driving/status.enum.d.ts +5 -0
  20. package/lib/company/driving/status.enum.js +10 -0
  21. package/lib/company/driving/status.enum.js.map +1 -0
  22. package/lib/company/finances/card.model.d.ts +10 -0
  23. package/lib/company/finances/card.model.js +55 -0
  24. package/lib/company/finances/card.model.js.map +1 -0
  25. package/lib/company/finances/priceplan.model.d.ts +19 -0
  26. package/lib/company/finances/priceplan.model.js +95 -0
  27. package/lib/company/finances/priceplan.model.js.map +1 -0
  28. package/lib/company/plan.enum.d.ts +9 -0
  29. package/lib/company/plan.enum.js +15 -0
  30. package/lib/company/plan.enum.js.map +1 -0
  31. package/lib/company/user.model.d.ts +25 -0
  32. package/lib/company/user.model.js +124 -0
  33. package/lib/company/user.model.js.map +1 -0
  34. package/lib/course/dto.d.ts +8 -0
  35. package/lib/course/dto.js +41 -0
  36. package/lib/course/dto.js.map +1 -0
  37. package/lib/course/index.d.ts +1 -0
  38. package/lib/course/index.js +1 -0
  39. package/lib/course/index.js.map +1 -1
  40. package/lib/device/device.agent.d.ts +1 -2
  41. package/lib/device/device.model.d.ts +2 -5
  42. package/lib/device/device.model.js +4 -19
  43. package/lib/device/device.model.js.map +1 -1
  44. package/lib/device/index.d.ts +0 -1
  45. package/lib/device/index.js +0 -1
  46. package/lib/device/index.js.map +1 -1
  47. package/lib/enums/date.d.ts +9 -0
  48. package/lib/enums/date.js +14 -0
  49. package/lib/enums/date.js.map +1 -0
  50. package/lib/enums/finance.d.ts +22 -0
  51. package/lib/enums/finance.js +31 -0
  52. package/lib/enums/finance.js.map +1 -0
  53. package/lib/enums/index.d.ts +1 -0
  54. package/lib/enums/index.js +14 -0
  55. package/lib/enums/index.js.map +1 -0
  56. package/lib/enums/language.d.ts +6 -0
  57. package/lib/enums/language.js +11 -0
  58. package/lib/enums/language.js.map +1 -0
  59. package/lib/enums/notification.d.ts +11 -0
  60. package/lib/enums/notification.js +17 -0
  61. package/lib/enums/notification.js.map +1 -0
  62. package/lib/enums/plan.d.ts +9 -0
  63. package/lib/enums/plan.js +15 -0
  64. package/lib/enums/plan.js.map +1 -0
  65. package/lib/enums/role.d.ts +6 -0
  66. package/lib/enums/role.js +11 -0
  67. package/lib/enums/role.js.map +1 -0
  68. package/lib/enums/score.d.ts +12 -0
  69. package/lib/enums/score.js +18 -0
  70. package/lib/enums/score.js.map +1 -0
  71. package/lib/enums/training.d.ts +19 -0
  72. package/lib/enums/training.js +27 -0
  73. package/lib/enums/training.js.map +1 -0
  74. package/lib/geo/address.dto.d.ts +0 -4
  75. package/lib/geo/address.dto.js +1 -23
  76. package/lib/geo/address.dto.js.map +1 -1
  77. package/lib/language/language.enum.d.ts +4 -4
  78. package/lib/language/language.enum.js +4 -4
  79. package/lib/support/index.d.ts +1 -0
  80. package/lib/support/index.js +18 -0
  81. package/lib/support/index.js.map +1 -0
  82. package/lib/support/request.dto.d.ts +5 -0
  83. package/lib/{device/device.signature.js → support/request.dto.js} +17 -10
  84. package/lib/support/request.dto.js.map +1 -0
  85. package/lib/tsconfig.tsbuildinfo +1 -1
  86. package/lib/user/notification/index.d.ts +3 -0
  87. package/lib/user/notification/index.js +20 -0
  88. package/lib/user/notification/index.js.map +1 -0
  89. package/lib/user/notification/notification-preference.model.d.ts +5 -0
  90. package/lib/user/notification/notification-preference.model.js +31 -0
  91. package/lib/user/notification/notification-preference.model.js.map +1 -0
  92. package/lib/user/notification/notification.enum.d.ts +11 -0
  93. package/lib/user/notification/notification.enum.js +17 -0
  94. package/lib/user/notification/notification.enum.js.map +1 -0
  95. package/lib/user/notification/notification.model.d.ts +10 -0
  96. package/lib/user/notification/notification.model.js +53 -0
  97. package/lib/user/notification/notification.model.js.map +1 -0
  98. package/package.json +1 -1
  99. package/lib/device/device.signature.d.ts +0 -4
  100. package/lib/device/device.signature.js.map +0 -1
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./appointment.model"), exports);
18
18
  __exportStar(require("./course.model"), exports);
19
19
  __exportStar(require("./definition.model"), exports);
20
+ __exportStar(require("./dto"), exports);
20
21
  __exportStar(require("./part.model"), exports);
21
22
  __exportStar(require("./types"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/course/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/course/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,wCAAsB;AACtB,+CAA6B;AAC7B,0CAAwB"}
@@ -1,8 +1,7 @@
1
1
  export interface IDeviceAgent {
2
- guid: string;
3
2
  origin: string;
3
+ address: string;
4
4
  model: string;
5
- name: string;
6
5
  brand: string;
7
6
  os: string;
8
7
  osVersion: string;
@@ -1,11 +1,8 @@
1
1
  export declare class Device {
2
2
  id: number;
3
- guid: string;
4
- model: string;
3
+ type: string;
5
4
  name: string;
6
- brand: string;
7
- os: string;
8
- language: string;
5
+ biometricKey: string;
9
6
  description: string;
10
7
  constructor(props?: Partial<Device>);
11
8
  }
@@ -13,12 +13,9 @@ exports.Device = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  class Device {
15
15
  id;
16
- guid;
17
- model;
16
+ type;
18
17
  name;
19
- brand;
20
- os;
21
- language;
18
+ biometricKey;
22
19
  description;
23
20
  constructor(props) {
24
21
  Object.assign(this, props);
@@ -33,11 +30,7 @@ __decorate([
33
30
  __decorate([
34
31
  (0, class_transformer_1.Expose)(),
35
32
  __metadata("design:type", String)
36
- ], Device.prototype, "guid", void 0);
37
- __decorate([
38
- (0, class_transformer_1.Expose)(),
39
- __metadata("design:type", String)
40
- ], Device.prototype, "model", void 0);
33
+ ], Device.prototype, "type", void 0);
41
34
  __decorate([
42
35
  (0, class_transformer_1.Expose)(),
43
36
  __metadata("design:type", String)
@@ -45,15 +38,7 @@ __decorate([
45
38
  __decorate([
46
39
  (0, class_transformer_1.Expose)(),
47
40
  __metadata("design:type", String)
48
- ], Device.prototype, "brand", void 0);
49
- __decorate([
50
- (0, class_transformer_1.Expose)(),
51
- __metadata("design:type", String)
52
- ], Device.prototype, "os", void 0);
53
- __decorate([
54
- (0, class_transformer_1.Expose)(),
55
- __metadata("design:type", String)
56
- ], Device.prototype, "language", void 0);
41
+ ], Device.prototype, "biometricKey", void 0);
57
42
  __decorate([
58
43
  (0, class_transformer_1.Expose)(),
59
44
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"device.model.js","sourceRoot":"","sources":["../../src/device/device.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,EAAE,CAAS;IAGX,QAAQ,CAAS;IAGjB,WAAW,CAAS;IAEpB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,wBA8BC;AA1BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;qCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;qCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;kCACE;AAGX;IADC,IAAA,0BAAM,GAAE;;wCACQ;AAGjB;IADC,IAAA,0BAAM,GAAE;;2CACW"}
1
+ {"version":3,"file":"device.model.js","sourceRoot":"","sources":["../../src/device/device.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,YAAY,CAAS;IAGrB,WAAW,CAAS;IAEpB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArBD,wBAqBC;AAjBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;4CACY;AAGrB;IADC,IAAA,0BAAM,GAAE;;2CACW"}
@@ -1,3 +1,2 @@
1
1
  export * from './device.agent';
2
2
  export * from './device.model';
3
- export * from './device.signature';
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./device.agent"), exports);
18
18
  __exportStar(require("./device.model"), exports);
19
- __exportStar(require("./device.signature"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/device/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B;AAC/B,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/device/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B"}
@@ -0,0 +1,9 @@
1
+ export declare enum WeekDay {
2
+ Monday = "MONDAY",
3
+ Tuesday = "TUESDAY",
4
+ Wednesday = "WEDNESDAY",
5
+ Thursday = "THURSDAY",
6
+ Friday = "FRIDAY",
7
+ Saturday = "SATURDAY",
8
+ Sunday = "SUNDAY"
9
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WeekDay = void 0;
4
+ var WeekDay;
5
+ (function (WeekDay) {
6
+ WeekDay["Monday"] = "MONDAY";
7
+ WeekDay["Tuesday"] = "TUESDAY";
8
+ WeekDay["Wednesday"] = "WEDNESDAY";
9
+ WeekDay["Thursday"] = "THURSDAY";
10
+ WeekDay["Friday"] = "FRIDAY";
11
+ WeekDay["Saturday"] = "SATURDAY";
12
+ WeekDay["Sunday"] = "SUNDAY";
13
+ })(WeekDay || (exports.WeekDay = WeekDay = {}));
14
+ //# sourceMappingURL=date.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.js","sourceRoot":"","sources":["../../src/enums/date.ts"],"names":[],"mappings":";;;AACA,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"}
@@ -0,0 +1,22 @@
1
+ export declare enum PaymentType {
2
+ Cash = "CASH",
3
+ Transaction = "TRANSACTION",
4
+ Invoice = "INVOICE"
5
+ }
6
+ export declare enum InvoiceStatus {
7
+ Pending = "PENDING",
8
+ Sent = "SENT",
9
+ Paid = "PAID"
10
+ }
11
+ export declare enum ExpenseStatus {
12
+ Pending = "PENDING",
13
+ Approved = "APPROVED",
14
+ Rejected = "REJECTED"
15
+ }
16
+ export declare enum AgentPayoutStatus {
17
+ Pending = "PENDING",
18
+ Paid = "PAID"
19
+ }
20
+ export declare enum PaymentProviderType {
21
+ Stripe = "STRIPE"
22
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentProviderType = exports.AgentPayoutStatus = exports.ExpenseStatus = exports.InvoiceStatus = exports.PaymentType = void 0;
4
+ var PaymentType;
5
+ (function (PaymentType) {
6
+ PaymentType["Cash"] = "CASH";
7
+ PaymentType["Transaction"] = "TRANSACTION";
8
+ PaymentType["Invoice"] = "INVOICE";
9
+ })(PaymentType = exports.PaymentType || (exports.PaymentType = {}));
10
+ var InvoiceStatus;
11
+ (function (InvoiceStatus) {
12
+ InvoiceStatus["Pending"] = "PENDING";
13
+ InvoiceStatus["Sent"] = "SENT";
14
+ InvoiceStatus["Paid"] = "PAID";
15
+ })(InvoiceStatus = exports.InvoiceStatus || (exports.InvoiceStatus = {}));
16
+ var ExpenseStatus;
17
+ (function (ExpenseStatus) {
18
+ ExpenseStatus["Pending"] = "PENDING";
19
+ ExpenseStatus["Approved"] = "APPROVED";
20
+ ExpenseStatus["Rejected"] = "REJECTED";
21
+ })(ExpenseStatus = exports.ExpenseStatus || (exports.ExpenseStatus = {}));
22
+ var AgentPayoutStatus;
23
+ (function (AgentPayoutStatus) {
24
+ AgentPayoutStatus["Pending"] = "PENDING";
25
+ AgentPayoutStatus["Paid"] = "PAID";
26
+ })(AgentPayoutStatus = exports.AgentPayoutStatus || (exports.AgentPayoutStatus = {}));
27
+ var PaymentProviderType;
28
+ (function (PaymentProviderType) {
29
+ PaymentProviderType["Stripe"] = "STRIPE";
30
+ })(PaymentProviderType = exports.PaymentProviderType || (exports.PaymentProviderType = {}));
31
+ //# sourceMappingURL=finance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finance.js","sourceRoot":"","sources":["../../src/enums/finance.ts"],"names":[],"mappings":";;;AACA,IAAY,WAIX;AAJD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;AACpB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,8BAAa,CAAA;AACd,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;AACtB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,wCAAmB,CAAA;IACnB,kCAAa,CAAA;AACd,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;AAClB,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
@@ -0,0 +1 @@
1
+ export * from './training';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./training"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,6 @@
1
+ export declare enum Language {
2
+ En = "EN",
3
+ De = "DE",
4
+ Fr = "FR",
5
+ It = "IT"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Language = void 0;
4
+ var Language;
5
+ (function (Language) {
6
+ Language["En"] = "EN";
7
+ Language["De"] = "DE";
8
+ Language["Fr"] = "FR";
9
+ Language["It"] = "IT";
10
+ })(Language = exports.Language || (exports.Language = {}));
11
+ //# sourceMappingURL=language.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"language.js","sourceRoot":"","sources":["../../src/enums/language.ts"],"names":[],"mappings":";;;AACA,IAAY,QAKX;AALD,WAAY,QAAQ;IACnB,qBAAS,CAAA;IACT,qBAAS,CAAA;IACT,qBAAS,CAAA;IACT,qBAAS,CAAA;AACV,CAAC,EALW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAKnB"}
@@ -0,0 +1,11 @@
1
+ export declare enum NotificationType {
2
+ Payment = "PAYMENT",
3
+ Session = "SESSION",
4
+ Exam = "EXAM"
5
+ }
6
+ export declare enum NotificationContext {
7
+ Info = "INFO",
8
+ Error = "ERROR",
9
+ Warning = "WARNING",
10
+ Success = "SUCCESS"
11
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationContext = exports.NotificationType = void 0;
4
+ var NotificationType;
5
+ (function (NotificationType) {
6
+ NotificationType["Payment"] = "PAYMENT";
7
+ NotificationType["Session"] = "SESSION";
8
+ NotificationType["Exam"] = "EXAM";
9
+ })(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
10
+ var NotificationContext;
11
+ (function (NotificationContext) {
12
+ NotificationContext["Info"] = "INFO";
13
+ NotificationContext["Error"] = "ERROR";
14
+ NotificationContext["Warning"] = "WARNING";
15
+ NotificationContext["Success"] = "SUCCESS";
16
+ })(NotificationContext = exports.NotificationContext || (exports.NotificationContext = {}));
17
+ //# sourceMappingURL=notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/enums/notification.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACpB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
@@ -0,0 +1,9 @@
1
+ export declare enum PricePlanPeriod {
2
+ Monthly = "MONTHLY",
3
+ Yearly = "YEARLY"
4
+ }
5
+ export declare enum PricePlanModel {
6
+ Growth = "GROWTH",
7
+ Business = "BUSINESS",
8
+ Premium = "PREMIUM"
9
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PricePlanModel = exports.PricePlanPeriod = void 0;
4
+ var PricePlanPeriod;
5
+ (function (PricePlanPeriod) {
6
+ PricePlanPeriod["Monthly"] = "MONTHLY";
7
+ PricePlanPeriod["Yearly"] = "YEARLY";
8
+ })(PricePlanPeriod = exports.PricePlanPeriod || (exports.PricePlanPeriod = {}));
9
+ var PricePlanModel;
10
+ (function (PricePlanModel) {
11
+ PricePlanModel["Growth"] = "GROWTH";
12
+ PricePlanModel["Business"] = "BUSINESS";
13
+ PricePlanModel["Premium"] = "PREMIUM";
14
+ })(PricePlanModel = exports.PricePlanModel || (exports.PricePlanModel = {}));
15
+ //# sourceMappingURL=plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan.js","sourceRoot":"","sources":["../../src/enums/plan.ts"],"names":[],"mappings":";;;AACA,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
@@ -0,0 +1,6 @@
1
+ export declare enum Role {
2
+ CompanyOwner = "company.owner",
3
+ CompanyManager = "company.manager",
4
+ Instructor = "instructor",
5
+ Student = "student"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Role = void 0;
4
+ var Role;
5
+ (function (Role) {
6
+ Role["CompanyOwner"] = "company.owner";
7
+ Role["CompanyManager"] = "company.manager";
8
+ Role["Instructor"] = "instructor";
9
+ Role["Student"] = "student";
10
+ })(Role || (exports.Role = Role = {}));
11
+ //# sourceMappingURL=role.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.js","sourceRoot":"","sources":["../../src/enums/role.ts"],"names":[],"mappings":";;;AACA,IAAY,IAKX;AALD,WAAY,IAAI;IACf,sCAA8B,CAAA;IAC9B,0CAAkC,CAAA;IAClC,iCAAyB,CAAA;IACzB,2BAAmB,CAAA;AACpB,CAAC,EALW,IAAI,oBAAJ,IAAI,QAKf"}
@@ -0,0 +1,12 @@
1
+ export declare enum DrivingSkillScore {
2
+ Poor = 1,
3
+ Weak = 2,
4
+ Fair = 3,
5
+ Great = 4,
6
+ Excellent = 5
7
+ }
8
+ export declare enum DrivingTopicStatus {
9
+ Planned = "PLANNED",
10
+ InProgress = "INPROGRESS",
11
+ Completed = "COMPLETED"
12
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DrivingTopicStatus = exports.DrivingSkillScore = void 0;
4
+ var DrivingSkillScore;
5
+ (function (DrivingSkillScore) {
6
+ DrivingSkillScore[DrivingSkillScore["Poor"] = 1] = "Poor";
7
+ DrivingSkillScore[DrivingSkillScore["Weak"] = 2] = "Weak";
8
+ DrivingSkillScore[DrivingSkillScore["Fair"] = 3] = "Fair";
9
+ DrivingSkillScore[DrivingSkillScore["Great"] = 4] = "Great";
10
+ DrivingSkillScore[DrivingSkillScore["Excellent"] = 5] = "Excellent";
11
+ })(DrivingSkillScore = exports.DrivingSkillScore || (exports.DrivingSkillScore = {}));
12
+ var DrivingTopicStatus;
13
+ (function (DrivingTopicStatus) {
14
+ DrivingTopicStatus["Planned"] = "PLANNED";
15
+ DrivingTopicStatus["InProgress"] = "INPROGRESS";
16
+ DrivingTopicStatus["Completed"] = "COMPLETED";
17
+ })(DrivingTopicStatus = exports.DrivingTopicStatus || (exports.DrivingTopicStatus = {}));
18
+ //# sourceMappingURL=score.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"score.js","sourceRoot":"","sources":["../../src/enums/score.ts"],"names":[],"mappings":";;;AACA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC5B,yDAAQ,CAAA;IACR,yDAAQ,CAAA;IACR,yDAAQ,CAAA;IACR,2DAAS,CAAA;IACT,mEAAa,CAAA;AACd,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;AACxB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
@@ -0,0 +1,19 @@
1
+ export declare enum DrivingExamStatus {
2
+ Undecided = "UNDECIDED",
3
+ Passed = "PASSED",
4
+ Failed = "FAILED"
5
+ }
6
+ export declare enum DrivingAppointmentType {
7
+ Lesson = "LESSON",
8
+ Exam = "EXAM"
9
+ }
10
+ export declare enum CarTransmission {
11
+ Automatic = "AUTOMATIC",
12
+ Manual = "MANUAL"
13
+ }
14
+ export declare enum TrainingRequestStatus {
15
+ Pending = "PENDING",
16
+ Accepted = "ACCEPTED",
17
+ Rejected = "REJECTED",
18
+ Canceled = "CANCELED"
19
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TrainingRequestStatus = exports.CarTransmission = exports.DrivingAppointmentType = exports.DrivingExamStatus = void 0;
4
+ var DrivingExamStatus;
5
+ (function (DrivingExamStatus) {
6
+ DrivingExamStatus["Undecided"] = "UNDECIDED";
7
+ DrivingExamStatus["Passed"] = "PASSED";
8
+ DrivingExamStatus["Failed"] = "FAILED";
9
+ })(DrivingExamStatus = exports.DrivingExamStatus || (exports.DrivingExamStatus = {}));
10
+ var DrivingAppointmentType;
11
+ (function (DrivingAppointmentType) {
12
+ DrivingAppointmentType["Lesson"] = "LESSON";
13
+ DrivingAppointmentType["Exam"] = "EXAM";
14
+ })(DrivingAppointmentType = exports.DrivingAppointmentType || (exports.DrivingAppointmentType = {}));
15
+ var CarTransmission;
16
+ (function (CarTransmission) {
17
+ CarTransmission["Automatic"] = "AUTOMATIC";
18
+ CarTransmission["Manual"] = "MANUAL";
19
+ })(CarTransmission = exports.CarTransmission || (exports.CarTransmission = {}));
20
+ var TrainingRequestStatus;
21
+ (function (TrainingRequestStatus) {
22
+ TrainingRequestStatus["Pending"] = "PENDING";
23
+ TrainingRequestStatus["Accepted"] = "ACCEPTED";
24
+ TrainingRequestStatus["Rejected"] = "REJECTED";
25
+ TrainingRequestStatus["Canceled"] = "CANCELED";
26
+ })(TrainingRequestStatus = exports.TrainingRequestStatus || (exports.TrainingRequestStatus = {}));
27
+ //# sourceMappingURL=training.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/enums/training.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,uCAAa,CAAA;AACd,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
@@ -2,10 +2,6 @@ import { Coordinate } from "./coordinate.model";
2
2
  export declare class AddressDto {
3
3
  address: string;
4
4
  }
5
- export declare class AddressLocationDto {
6
- latitude: number;
7
- longitude: number;
8
- }
9
5
  export declare class FullAddressDto {
10
6
  address: string;
11
7
  zipCode: string;
@@ -9,10 +9,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FullAddressDto = exports.AddressLocationDto = exports.AddressDto = void 0;
12
+ exports.FullAddressDto = exports.AddressDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const class_validator_1 = require("class-validator");
15
- const validators_1 = require("../validators");
16
15
  const coordinate_model_1 = require("./coordinate.model");
17
16
  class AddressDto {
18
17
  address;
@@ -24,27 +23,6 @@ __decorate([
24
23
  (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
25
24
  __metadata("design:type", String)
26
25
  ], AddressDto.prototype, "address", void 0);
27
- class AddressLocationDto {
28
- latitude;
29
- longitude;
30
- }
31
- exports.AddressLocationDto = AddressLocationDto;
32
- __decorate([
33
- (0, validators_1.MutuallyRequired)('longitude'),
34
- (0, class_validator_1.IsOptional)(),
35
- (0, class_validator_1.IsNumber)(),
36
- (0, class_validator_1.Min)(-90),
37
- (0, class_validator_1.Max)(90),
38
- __metadata("design:type", Number)
39
- ], AddressLocationDto.prototype, "latitude", void 0);
40
- __decorate([
41
- (0, validators_1.MutuallyRequired)('latitude'),
42
- (0, class_validator_1.IsOptional)(),
43
- (0, class_validator_1.IsNumber)(),
44
- (0, class_validator_1.Min)(-180),
45
- (0, class_validator_1.Max)(180),
46
- __metadata("design:type", Number)
47
- ], AddressLocationDto.prototype, "longitude", void 0);
48
26
  class FullAddressDto {
49
27
  address;
50
28
  zipCode;
@@ -1 +1 @@
1
- {"version":3,"file":"address.dto.js","sourceRoot":"","sources":["../../src/geo/address.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAqG;AACrG,8CAAiD;AACjD,yDAAgD;AAKhD,MAAa,UAAU;IAItB,OAAO,CAAS;CAChB;AALD,gCAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;2CACxB;AAGjB,MAAa,kBAAkB;IAO9B,QAAQ,CAAS;IAOjB,SAAS,CAAS;CAClB;AAfD,gDAeC;AARA;IALC,IAAA,6BAAgB,EAAC,WAAW,CAAC;IAC7B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE,CAAC;IACR,IAAA,qBAAG,EAAC,EAAE,CAAC;;oDACS;AAOjB;IALC,IAAA,6BAAgB,EAAC,UAAU,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,GAAG,CAAC;IACT,IAAA,qBAAG,EAAC,GAAG,CAAC;;qDACS;AAGnB,MAAa,cAAc;IAK1B,OAAO,CAAS;IAKhB,OAAO,CAAS;IAKhB,KAAK,CAAa;CAClB;AAhBD,wCAgBC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;+CACxB;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;+CACxB;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,gCAAc,GAAE;8BACV,6BAAU;6CAAC"}
1
+ {"version":3,"file":"address.dto.js","sourceRoot":"","sources":["../../src/geo/address.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAqG;AAErG,yDAAgD;AAKhD,MAAa,UAAU;IAItB,OAAO,CAAS;CAChB;AALD,gCAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;2CACxB;AAGjB,MAAa,cAAc;IAK1B,OAAO,CAAS;IAKhB,OAAO,CAAS;IAKhB,KAAK,CAAa;CAClB;AAhBD,wCAgBC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;+CACxB;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;+CACxB;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,gCAAc,GAAE;8BACV,6BAAU;6CAAC"}
@@ -1,6 +1,6 @@
1
1
  export declare enum Language {
2
- En = "en",
3
- De = "de",
4
- Fr = "fr",
5
- It = "it"
2
+ En = "EN",
3
+ De = "DE",
4
+ Fr = "FR",
5
+ It = "IT"
6
6
  }
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Language = void 0;
4
4
  var Language;
5
5
  (function (Language) {
6
- Language["En"] = "en";
7
- Language["De"] = "de";
8
- Language["Fr"] = "fr";
9
- Language["It"] = "it";
6
+ Language["En"] = "EN";
7
+ Language["De"] = "DE";
8
+ Language["Fr"] = "FR";
9
+ Language["It"] = "IT";
10
10
  })(Language || (exports.Language = Language = {}));
11
11
  //# sourceMappingURL=language.enum.js.map
@@ -0,0 +1 @@
1
+ export * from './request.dto';
@@ -0,0 +1,18 @@
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("./request.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/support/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
@@ -0,0 +1,5 @@
1
+ export declare class SupportRequestSubmitDto {
2
+ userId: number;
3
+ name: string;
4
+ description: string;
5
+ }
@@ -9,24 +9,31 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.DeviceSignatureDto = void 0;
12
+ exports.SupportRequestSubmitDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const class_validator_1 = require("class-validator");
15
- class DeviceSignatureDto {
16
- guid;
17
- signature;
15
+ class SupportRequestSubmitDto {
16
+ userId;
17
+ name;
18
+ description;
18
19
  }
19
- exports.DeviceSignatureDto = DeviceSignatureDto;
20
+ exports.SupportRequestSubmitDto = SupportRequestSubmitDto;
20
21
  __decorate([
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_validator_1.IsNumber)(),
24
+ (0, class_validator_1.Min)(1),
25
+ __metadata("design:type", Number)
26
+ ], SupportRequestSubmitDto.prototype, "userId", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNotEmpty)(),
21
29
  (0, class_validator_1.IsString)(),
22
30
  (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
23
- (0, class_validator_1.IsNotEmpty)(),
24
31
  __metadata("design:type", String)
25
- ], DeviceSignatureDto.prototype, "guid", void 0);
32
+ ], SupportRequestSubmitDto.prototype, "name", void 0);
26
33
  __decorate([
34
+ (0, class_validator_1.IsNotEmpty)(),
27
35
  (0, class_validator_1.IsString)(),
28
36
  (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
29
- (0, class_validator_1.IsNotEmpty)(),
30
37
  __metadata("design:type", String)
31
- ], DeviceSignatureDto.prototype, "signature", void 0);
32
- //# sourceMappingURL=device.signature.js.map
38
+ ], SupportRequestSubmitDto.prototype, "description", void 0);
39
+ //# sourceMappingURL=request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.dto.js","sourceRoot":"","sources":["../../src/support/request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAkF;AAElF,MAAa,uBAAuB;IAKnC,MAAM,CAAS;IAKf,IAAI,CAAS;IAKb,WAAW,CAAS;CACpB;AAhBD,0DAgBC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;uDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;4DAClB"}