@uniorganization/uni-lib 1.1.86 → 1.1.88
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/dist/config/db.config.d.ts +4 -4
- package/dist/config/db.config.js +28 -28
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.js +15 -15
- package/dist/config/shared-db.config.d.ts +4 -4
- package/dist/config/shared-db.config.js +28 -28
- package/dist/config/swagger.config.d.ts +1 -1
- package/dist/config/swagger.config.js +14 -14
- package/dist/entities/active-loads.entity.d.ts +20 -20
- package/dist/entities/active-loads.entity.js +92 -92
- package/dist/entities/applications.entity.d.ts +9 -9
- package/dist/entities/applications.entity.js +41 -41
- package/dist/entities/apps-user-id.entity.d.ts +20 -20
- package/dist/entities/apps-user-id.entity.js +91 -91
- package/dist/entities/audit.entity.d.ts +19 -19
- package/dist/entities/audit.entity.js +61 -61
- package/dist/entities/autofail-reasons.entity.d.ts +4 -4
- package/dist/entities/autofail-reasons.entity.js +27 -27
- package/dist/entities/blacklist.entity.d.ts +9 -9
- package/dist/entities/blacklist.entity.js +43 -43
- package/dist/entities/call-driver-data.entity.d.ts +25 -25
- package/dist/entities/call-driver-data.entity.js +105 -105
- package/dist/entities/call-drivers.entity.d.ts +19 -19
- package/dist/entities/call-drivers.entity.js +79 -79
- package/dist/entities/cb-completed-reasons.entity.d.ts +5 -5
- package/dist/entities/cb-completed-reasons.entity.js +31 -31
- package/dist/entities/change-alert.entity.d.ts +11 -11
- package/dist/entities/change-alert.entity.js +51 -51
- package/dist/entities/claim-report.entity.d.ts +38 -38
- package/dist/entities/claim-report.entity.js +164 -163
- package/dist/entities/config.entity.d.ts +5 -5
- package/dist/entities/config.entity.js +31 -31
- package/dist/entities/daily-payment-status.entity.d.ts +27 -27
- package/dist/entities/daily-payment-status.entity.js +120 -120
- package/dist/entities/depreciation-categories.entity.d.ts +6 -6
- package/dist/entities/depreciation-categories.entity.js +32 -32
- package/dist/entities/depreciation-details.entity.d.ts +9 -9
- package/dist/entities/depreciation-details.entity.js +45 -45
- package/dist/entities/detail-type.entity.d.ts +4 -4
- package/dist/entities/detail-type.entity.js +27 -27
- package/dist/entities/dispute-request.entity.d.ts +27 -27
- package/dist/entities/dispute-request.entity.js +110 -110
- package/dist/entities/enr-calculation-log.entity.d.ts +49 -49
- package/dist/entities/enr-calculation-log.entity.js +203 -203
- package/dist/entities/enr-inventory.entity.d.ts +14 -14
- package/dist/entities/enr-inventory.entity.js +67 -67
- package/dist/entities/enr-results.entity.d.ts +5 -5
- package/dist/entities/enr-results.entity.js +31 -31
- package/dist/entities/escalation-category.entity.d.ts +4 -4
- package/dist/entities/escalation-category.entity.js +27 -27
- package/dist/entities/escalation-notes.entity.d.ts +10 -10
- package/dist/entities/escalation-notes.entity.js +43 -43
- package/dist/entities/escalation-outcome.entity.d.ts +4 -4
- package/dist/entities/escalation-outcome.entity.js +27 -27
- package/dist/entities/escalation-status-log.entity.d.ts +8 -8
- package/dist/entities/escalation-status-log.entity.js +37 -37
- package/dist/entities/escalation-status.entity.d.ts +4 -4
- package/dist/entities/escalation-status.entity.js +27 -27
- package/dist/entities/escalation-type.entity.d.ts +5 -5
- package/dist/entities/escalation-type.entity.js +31 -31
- package/dist/entities/escalations.entity.d.ts +40 -40
- package/dist/entities/escalations.entity.js +167 -167
- package/dist/entities/evaluation-autofail-reasons.entity.d.ts +7 -7
- package/dist/entities/evaluation-autofail-reasons.entity.js +35 -35
- package/dist/entities/evaluation-data.entity.d.ts +8 -8
- package/dist/entities/evaluation-data.entity.js +43 -43
- package/dist/entities/evaluation-forms.entity.d.ts +20 -20
- package/dist/entities/evaluation-forms.entity.js +67 -67
- package/dist/entities/evaluation-questions.entity.d.ts +10 -10
- package/dist/entities/evaluation-questions.entity.js +47 -47
- package/dist/entities/evaluations.entity.d.ts +37 -37
- package/dist/entities/evaluations.entity.js +151 -151
- package/dist/entities/file-contents.entity.d.ts +56 -56
- package/dist/entities/file-contents.entity.js +231 -231
- package/dist/entities/file-upload.entity.d.ts +10 -10
- package/dist/entities/file-upload.entity.js +47 -47
- package/dist/entities/form-definition.entity.d.ts +9 -9
- package/dist/entities/form-definition.entity.js +43 -43
- package/dist/entities/form-fields.entity.d.ts +18 -18
- package/dist/entities/form-fields.entity.js +79 -79
- package/dist/entities/form.entity.d.ts +15 -15
- package/dist/entities/form.entity.js +68 -68
- package/dist/entities/incident-notes.entity.d.ts +10 -10
- package/dist/entities/incident-notes.entity.js +43 -43
- package/dist/entities/incident.entity.d.ts +20 -20
- package/dist/entities/incident.entity.js +82 -82
- package/dist/entities/incoterms.entity.d.ts +9 -9
- package/dist/entities/incoterms.entity.js +47 -47
- package/dist/entities/index.d.ts +75 -75
- package/dist/entities/index.js +87 -87
- package/dist/entities/inventory.entity.d.ts +11 -11
- package/dist/entities/inventory.entity.js +55 -55
- package/dist/entities/it-info.entity.d.ts +12 -12
- package/dist/entities/it-info.entity.js +59 -59
- package/dist/entities/lob-assignment.entity.d.ts +6 -6
- package/dist/entities/lob-assignment.entity.js +35 -35
- package/dist/entities/lob-call-drivers.entity.d.ts +5 -5
- package/dist/entities/lob-call-drivers.entity.js +31 -31
- package/dist/entities/location-addresses.entity.d.ts +12 -12
- package/dist/entities/location-addresses.entity.js +59 -59
- package/dist/entities/ltp-history-transactions.entity.d.ts +11 -11
- package/dist/entities/ltp-history-transactions.entity.js +53 -53
- package/dist/entities/ltp-stm-roster.entity.d.ts +11 -11
- package/dist/entities/ltp-stm-roster.entity.js +55 -55
- package/dist/entities/modules-roles.entity.d.ts +13 -13
- package/dist/entities/modules-roles.entity.js +53 -53
- package/dist/entities/offphone-activities.entity.d.ts +5 -5
- package/dist/entities/offphone-activities.entity.js +31 -31
- package/dist/entities/onsite-ordering.entity.d.ts +11 -11
- package/dist/entities/onsite-ordering.entity.js +55 -55
- package/dist/entities/ost.entity.d.ts +6 -6
- package/dist/entities/ost.entity.js +35 -35
- package/dist/entities/otwe-offers.entity.d.ts +5 -5
- package/dist/entities/otwe-offers.entity.js +31 -31
- package/dist/entities/outbound-ticket-history.entity.d.ts +13 -13
- package/dist/entities/outbound-ticket-history.entity.js +53 -53
- package/dist/entities/pending-ticket-history.entity.d.ts +9 -9
- package/dist/entities/pending-ticket-history.entity.js +47 -47
- package/dist/entities/product-codes.entity.d.ts +17 -17
- package/dist/entities/product-codes.entity.js +77 -77
- package/dist/entities/question-group.entity.d.ts +11 -11
- package/dist/entities/question-group.entity.js +50 -50
- package/dist/entities/questions.entity.d.ts +10 -10
- package/dist/entities/questions.entity.js +49 -49
- package/dist/entities/regional-service-mgr.entity.d.ts +4 -4
- package/dist/entities/regional-service-mgr.entity.js +27 -27
- package/dist/entities/role-definition.entity.d.ts +7 -7
- package/dist/entities/role-definition.entity.js +35 -35
- package/dist/entities/role-privileges.entity.d.ts +10 -10
- package/dist/entities/role-privileges.entity.js +44 -44
- package/dist/entities/roster-personnel.entity.d.ts +9 -9
- package/dist/entities/roster-personnel.entity.js +49 -49
- package/dist/entities/roster.entity.d.ts +19 -19
- package/dist/entities/roster.entity.js +80 -80
- package/dist/entities/sap-raw-data.entity.d.ts +132 -132
- package/dist/entities/sap-raw-data.entity.js +539 -539
- package/dist/entities/sap-raw.entity.d.ts +36 -36
- package/dist/entities/sap-raw.entity.js +155 -155
- package/dist/entities/service-type.entity.d.ts +4 -4
- package/dist/entities/service-type.entity.js +27 -27
- package/dist/entities/skipped-ticket.entity.d.ts +13 -13
- package/dist/entities/skipped-ticket.entity.js +63 -63
- package/dist/entities/state.entity.d.ts +8 -8
- package/dist/entities/state.entity.js +43 -43
- package/dist/entities/template.entity.d.ts +10 -10
- package/dist/entities/template.entity.js +51 -51
- package/dist/entities/ticket-queue.entity.d.ts +8 -8
- package/dist/entities/ticket-queue.entity.js +43 -43
- package/dist/entities/transactions.entity.d.ts +32 -32
- package/dist/entities/transactions.entity.js +132 -132
- package/dist/entities/user-campaign.entity.d.ts +12 -12
- package/dist/entities/user-campaign.entity.js +49 -49
- package/dist/entities/user-roles.entity.d.ts +8 -8
- package/dist/entities/user-roles.entity.js +41 -41
- package/dist/entities/user-roster.view.d.ts +41 -39
- package/dist/entities/user-roster.view.js +175 -167
- package/dist/entities/usr.entity.d.ts +26 -26
- package/dist/entities/usr.entity.js +113 -113
- package/dist/entities/vw-escalation-age.d.ts +12 -12
- package/dist/entities/vw-escalation-age.js +62 -62
- package/dist/entities/warranty-category.entity.d.ts +4 -4
- package/dist/entities/warranty-category.entity.js +27 -27
- package/dist/index.d.ts +5 -5
- package/dist/index.js +17 -17
- package/dist/middlewares/index.d.ts +1 -1
- package/dist/middlewares/index.js +13 -13
- package/dist/middlewares/version-checker.middleware.d.ts +2 -2
- package/dist/middlewares/version-checker.middleware.js +28 -28
- package/dist/modules/common/common.module.d.ts +2 -2
- package/dist/modules/common/common.module.js +28 -28
- package/dist/modules/common/constants.d.ts +2 -2
- package/dist/modules/common/constants.js +5 -5
- package/dist/modules/common/index.d.ts +8 -8
- package/dist/modules/common/index.js +20 -20
- package/dist/modules/common/jwt-auth.guard.d.ts +5 -5
- package/dist/modules/common/jwt-auth.guard.js +26 -26
- package/dist/modules/common/jwt.strategy.d.ts +9 -9
- package/dist/modules/common/jwt.strategy.js +43 -43
- package/dist/modules/common/logged-user.decorator.d.ts +1 -1
- package/dist/modules/common/logged-user.decorator.js +9 -9
- package/dist/modules/common/shared-db-connection.provider.d.ts +5 -5
- package/dist/modules/common/shared-db-connection.provider.js +38 -38
- package/dist/modules/common/shared-db-repositories.provider.d.ts +7 -7
- package/dist/modules/common/shared-db-repositories.provider.js +28 -28
- package/dist/modules/common/shared-db.module.d.ts +2 -2
- package/dist/modules/common/shared-db.module.js +21 -21
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +13 -13
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +15 -15
- package/dist/utils/object.utils.d.ts +2 -2
- package/dist/utils/object.utils.js +19 -19
- package/dist/utils/parse.util.d.ts +3 -3
- package/dist/utils/parse.util.js +32 -32
- package/dist/utils/string.utils.d.ts +5 -5
- package/dist/utils/string.utils.js +118 -118
- package/package.json +75 -75
- package/dist/entities/pending-ticket-history.entity..d.ts +0 -10
- package/dist/entities/pending-ticket-history.entity..js +0 -47
- package/dist/interceptors/audit-user-activity.interceptor.d.ts +0 -12
- package/dist/interceptors/audit-user-activity.interceptor.js +0 -57
- package/dist/interceptors/index.d.ts +0 -1
- package/dist/interceptors/index.js +0 -13
- package/dist/modules/crud/base-service.interface.d.ts +0 -7
- package/dist/modules/crud/base-service.interface.js +0 -2
- package/dist/modules/crud/base.controller.d.ts +0 -11
- package/dist/modules/crud/base.controller.js +0 -92
- package/dist/modules/crud/base.entity.d.ts +0 -3
- package/dist/modules/crud/base.entity.js +0 -20
- package/dist/modules/crud/base.service.d.ts +0 -12
- package/dist/modules/crud/base.service.js +0 -88
- package/dist/modules/crud/index.d.ts +0 -4
- package/dist/modules/crud/index.js +0 -20
- package/dist/services/audit.service.d.ts +0 -8
- package/dist/services/audit.service.js +0 -49
- package/dist/services/index.d.ts +0 -1
- package/dist/services/index.js +0 -13
|
@@ -1,43 +1,43 @@
|
|
|
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.State = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let State = class State {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], State.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)({ name: 'state' }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], State.prototype, "state", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ name: 'state_code' }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], State.prototype, "stateCode", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({ name: 'e_coupon' }),
|
|
30
|
-
__metadata("design:type", Boolean)
|
|
31
|
-
], State.prototype, "eCoupon", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)({ name: 'on_site_exchange' }),
|
|
34
|
-
__metadata("design:type", Boolean)
|
|
35
|
-
], State.prototype, "onSiteExchange", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ name: 'time_zone' }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], State.prototype, "timeZone", void 0);
|
|
40
|
-
State = __decorate([
|
|
41
|
-
(0, typeorm_1.Entity)('states', { schema: 'enr' })
|
|
42
|
-
], State);
|
|
43
|
-
exports.State = State;
|
|
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.State = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let State = class State {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], State.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'state' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], State.prototype, "state", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'state_code' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], State.prototype, "stateCode", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'e_coupon' }),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], State.prototype, "eCoupon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'on_site_exchange' }),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], State.prototype, "onSiteExchange", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'time_zone' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], State.prototype, "timeZone", void 0);
|
|
40
|
+
State = __decorate([
|
|
41
|
+
(0, typeorm_1.Entity)('states', { schema: 'enr' })
|
|
42
|
+
], State);
|
|
43
|
+
exports.State = State;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare class Templates {
|
|
2
|
-
id: number;
|
|
3
|
-
division: string;
|
|
4
|
-
lob: string;
|
|
5
|
-
transactionType: string;
|
|
6
|
-
requestType: string;
|
|
7
|
-
templateType: string;
|
|
8
|
-
templateName: string;
|
|
9
|
-
templateBody: string;
|
|
10
|
-
}
|
|
1
|
+
export declare class Templates {
|
|
2
|
+
id: number;
|
|
3
|
+
division: string;
|
|
4
|
+
lob: string;
|
|
5
|
+
transactionType: string;
|
|
6
|
+
requestType: string;
|
|
7
|
+
templateType: string;
|
|
8
|
+
templateName: string;
|
|
9
|
+
templateBody: string;
|
|
10
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
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.Templates = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let Templates = class Templates {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], Templates.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)({ name: 'division' }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], Templates.prototype, "division", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ name: 'lob' }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], Templates.prototype, "lob", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({ name: 'transaction_type' }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], Templates.prototype, "transactionType", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)({ name: 'request_type' }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], Templates.prototype, "requestType", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ name: 'template_type' }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], Templates.prototype, "templateType", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ name: 'template_name' }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], Templates.prototype, "templateName", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ name: 'template_body' }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], Templates.prototype, "templateBody", void 0);
|
|
48
|
-
Templates = __decorate([
|
|
49
|
-
(0, typeorm_1.Entity)({ name: 'templates', schema: 'tracking' })
|
|
50
|
-
], Templates);
|
|
51
|
-
exports.Templates = Templates;
|
|
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.Templates = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let Templates = class Templates {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], Templates.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'division' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Templates.prototype, "division", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'lob' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Templates.prototype, "lob", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'transaction_type' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Templates.prototype, "transactionType", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'request_type' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Templates.prototype, "requestType", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'template_type' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Templates.prototype, "templateType", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'template_name' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Templates.prototype, "templateName", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ name: 'template_body' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Templates.prototype, "templateBody", void 0);
|
|
48
|
+
Templates = __decorate([
|
|
49
|
+
(0, typeorm_1.Entity)({ name: 'templates', schema: 'tracking' })
|
|
50
|
+
], Templates);
|
|
51
|
+
exports.Templates = Templates;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare class TicketQueue {
|
|
2
|
-
id: number;
|
|
3
|
-
division: string;
|
|
4
|
-
lob: string;
|
|
5
|
-
campaign: string;
|
|
6
|
-
category: string;
|
|
7
|
-
queueKey: string;
|
|
8
|
-
}
|
|
1
|
+
export declare class TicketQueue {
|
|
2
|
+
id: number;
|
|
3
|
+
division: string;
|
|
4
|
+
lob: string;
|
|
5
|
+
campaign: string;
|
|
6
|
+
category: string;
|
|
7
|
+
queueKey: string;
|
|
8
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
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.TicketQueue = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let TicketQueue = class TicketQueue {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], TicketQueue.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], TicketQueue.prototype, "division", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], TicketQueue.prototype, "lob", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], TicketQueue.prototype, "campaign", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], TicketQueue.prototype, "category", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ name: 'queue_key' }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], TicketQueue.prototype, "queueKey", void 0);
|
|
40
|
-
TicketQueue = __decorate([
|
|
41
|
-
(0, typeorm_1.Entity)('ticket_queue', { schema: 'tracking' })
|
|
42
|
-
], TicketQueue);
|
|
43
|
-
exports.TicketQueue = TicketQueue;
|
|
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.TicketQueue = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let TicketQueue = class TicketQueue {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], TicketQueue.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], TicketQueue.prototype, "division", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], TicketQueue.prototype, "lob", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], TicketQueue.prototype, "campaign", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], TicketQueue.prototype, "category", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'queue_key' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], TicketQueue.prototype, "queueKey", void 0);
|
|
40
|
+
TicketQueue = __decorate([
|
|
41
|
+
(0, typeorm_1.Entity)('ticket_queue', { schema: 'tracking' })
|
|
42
|
+
], TicketQueue);
|
|
43
|
+
exports.TicketQueue = TicketQueue;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Timestamp } from 'typeorm';
|
|
2
|
-
import { CallDriverData } from './call-driver-data.entity';
|
|
3
|
-
import { ActiveLoad } from './active-loads.entity';
|
|
4
|
-
import { DailyPaymentStatus } from './daily-payment-status.entity';
|
|
5
|
-
export declare class Transactions {
|
|
6
|
-
id: number;
|
|
7
|
-
transactionId: string;
|
|
8
|
-
bpNumber: string;
|
|
9
|
-
productType: string;
|
|
10
|
-
placeOfPurchase: string;
|
|
11
|
-
modelNo: string;
|
|
12
|
-
modelName: string;
|
|
13
|
-
warrantyStatus: string;
|
|
14
|
-
warrantyEndDate: Timestamp;
|
|
15
|
-
serviceType: string;
|
|
16
|
-
detailType: string;
|
|
17
|
-
dateTransactionCreated: Timestamp;
|
|
18
|
-
dateCreated: Timestamp;
|
|
19
|
-
dateUpdated: Timestamp;
|
|
20
|
-
isEscalated: boolean;
|
|
21
|
-
dateEscalated: Timestamp;
|
|
22
|
-
currentAscBe: string;
|
|
23
|
-
serialNumber: string;
|
|
24
|
-
imei: string;
|
|
25
|
-
state: string;
|
|
26
|
-
customerCallback: boolean;
|
|
27
|
-
callbackSchedule: Timestamp;
|
|
28
|
-
callbackstatus: string;
|
|
29
|
-
callDrivers: CallDriverData[];
|
|
30
|
-
dailyPaymentStatus: DailyPaymentStatus[];
|
|
31
|
-
activeLoads: ActiveLoad[];
|
|
32
|
-
}
|
|
1
|
+
import { Timestamp } from 'typeorm';
|
|
2
|
+
import { CallDriverData } from './call-driver-data.entity';
|
|
3
|
+
import { ActiveLoad } from './active-loads.entity';
|
|
4
|
+
import { DailyPaymentStatus } from './daily-payment-status.entity';
|
|
5
|
+
export declare class Transactions {
|
|
6
|
+
id: number;
|
|
7
|
+
transactionId: string;
|
|
8
|
+
bpNumber: string;
|
|
9
|
+
productType: string;
|
|
10
|
+
placeOfPurchase: string;
|
|
11
|
+
modelNo: string;
|
|
12
|
+
modelName: string;
|
|
13
|
+
warrantyStatus: string;
|
|
14
|
+
warrantyEndDate: Timestamp;
|
|
15
|
+
serviceType: string;
|
|
16
|
+
detailType: string;
|
|
17
|
+
dateTransactionCreated: Timestamp;
|
|
18
|
+
dateCreated: Timestamp;
|
|
19
|
+
dateUpdated: Timestamp;
|
|
20
|
+
isEscalated: boolean;
|
|
21
|
+
dateEscalated: Timestamp;
|
|
22
|
+
currentAscBe: string;
|
|
23
|
+
serialNumber: string;
|
|
24
|
+
imei: string;
|
|
25
|
+
state: string;
|
|
26
|
+
customerCallback: boolean;
|
|
27
|
+
callbackSchedule: Timestamp;
|
|
28
|
+
callbackstatus: string;
|
|
29
|
+
callDrivers: CallDriverData[];
|
|
30
|
+
dailyPaymentStatus: DailyPaymentStatus[];
|
|
31
|
+
activeLoads: ActiveLoad[];
|
|
32
|
+
}
|
|
@@ -1,132 +1,132 @@
|
|
|
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.Transactions = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const call_driver_data_entity_1 = require("./call-driver-data.entity");
|
|
15
|
-
const active_loads_entity_1 = require("./active-loads.entity");
|
|
16
|
-
const daily_payment_status_entity_1 = require("./daily-payment-status.entity");
|
|
17
|
-
let Transactions = class Transactions {
|
|
18
|
-
};
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], Transactions.prototype, "id", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ name: 'transaction_id' }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], Transactions.prototype, "transactionId", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ name: 'bp_number' }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], Transactions.prototype, "bpNumber", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ name: 'product_type' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], Transactions.prototype, "productType", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ name: 'place_of_purchase' }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], Transactions.prototype, "placeOfPurchase", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ name: 'model_no' }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], Transactions.prototype, "modelNo", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ name: 'model_name' }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], Transactions.prototype, "modelName", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ name: 'warranty_status' }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], Transactions.prototype, "warrantyStatus", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)('timestamp', { name: 'warranty_end_date' }),
|
|
53
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
54
|
-
], Transactions.prototype, "warrantyEndDate", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ name: 'service_type' }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], Transactions.prototype, "serviceType", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ name: 'detail_type' }),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], Transactions.prototype, "detailType", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)('timestamp', { name: 'date_transaction_created' }),
|
|
65
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
66
|
-
], Transactions.prototype, "dateTransactionCreated", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)('timestamp', { name: 'date_created', default: new Date() }),
|
|
69
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
70
|
-
], Transactions.prototype, "dateCreated", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
73
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
74
|
-
], Transactions.prototype, "dateUpdated", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ name: 'is_escalated' }),
|
|
77
|
-
__metadata("design:type", Boolean)
|
|
78
|
-
], Transactions.prototype, "isEscalated", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)('timestamp', { name: 'date_escalated' }),
|
|
81
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
82
|
-
], Transactions.prototype, "dateEscalated", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.Column)({ name: 'current_asc_be' }),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], Transactions.prototype, "currentAscBe", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({ name: 'serial_number' }),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], Transactions.prototype, "serialNumber", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, typeorm_1.Column)({ name: 'imei' }),
|
|
93
|
-
__metadata("design:type", String)
|
|
94
|
-
], Transactions.prototype, "imei", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, typeorm_1.Column)({ name: 'state' }),
|
|
97
|
-
__metadata("design:type", String)
|
|
98
|
-
], Transactions.prototype, "state", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)({ name: 'customer_callback' }),
|
|
101
|
-
__metadata("design:type", Boolean)
|
|
102
|
-
], Transactions.prototype, "customerCallback", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, typeorm_1.Column)('timestamp', { name: 'callback_schedule' }),
|
|
105
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
106
|
-
], Transactions.prototype, "callbackSchedule", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, typeorm_1.Column)({ name: 'callback_status' }),
|
|
109
|
-
__metadata("design:type", String)
|
|
110
|
-
], Transactions.prototype, "callbackstatus", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.OneToMany)(() => call_driver_data_entity_1.CallDriverData, (cdd) => cdd.transaction, {
|
|
113
|
-
cascade: ['insert', 'update', 'remove'],
|
|
114
|
-
}),
|
|
115
|
-
__metadata("design:type", Array)
|
|
116
|
-
], Transactions.prototype, "callDrivers", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, typeorm_1.OneToMany)(() => daily_payment_status_entity_1.DailyPaymentStatus, (cdd) => cdd.transaction, {
|
|
119
|
-
cascade: ['insert', 'update', 'remove'],
|
|
120
|
-
}),
|
|
121
|
-
__metadata("design:type", Array)
|
|
122
|
-
], Transactions.prototype, "dailyPaymentStatus", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
(0, typeorm_1.OneToMany)(() => active_loads_entity_1.ActiveLoad, (cdd) => cdd.transaction, {
|
|
125
|
-
cascade: ['insert', 'update', 'remove'],
|
|
126
|
-
}),
|
|
127
|
-
__metadata("design:type", Array)
|
|
128
|
-
], Transactions.prototype, "activeLoads", void 0);
|
|
129
|
-
Transactions = __decorate([
|
|
130
|
-
(0, typeorm_1.Entity)('transactions', { schema: 'tracking' })
|
|
131
|
-
], Transactions);
|
|
132
|
-
exports.Transactions = Transactions;
|
|
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.Transactions = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const call_driver_data_entity_1 = require("./call-driver-data.entity");
|
|
15
|
+
const active_loads_entity_1 = require("./active-loads.entity");
|
|
16
|
+
const daily_payment_status_entity_1 = require("./daily-payment-status.entity");
|
|
17
|
+
let Transactions = class Transactions {
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], Transactions.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ name: 'transaction_id' }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Transactions.prototype, "transactionId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ name: 'bp_number' }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], Transactions.prototype, "bpNumber", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ name: 'product_type' }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], Transactions.prototype, "productType", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ name: 'place_of_purchase' }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], Transactions.prototype, "placeOfPurchase", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ name: 'model_no' }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], Transactions.prototype, "modelNo", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ name: 'model_name' }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], Transactions.prototype, "modelName", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ name: 'warranty_status' }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], Transactions.prototype, "warrantyStatus", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)('timestamp', { name: 'warranty_end_date' }),
|
|
53
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
54
|
+
], Transactions.prototype, "warrantyEndDate", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ name: 'service_type' }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], Transactions.prototype, "serviceType", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ name: 'detail_type' }),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], Transactions.prototype, "detailType", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_transaction_created' }),
|
|
65
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
66
|
+
], Transactions.prototype, "dateTransactionCreated", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_created', default: new Date() }),
|
|
69
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
70
|
+
], Transactions.prototype, "dateCreated", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
73
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
74
|
+
], Transactions.prototype, "dateUpdated", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({ name: 'is_escalated' }),
|
|
77
|
+
__metadata("design:type", Boolean)
|
|
78
|
+
], Transactions.prototype, "isEscalated", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_escalated' }),
|
|
81
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
82
|
+
], Transactions.prototype, "dateEscalated", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)({ name: 'current_asc_be' }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], Transactions.prototype, "currentAscBe", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.Column)({ name: 'serial_number' }),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], Transactions.prototype, "serialNumber", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.Column)({ name: 'imei' }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], Transactions.prototype, "imei", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.Column)({ name: 'state' }),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], Transactions.prototype, "state", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.Column)({ name: 'customer_callback' }),
|
|
101
|
+
__metadata("design:type", Boolean)
|
|
102
|
+
], Transactions.prototype, "customerCallback", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.Column)('timestamp', { name: 'callback_schedule' }),
|
|
105
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
106
|
+
], Transactions.prototype, "callbackSchedule", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.Column)({ name: 'callback_status' }),
|
|
109
|
+
__metadata("design:type", String)
|
|
110
|
+
], Transactions.prototype, "callbackstatus", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, typeorm_1.OneToMany)(() => call_driver_data_entity_1.CallDriverData, (cdd) => cdd.transaction, {
|
|
113
|
+
cascade: ['insert', 'update', 'remove'],
|
|
114
|
+
}),
|
|
115
|
+
__metadata("design:type", Array)
|
|
116
|
+
], Transactions.prototype, "callDrivers", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.OneToMany)(() => daily_payment_status_entity_1.DailyPaymentStatus, (cdd) => cdd.transaction, {
|
|
119
|
+
cascade: ['insert', 'update', 'remove'],
|
|
120
|
+
}),
|
|
121
|
+
__metadata("design:type", Array)
|
|
122
|
+
], Transactions.prototype, "dailyPaymentStatus", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, typeorm_1.OneToMany)(() => active_loads_entity_1.ActiveLoad, (cdd) => cdd.transaction, {
|
|
125
|
+
cascade: ['insert', 'update', 'remove'],
|
|
126
|
+
}),
|
|
127
|
+
__metadata("design:type", Array)
|
|
128
|
+
], Transactions.prototype, "activeLoads", void 0);
|
|
129
|
+
Transactions = __decorate([
|
|
130
|
+
(0, typeorm_1.Entity)('transactions', { schema: 'tracking' })
|
|
131
|
+
], Transactions);
|
|
132
|
+
exports.Transactions = Transactions;
|