@intelact/driveup 2.2.4 → 2.2.6

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 (215) hide show
  1. package/lib/agent/index.d.ts +4 -0
  2. package/lib/agent/index.js +21 -0
  3. package/lib/agent/index.js.map +1 -0
  4. package/lib/alert/index.d.ts +1 -0
  5. package/lib/alert/index.js +18 -0
  6. package/lib/alert/index.js.map +1 -0
  7. package/lib/auth/index.d.ts +2 -0
  8. package/lib/auth/index.js +19 -0
  9. package/lib/auth/index.js.map +1 -0
  10. package/lib/bank/account.model.d.ts +9 -0
  11. package/lib/bank/account.model.js +65 -0
  12. package/lib/bank/account.model.js.map +1 -0
  13. package/lib/bank/index.d.ts +1 -0
  14. package/lib/bank/index.js +18 -0
  15. package/lib/bank/index.js.map +1 -0
  16. package/lib/bill/index.d.ts +2 -0
  17. package/lib/bill/index.js +19 -0
  18. package/lib/bill/index.js.map +1 -0
  19. package/lib/calendar/index.d.ts +5 -0
  20. package/lib/calendar/index.js +22 -0
  21. package/lib/calendar/index.js.map +1 -0
  22. package/lib/common/identity.d.ts +27 -0
  23. package/lib/common/identity.js +3 -0
  24. package/lib/common/identity.js.map +1 -0
  25. package/lib/common/index.d.ts +13 -0
  26. package/lib/common/index.js +30 -0
  27. package/lib/common/index.js.map +1 -0
  28. package/lib/common/person.d.ts +17 -0
  29. package/lib/common/person.js +82 -0
  30. package/lib/common/person.js.map +1 -0
  31. package/lib/company/index.d.ts +3 -0
  32. package/lib/company/index.js +20 -0
  33. package/lib/company/index.js.map +1 -0
  34. package/lib/country/index.d.ts +2 -0
  35. package/lib/country/index.js +19 -0
  36. package/lib/country/index.js.map +1 -0
  37. package/lib/course/index.d.ts +5 -0
  38. package/lib/course/index.js +22 -0
  39. package/lib/course/index.js.map +1 -0
  40. package/lib/credit/index.d.ts +1 -0
  41. package/lib/credit/index.js +18 -0
  42. package/lib/credit/index.js.map +1 -0
  43. package/lib/currency/index.d.ts +2 -0
  44. package/lib/currency/index.js +19 -0
  45. package/lib/currency/index.js.map +1 -0
  46. package/lib/device/index.d.ts +3 -0
  47. package/lib/device/index.js +20 -0
  48. package/lib/device/index.js.map +1 -0
  49. package/lib/discount/discount.dto.js +2 -2
  50. package/lib/discount/discount.dto.js.map +1 -1
  51. package/lib/discount/index.d.ts +2 -0
  52. package/lib/discount/index.js +19 -0
  53. package/lib/discount/index.js.map +1 -0
  54. package/lib/driving/category/index.d.ts +2 -0
  55. package/lib/driving/category/index.js +19 -0
  56. package/lib/driving/category/index.js.map +1 -0
  57. package/lib/driving/exam/index.d.ts +2 -0
  58. package/lib/driving/exam/index.js +19 -0
  59. package/lib/driving/exam/index.js.map +1 -0
  60. package/lib/driving/index.d.ts +3 -0
  61. package/lib/driving/index.js +20 -0
  62. package/lib/driving/index.js.map +1 -0
  63. package/lib/driving/lesson/index.d.ts +5 -0
  64. package/lib/driving/lesson/index.js +22 -0
  65. package/lib/driving/lesson/index.js.map +1 -0
  66. package/lib/expense/index.d.ts +3 -0
  67. package/lib/expense/index.js +20 -0
  68. package/lib/expense/index.js.map +1 -0
  69. package/lib/feedback/feedback.model.d.ts +10 -0
  70. package/lib/feedback/feedback.model.js +66 -0
  71. package/lib/feedback/feedback.model.js.map +1 -0
  72. package/lib/feedback/index.d.ts +1 -0
  73. package/lib/feedback/index.js +18 -0
  74. package/lib/feedback/index.js.map +1 -0
  75. package/lib/finance/index.d.ts +2 -0
  76. package/lib/finance/index.js +19 -0
  77. package/lib/finance/index.js.map +1 -0
  78. package/lib/free-benefit/index.d.ts +1 -0
  79. package/lib/free-benefit/index.js +18 -0
  80. package/lib/free-benefit/index.js.map +1 -0
  81. package/lib/geo/address.model.d.ts +11 -0
  82. package/lib/geo/address.model.js +53 -0
  83. package/lib/geo/address.model.js.map +1 -0
  84. package/lib/geo/coordinate.model.d.ts +4 -0
  85. package/lib/geo/coordinate.model.js +41 -0
  86. package/lib/geo/coordinate.model.js.map +1 -0
  87. package/lib/geo/index.d.ts +3 -0
  88. package/lib/geo/index.js +20 -0
  89. package/lib/geo/index.js.map +1 -0
  90. package/lib/giftcode/index.d.ts +3 -0
  91. package/lib/giftcode/index.js +20 -0
  92. package/lib/giftcode/index.js.map +1 -0
  93. package/lib/handover/index.d.ts +2 -0
  94. package/lib/handover/index.js +19 -0
  95. package/lib/handover/index.js.map +1 -0
  96. package/lib/instructor/index.d.ts +2 -0
  97. package/lib/instructor/index.js +19 -0
  98. package/lib/instructor/index.js.map +1 -0
  99. package/lib/instructor/instructor.model.d.ts +3 -2
  100. package/lib/instructor/instructor.model.js +8 -3
  101. package/lib/instructor/instructor.model.js.map +1 -1
  102. package/lib/invoice/index.d.ts +3 -0
  103. package/lib/invoice/index.js +20 -0
  104. package/lib/invoice/index.js.map +1 -0
  105. package/lib/item/index.d.ts +1 -0
  106. package/lib/item/index.js +18 -0
  107. package/lib/item/index.js.map +1 -0
  108. package/lib/license/index.d.ts +1 -0
  109. package/lib/license/index.js +18 -0
  110. package/lib/license/index.js.map +1 -0
  111. package/lib/link/index.d.ts +1 -0
  112. package/lib/link/index.js +18 -0
  113. package/lib/link/index.js.map +1 -0
  114. package/lib/link/link.model.d.ts +55 -0
  115. package/lib/link/link.model.js +75 -0
  116. package/lib/link/link.model.js.map +1 -0
  117. package/lib/log/index.d.ts +1 -0
  118. package/lib/log/index.js +18 -0
  119. package/lib/log/index.js.map +1 -0
  120. package/lib/metric/index.d.ts +1 -0
  121. package/lib/metric/index.js +18 -0
  122. package/lib/metric/index.js.map +1 -0
  123. package/lib/note/index.d.ts +1 -0
  124. package/lib/note/index.js +18 -0
  125. package/lib/note/index.js.map +1 -0
  126. package/lib/note/note.model.d.ts +9 -0
  127. package/lib/note/note.model.js +57 -0
  128. package/lib/note/note.model.js.map +1 -0
  129. package/lib/notification/index.d.ts +3 -0
  130. package/lib/notification/index.js +20 -0
  131. package/lib/notification/index.js.map +1 -0
  132. package/lib/payment/index.d.ts +4 -0
  133. package/lib/payment/index.js +21 -0
  134. package/lib/payment/index.js.map +1 -0
  135. package/lib/payment/payment.dto.js +2 -2
  136. package/lib/payment/payment.dto.js.map +1 -1
  137. package/lib/payout/index.d.ts +1 -0
  138. package/lib/payout/index.js +18 -0
  139. package/lib/payout/index.js.map +1 -0
  140. package/lib/priceplan/index.d.ts +2 -0
  141. package/lib/priceplan/index.js +19 -0
  142. package/lib/priceplan/index.js.map +1 -0
  143. package/lib/public/contact.dto.d.ts +18 -0
  144. package/lib/public/contact.dto.js +95 -0
  145. package/lib/public/contact.dto.js.map +1 -0
  146. package/lib/public/faq.model.d.ts +6 -0
  147. package/lib/public/faq.model.js +36 -0
  148. package/lib/public/faq.model.js.map +1 -0
  149. package/lib/public/feature.model.d.ts +179 -0
  150. package/lib/public/feature.model.js +349 -0
  151. package/lib/public/feature.model.js.map +1 -0
  152. package/lib/public/index.d.ts +5 -0
  153. package/lib/public/index.js +22 -0
  154. package/lib/public/index.js.map +1 -0
  155. package/lib/public/learning.model.d.ts +21 -0
  156. package/lib/public/learning.model.js +59 -0
  157. package/lib/public/learning.model.js.map +1 -0
  158. package/lib/public/testimonials.mapper.d.ts +23 -0
  159. package/lib/public/testimonials.mapper.js +60 -0
  160. package/lib/public/testimonials.mapper.js.map +1 -0
  161. package/lib/refund/index.d.ts +2 -0
  162. package/lib/refund/index.js +19 -0
  163. package/lib/refund/index.js.map +1 -0
  164. package/lib/refund/refund.dto.js +2 -2
  165. package/lib/refund/refund.dto.js.map +1 -1
  166. package/lib/security/index.d.ts +2 -0
  167. package/lib/security/index.js +19 -0
  168. package/lib/security/index.js.map +1 -0
  169. package/lib/session/driving/index.d.ts +4 -0
  170. package/lib/session/driving/index.js +21 -0
  171. package/lib/session/driving/index.js.map +1 -0
  172. package/lib/session/index.d.ts +1 -0
  173. package/lib/session/index.js +18 -0
  174. package/lib/session/index.js.map +1 -0
  175. package/lib/setting/index.d.ts +2 -0
  176. package/lib/setting/index.js +19 -0
  177. package/lib/setting/index.js.map +1 -0
  178. package/lib/signature/index.d.ts +1 -0
  179. package/lib/signature/index.js +18 -0
  180. package/lib/signature/index.js.map +1 -0
  181. package/lib/signature/signature.model.d.ts +1 -0
  182. package/lib/signature/signature.model.js +5 -0
  183. package/lib/signature/signature.model.js.map +1 -1
  184. package/lib/student/index.d.ts +2 -0
  185. package/lib/student/index.js +19 -0
  186. package/lib/student/index.js.map +1 -0
  187. package/lib/student/student.model.d.ts +2 -1
  188. package/lib/student/student.model.js +7 -2
  189. package/lib/student/student.model.js.map +1 -1
  190. package/lib/task/index.d.ts +2 -0
  191. package/lib/task/index.js +19 -0
  192. package/lib/task/index.js.map +1 -0
  193. package/lib/ticket/index.d.ts +2 -0
  194. package/lib/ticket/index.js +19 -0
  195. package/lib/ticket/index.js.map +1 -0
  196. package/lib/training/course.model.d.ts +8 -0
  197. package/lib/training/course.model.js +36 -0
  198. package/lib/training/course.model.js.map +1 -0
  199. package/lib/training/driving.model.d.ts +17 -0
  200. package/lib/training/driving.model.js +73 -0
  201. package/lib/training/driving.model.js.map +1 -0
  202. package/lib/training/index.d.ts +6 -0
  203. package/lib/training/index.js +23 -0
  204. package/lib/training/index.js.map +1 -0
  205. package/lib/tsconfig.tsbuildinfo +1 -1
  206. package/lib/user/index.d.ts +3 -0
  207. package/lib/user/index.js +20 -0
  208. package/lib/user/index.js.map +1 -0
  209. package/lib/user/user.model.d.ts +5 -4
  210. package/lib/user/user.model.js +10 -5
  211. package/lib/user/user.model.js.map +1 -1
  212. package/lib/utils/index.d.ts +6 -0
  213. package/lib/utils/index.js +23 -0
  214. package/lib/utils/index.js.map +1 -0
  215. package/package.json +2 -2
@@ -0,0 +1,22 @@
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("./contact.dto"), exports);
18
+ __exportStar(require("./faq.model"), exports);
19
+ __exportStar(require("./feature.model"), exports);
20
+ __exportStar(require("./learning.model"), exports);
21
+ __exportStar(require("./testimonials.mapper"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/public/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC"}
@@ -0,0 +1,21 @@
1
+ export declare class PublicLearningHubItem {
2
+ /**
3
+ * Learning item title
4
+ */
5
+ title: string;
6
+ /**
7
+ * Learning item description
8
+ */
9
+ description: string;
10
+ /** The type of the property will be change to ProfileType after migration branch merge */
11
+ profile: string;
12
+ /**
13
+ * Sort order
14
+ */
15
+ sort: number;
16
+ /**
17
+ * Media URL (image, video, pdf, etc)
18
+ */
19
+ media: string;
20
+ constructor(props?: Partial<PublicLearningHubItem>);
21
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.PublicLearningHubItem = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class PublicLearningHubItem {
15
+ /**
16
+ * Learning item title
17
+ */
18
+ title;
19
+ /**
20
+ * Learning item description
21
+ */
22
+ description;
23
+ /** The type of the property will be change to ProfileType after migration branch merge */
24
+ profile;
25
+ /**
26
+ * Sort order
27
+ */
28
+ sort;
29
+ /**
30
+ * Media URL (image, video, pdf, etc)
31
+ */
32
+ media;
33
+ constructor(props) {
34
+ Object.assign(this, props);
35
+ }
36
+ }
37
+ exports.PublicLearningHubItem = PublicLearningHubItem;
38
+ __decorate([
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", String)
41
+ ], PublicLearningHubItem.prototype, "title", void 0);
42
+ __decorate([
43
+ (0, class_transformer_1.Expose)(),
44
+ __metadata("design:type", String)
45
+ ], PublicLearningHubItem.prototype, "description", void 0);
46
+ __decorate([
47
+ (0, class_transformer_1.Expose)(),
48
+ __metadata("design:type", String)
49
+ ], PublicLearningHubItem.prototype, "profile", void 0);
50
+ __decorate([
51
+ (0, class_transformer_1.Expose)(),
52
+ (0, class_transformer_1.Type)(() => Number),
53
+ __metadata("design:type", Number)
54
+ ], PublicLearningHubItem.prototype, "sort", void 0);
55
+ __decorate([
56
+ (0, class_transformer_1.Expose)(),
57
+ __metadata("design:type", String)
58
+ ], PublicLearningHubItem.prototype, "media", void 0);
59
+ //# sourceMappingURL=learning.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learning.model.js","sourceRoot":"","sources":["../../src/public/learning.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,qBAAqB;IACjC;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,WAAW,CAAS;IAEpB,0FAA0F;IAE1F,OAAO,CAAS;IAEhB;;OAEG;IAGH,IAAI,CAAS;IAEb;;OAEG;IAEH,KAAK,CAAS;IAEd,YAAY,KAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjCD,sDAiCC;AA5BA;IADC,IAAA,0BAAM,GAAE;;oDACK;AAMd;IADC,IAAA,0BAAM,GAAE;;0DACW;AAIpB;IADC,IAAA,0BAAM,GAAE;;sDACO;AAOhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mDACN;AAMb;IADC,IAAA,0BAAM,GAAE;;oDACK"}
@@ -0,0 +1,23 @@
1
+ export declare class PublicTestimonial {
2
+ /**
3
+ * Testimonial title
4
+ */
5
+ title: string;
6
+ /**
7
+ * User feedback
8
+ */
9
+ feedback: string;
10
+ /**
11
+ * User image/avatar
12
+ */
13
+ image: string;
14
+ /**
15
+ * User name
16
+ */
17
+ name: string;
18
+ /**
19
+ * User position/job title
20
+ */
21
+ position: string;
22
+ constructor(partial: Partial<PublicTestimonial>);
23
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.PublicTestimonial = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class PublicTestimonial {
15
+ /**
16
+ * Testimonial title
17
+ */
18
+ title;
19
+ /**
20
+ * User feedback
21
+ */
22
+ feedback;
23
+ /**
24
+ * User image/avatar
25
+ */
26
+ image;
27
+ /**
28
+ * User name
29
+ */
30
+ name;
31
+ /**
32
+ * User position/job title
33
+ */
34
+ position;
35
+ constructor(partial) {
36
+ Object.assign(this, partial);
37
+ }
38
+ }
39
+ exports.PublicTestimonial = PublicTestimonial;
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ __metadata("design:type", String)
43
+ ], PublicTestimonial.prototype, "title", void 0);
44
+ __decorate([
45
+ (0, class_transformer_1.Expose)(),
46
+ __metadata("design:type", String)
47
+ ], PublicTestimonial.prototype, "feedback", void 0);
48
+ __decorate([
49
+ (0, class_transformer_1.Expose)(),
50
+ __metadata("design:type", String)
51
+ ], PublicTestimonial.prototype, "image", void 0);
52
+ __decorate([
53
+ (0, class_transformer_1.Expose)(),
54
+ __metadata("design:type", String)
55
+ ], PublicTestimonial.prototype, "name", void 0);
56
+ __decorate([
57
+ (0, class_transformer_1.Expose)(),
58
+ __metadata("design:type", String)
59
+ ], PublicTestimonial.prototype, "position", void 0);
60
+ //# sourceMappingURL=testimonials.mapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testimonials.mapper.js","sourceRoot":"","sources":["../../src/public/testimonials.mapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAE3C,MAAa,iBAAiB;IAC7B;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,QAAQ,CAAS;IAEjB;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,IAAI,CAAS;IAEb;;OAEG;IAEH,QAAQ,CAAS;IAEjB,YAAY,OAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9B,CAAC;CACD;AAlCD,8CAkCC;AA7BA;IADC,IAAA,0BAAM,GAAE;;gDACK;AAMd;IADC,IAAA,0BAAM,GAAE;;mDACQ;AAMjB;IADC,IAAA,0BAAM,GAAE;;gDACK;AAMd;IADC,IAAA,0BAAM,GAAE;;+CACI;AAMb;IADC,IAAA,0BAAM,GAAE;;mDACQ"}
@@ -0,0 +1,2 @@
1
+ export * from './refund.dto';
2
+ export * from './refund.model';
@@ -0,0 +1,19 @@
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("./refund.dto"), exports);
18
+ __exportStar(require("./refund.model"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/refund/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B"}
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SubmitRefundDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const transformers_helper_1 = require("../utils/transformers.helper");
14
+ const utils_1 = require("../utils");
15
15
  class SubmitRefundDto {
16
16
  amount;
17
17
  description;
@@ -25,7 +25,7 @@ __decorate([
25
25
  ], SubmitRefundDto.prototype, "amount", void 0);
26
26
  __decorate([
27
27
  (0, class_validator_1.IsOptional)(),
28
- (0, transformers_helper_1.Trim)(),
28
+ (0, utils_1.Trim)(),
29
29
  (0, class_validator_1.IsString)(),
30
30
  __metadata("design:type", String)
31
31
  ], SubmitRefundDto.prototype, "description", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"refund.dto.js","sourceRoot":"","sources":["../../src/refund/refund.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,sEAAoD;AACpD,MAAa,eAAe;IAI3B,MAAM,CAAS;IAKf,WAAW,CAAS;CACpB;AAVD,0CAUC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;+CACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;oDACS"}
1
+ {"version":3,"file":"refund.dto.js","sourceRoot":"","sources":["../../src/refund/refund.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,oCAAgC;AAEhC,MAAa,eAAe;IAI3B,MAAM,CAAS;IAKf,WAAW,CAAS;CACpB;AAVD,0CAUC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;+CACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,YAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;oDACS"}
@@ -0,0 +1,2 @@
1
+ export * from './role.dto';
2
+ export * from './token';
@@ -0,0 +1,19 @@
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("./role.dto"), exports);
18
+ __exportStar(require("./token"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1,4 @@
1
+ export * from './session.dto';
2
+ export * from './session.model';
3
+ export * from './session.skill';
4
+ export * from './session.topic';
@@ -0,0 +1,21 @@
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("./session.dto"), exports);
18
+ __exportStar(require("./session.model"), exports);
19
+ __exportStar(require("./session.skill"), exports);
20
+ __exportStar(require("./session.topic"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC"}
@@ -0,0 +1 @@
1
+ export * from './driving';
@@ -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("./driving"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
@@ -0,0 +1,2 @@
1
+ export * from './setting.dto';
2
+ export * from './setting.model';
@@ -0,0 +1,19 @@
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("./setting.dto"), exports);
18
+ __exportStar(require("./setting.model"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/setting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC"}
@@ -0,0 +1 @@
1
+ export * from './signature.model';
@@ -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("./signature.model"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/signature/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
@@ -4,6 +4,7 @@ export declare class Signature {
4
4
  description: string;
5
5
  date: Date;
6
6
  image: string;
7
+ imageUrl: string;
7
8
  /************************* methods *************************/
8
9
  constructor(props?: Partial<Signature>);
9
10
  }
@@ -17,6 +17,7 @@ class Signature {
17
17
  description;
18
18
  date;
19
19
  image;
20
+ imageUrl;
20
21
  /************************* methods *************************/
21
22
  constructor(props) {
22
23
  Object.assign(this, props);
@@ -41,4 +42,8 @@ __decorate([
41
42
  (0, class_transformer_1.Expose)(),
42
43
  __metadata("design:type", String)
43
44
  ], Signature.prototype, "image", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", String)
48
+ ], Signature.prototype, "imageUrl", void 0);
44
49
  //# sourceMappingURL=signature.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signature.model.js","sourceRoot":"","sources":["../../src/signature/signature.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,SAAS;IACrB,iEAAiE;IAIjE,EAAE,CAAS;IAGX,WAAW,CAAS;IAIpB,IAAI,CAAO;IAGX,KAAK,CAAS;IAEd,6DAA6D;IAE7D,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtBD,8BAsBC;AAjBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;8CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;uCAAC;AAGX;IADC,IAAA,0BAAM,GAAE;;wCACK"}
1
+ {"version":3,"file":"signature.model.js","sourceRoot":"","sources":["../../src/signature/signature.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,SAAS;IACrB,iEAAiE;IAIjE,EAAE,CAAS;IAGX,WAAW,CAAS;IAIpB,IAAI,CAAO;IAGX,KAAK,CAAS;IAGd,QAAQ,CAAS;IAEjB,6DAA6D;IAE7D,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,8BAyBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;8CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;uCAAC;AAGX;IADC,IAAA,0BAAM,GAAE;;wCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;2CACQ"}
@@ -0,0 +1,2 @@
1
+ export * from './student.dto';
2
+ export * from './student.model';
@@ -0,0 +1,19 @@
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("./student.dto"), exports);
18
+ __exportStar(require("./student.model"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/student/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC"}
@@ -1,11 +1,12 @@
1
1
  import { Address, StatusType } from "@driveup/shared";
2
- import { Metric } from "../metric/metric.model";
3
2
  import { Training } from "../training/training.model";
3
+ import { Metric } from "../metric/metric.model";
4
4
  export declare class Student {
5
5
  id: number;
6
6
  createdOn: Date;
7
7
  name: string;
8
8
  image: string;
9
+ imageUrl: string;
9
10
  address: Address;
10
11
  birthday: Date;
11
12
  status: StatusType;
@@ -10,15 +10,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.Student = void 0;
13
- const shared_1 = require("@driveup/shared");
14
13
  const class_transformer_1 = require("class-transformer");
15
- const metric_model_1 = require("../metric/metric.model");
14
+ const shared_1 = require("@driveup/shared");
16
15
  const training_model_1 = require("../training/training.model");
16
+ const metric_model_1 = require("../metric/metric.model");
17
17
  class Student {
18
18
  id;
19
19
  createdOn;
20
20
  name;
21
21
  image;
22
+ imageUrl;
22
23
  address;
23
24
  birthday;
24
25
  status;
@@ -54,6 +55,10 @@ __decorate([
54
55
  (0, class_transformer_1.Expose)(),
55
56
  __metadata("design:type", String)
56
57
  ], Student.prototype, "image", void 0);
58
+ __decorate([
59
+ (0, class_transformer_1.Expose)(),
60
+ __metadata("design:type", String)
61
+ ], Student.prototype, "imageUrl", void 0);
57
62
  __decorate([
58
63
  (0, class_transformer_1.Expose)(),
59
64
  (0, class_transformer_1.Type)(() => shared_1.Address),
@@ -1 +1 @@
1
- {"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAsD;AACtD,yDAAiD;AACjD,yDAAgD;AAChD,+DAAsD;AAEtD,MAAa,OAAO;IAInB,EAAE,CAAS;IAIX,SAAS,CAAO;IAGhB,IAAI,CAAS;IAGb,KAAK,CAAS;IAId,OAAO,CAAU;IAIjB,QAAQ,CAAO;IAGf,MAAM,CAAa;IAGnB,KAAK,CAAS;IAId,OAAO,CAAS;IAIhB,aAAa,CAAS;IAItB,gBAAgB,CAAa;IAI7B,UAAU,CAAS;IAInB,aAAa,CAAS;IAGtB,cAAc,CAAa;IAI3B,QAAQ,CAAU;IAIlB,OAAO,CAAW;IAElB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhED,0BAgEC;AA5DA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;0CAAC;AAGhB;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;sCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gBAAO,CAAC;8BACX,gBAAO;wCAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;yCAAC;AAGf;IADC,IAAA,0BAAM,GAAE;;uCACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;sCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACH;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACG;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAQ,CAAC;;iDACQ;AAI7B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACG;AAGtB;IADC,IAAA,0BAAM,GAAE;;+CACkB;AAI3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAM,CAAC;;wCACD"}
1
+ {"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,4CAAsD;AAEtD,+DAAsD;AACtD,yDAAgD;AAEhD,MAAa,OAAO;IAInB,EAAE,CAAS;IAIX,SAAS,CAAO;IAGhB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,QAAQ,CAAS;IAIjB,OAAO,CAAU;IAIjB,QAAQ,CAAO;IAGf,MAAM,CAAa;IAGnB,KAAK,CAAS;IAId,OAAO,CAAS;IAIhB,aAAa,CAAS;IAItB,gBAAgB,CAAa;IAI7B,UAAU,CAAS;IAInB,aAAa,CAAS;IAGtB,cAAc,CAAa;IAI3B,QAAQ,CAAU;IAIlB,OAAO,CAAW;IAElB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnED,0BAmEC;AA/DA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;0CAAC;AAGhB;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;sCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;yCACQ;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gBAAO,CAAC;8BACX,gBAAO;wCAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;yCAAC;AAGf;IADC,IAAA,0BAAM,GAAE;;uCACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;sCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACH;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACG;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAQ,CAAC;;iDACQ;AAI7B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACG;AAGtB;IADC,IAAA,0BAAM,GAAE;;+CACkB;AAI3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAM,CAAC;;wCACD"}
@@ -0,0 +1,2 @@
1
+ export * from './task.dto';
2
+ export * from './task.model';
@@ -0,0 +1,19 @@
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("./task.dto"), exports);
18
+ __exportStar(require("./task.model"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/task/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,+CAA6B"}
@@ -0,0 +1,2 @@
1
+ export * from './ticket.dto';
2
+ export * from './ticket.model';
@@ -0,0 +1,19 @@
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("./ticket.dto"), exports);
18
+ __exportStar(require("./ticket.model"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ticket/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B"}
@@ -0,0 +1,8 @@
1
+ import { Training } from "./training.model";
2
+ import { CoursePart } from "../course/part.model";
3
+ export declare class CourseTraining extends Training {
4
+ parts: CoursePart[];
5
+ price: number;
6
+ /************************* methods *************************/
7
+ constructor(props?: Partial<CourseTraining>);
8
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CourseTraining = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const training_model_1 = require("./training.model");
15
+ const part_model_1 = require("../course/part.model");
16
+ class CourseTraining extends training_model_1.Training {
17
+ parts;
18
+ price;
19
+ /************************* methods *************************/
20
+ constructor(props) {
21
+ super(props);
22
+ Object.assign(this, props);
23
+ }
24
+ }
25
+ exports.CourseTraining = CourseTraining;
26
+ __decorate([
27
+ (0, class_transformer_1.Expose)(),
28
+ (0, class_transformer_1.Type)(() => part_model_1.CoursePart),
29
+ __metadata("design:type", Array)
30
+ ], CourseTraining.prototype, "parts", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_transformer_1.Type)(() => Number),
34
+ __metadata("design:type", Number)
35
+ ], CourseTraining.prototype, "price", void 0);
36
+ //# sourceMappingURL=course.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"course.model.js","sourceRoot":"","sources":["../../src/training/course.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA4C;AAC5C,qDAAkD;AAElD,MAAa,cAAe,SAAQ,yBAAQ;IAI3C,KAAK,CAAe;IAIpB,KAAK,CAAS;IAEd,6DAA6D;IAE7D,YAAY,KAA+B;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhBD,wCAgBC;AAZA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;6CACH;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACL"}