test-entity-library-asm 3.9.34 → 3.9.36
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/entities/Category.js +2 -3
- package/dist/entities/CodeRedemptionHistoryCompany.js +2 -2
- package/dist/entities/CodeRedemptionHistoryUser.d.ts +1 -1
- package/dist/entities/CodeRedemptionHistoryUser.js +3 -3
- package/dist/entities/Company.js +2 -2
- package/dist/entities/CountryHoliday.js +1 -1
- package/dist/entities/DiscountCodeCompany.d.ts +1 -1
- package/dist/entities/DiscountCodeCompany.js +4 -4
- package/dist/entities/DiscountCodeUser.js +3 -3
- package/dist/entities/Gallery.js +1 -2
- package/dist/entities/Local.js +2 -2
- package/dist/entities/LocalPlan.js +2 -2
- package/dist/entities/LocalQualification.d.ts +1 -1
- package/dist/entities/LocalQualification.js +2 -3
- package/dist/entities/LocalReserve.js +2 -3
- package/dist/entities/LocalReserveStatus.d.ts +2 -2
- package/dist/entities/LocalReserveStatus.js +4 -4
- package/dist/entities/LocalTable.js +2 -3
- package/dist/entities/LocalTableReservePayment.js +2 -3
- package/dist/entities/LocalTableZone.js +2 -3
- package/dist/entities/Master.js +3 -3
- package/dist/entities/MasterNotification.js +1 -2
- package/dist/entities/MasterSession.js +3 -5
- package/dist/entities/Partner.js +2 -2
- package/dist/entities/PartnerNotification.js +1 -2
- package/dist/entities/PartnerSession.js +3 -5
- package/dist/entities/PaymentMethod.js +1 -2
- package/dist/entities/Plan.js +2 -2
- package/dist/entities/PosSystem.d.ts +4 -1
- package/dist/entities/PosSystem.js +30 -2
- package/dist/entities/Product.d.ts +2 -2
- package/dist/entities/Product.js +4 -5
- package/dist/entities/ReceiptConfig.js +2 -3
- package/dist/entities/Request.js +3 -4
- package/dist/entities/RequestInvoice.js +2 -3
- package/dist/entities/RequestLocal.d.ts +1 -1
- package/dist/entities/RequestLocal.js +3 -5
- package/dist/entities/RequestLocalHistory.js +2 -2
- package/dist/entities/RequestLocalPayment.js +2 -3
- package/dist/entities/RequestLocalTable.d.ts +1 -1
- package/dist/entities/RequestLocalTable.js +1 -1
- package/dist/entities/RequestPrint.js +1 -2
- package/dist/entities/ServicePlan.d.ts +1 -1
- package/dist/entities/ServicePlan.js +5 -4
- package/dist/entities/User.js +4 -4
- package/dist/entities/UserPaymentMethod.js +2 -3
- package/dist/views/DiscountsCodeUser.d.ts +2 -2
- package/dist/views/DiscountsCodeUser.js +6 -16
- package/dist/views/LocalReserves.d.ts +3 -3
- package/dist/views/LocalReserves.js +4 -14
- package/dist/views/LocalTableZonesFilter.d.ts +2 -2
- package/dist/views/LocalTableZonesFilter.js +3 -13
- package/dist/views/LocalsCompany.d.ts +10 -10
- package/dist/views/LocalsCompany.js +8 -18
- package/dist/views/LocalsCompanyInformationForTheTable.js +0 -8
- package/dist/views/MasterNotifications.js +1 -11
- package/dist/views/PartnerNotifications.js +1 -11
- package/dist/views/Partners.d.ts +2 -2
- package/dist/views/Partners.js +4 -14
- package/dist/views/ViewLocalsCompanies.d.ts +2 -2
- package/dist/views/ViewLocalsCompanies.js +4 -14
- package/package.json +1 -1
- package/src/entities/BusinessType.ts +0 -1
- package/src/entities/Category.ts +2 -3
- package/src/entities/CodeRedemptionHistoryCompany.ts +4 -4
- package/src/entities/CodeRedemptionHistoryUser.ts +5 -5
- package/src/entities/Company.ts +2 -2
- package/src/entities/CountryHoliday.ts +1 -2
- package/src/entities/DiscountCodeCompany.ts +6 -6
- package/src/entities/DiscountCodeUser.ts +4 -4
- package/src/entities/Gallery.ts +1 -2
- package/src/entities/Local.ts +2 -2
- package/src/entities/LocalPlan.ts +2 -2
- package/src/entities/LocalQualification.ts +2 -3
- package/src/entities/LocalReserve.ts +6 -7
- package/src/entities/LocalReserveStatus.ts +4 -4
- package/src/entities/LocalTable.ts +5 -6
- package/src/entities/LocalTableReservePayment.ts +6 -7
- package/src/entities/LocalTableZone.ts +2 -3
- package/src/entities/Master.ts +13 -8
- package/src/entities/MasterNotification.ts +1 -2
- package/src/entities/MasterSession.ts +3 -5
- package/src/entities/Partner.ts +2 -2
- package/src/entities/PartnerNotification.ts +1 -2
- package/src/entities/PartnerSession.ts +3 -5
- package/src/entities/PaymentMethod.ts +4 -5
- package/src/entities/Plan.ts +2 -2
- package/src/entities/PosSystem.ts +30 -4
- package/src/entities/Product.ts +14 -9
- package/src/entities/ReceiptConfig.ts +2 -3
- package/src/entities/Request.ts +3 -4
- package/src/entities/RequestInvoice.ts +3 -4
- package/src/entities/RequestLocal.ts +8 -10
- package/src/entities/RequestLocalHistory.ts +3 -3
- package/src/entities/RequestLocalPayment.ts +4 -5
- package/src/entities/RequestLocalTable.ts +1 -3
- package/src/entities/RequestPrint.ts +1 -2
- package/src/entities/ServicePlan.ts +6 -5
- package/src/entities/User.ts +10 -10
- package/src/entities/UserPaymentMethod.ts +4 -5
- package/src/views/DiscountsCodeUser.ts +34 -45
- package/src/views/LocalReserves.ts +6 -17
- package/src/views/LocalTableZonesFilter.ts +4 -15
- package/src/views/LocalsCompany.ts +44 -55
- package/src/views/LocalsCompanyInformationForTheTable.ts +0 -9
- package/src/views/MasterNotifications.ts +1 -12
- package/src/views/PartnerNotifications.ts +1 -12
- package/src/views/Partners.ts +4 -15
- package/src/views/ViewLocalsCompanies.ts +4 -15
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Category = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
17
16
|
const Local_1 = require("./Local");
|
|
18
17
|
const Product_1 = require("./Product");
|
|
@@ -76,7 +75,7 @@ __decorate([
|
|
|
76
75
|
__decorate([
|
|
77
76
|
(0, typeorm_1.Column)({
|
|
78
77
|
type: "datetime",
|
|
79
|
-
|
|
78
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
80
79
|
comment: "Fecha de creación del registro.",
|
|
81
80
|
}),
|
|
82
81
|
__metadata("design:type", Date)
|
|
@@ -86,7 +85,7 @@ __decorate([
|
|
|
86
85
|
type: "datetime",
|
|
87
86
|
nullable: true,
|
|
88
87
|
default: null,
|
|
89
|
-
|
|
88
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
90
89
|
comment: "Fecha de actualización del registro.",
|
|
91
90
|
}),
|
|
92
91
|
__metadata("design:type", Object)
|
|
@@ -13,7 +13,6 @@ exports.CodeRedemptionHistoryCompany = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const Company_1 = require("./Company");
|
|
15
15
|
const DiscountCodeCompany_1 = require("./DiscountCodeCompany");
|
|
16
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
17
16
|
let CodeRedemptionHistoryCompany = class CodeRedemptionHistoryCompany {
|
|
18
17
|
};
|
|
19
18
|
exports.CodeRedemptionHistoryCompany = CodeRedemptionHistoryCompany;
|
|
@@ -37,7 +36,8 @@ __decorate([
|
|
|
37
36
|
__decorate([
|
|
38
37
|
(0, typeorm_1.Column)({
|
|
39
38
|
type: "datetime",
|
|
40
|
-
|
|
39
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
40
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
41
41
|
comment: "Fecha cuando se usó el descuento.",
|
|
42
42
|
}),
|
|
43
43
|
__metadata("design:type", Date)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DiscountCodeUser } from "./DiscountCodeUser";
|
|
2
|
-
import { User } from "./User";
|
|
3
2
|
import { RequestLocal } from "./RequestLocal";
|
|
3
|
+
import { User } from "./User";
|
|
4
4
|
export declare class CodeRedemptionHistoryUser {
|
|
5
5
|
id: number;
|
|
6
6
|
discount_code_user: DiscountCodeUser;
|
|
@@ -12,9 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CodeRedemptionHistoryUser = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const DiscountCodeUser_1 = require("./DiscountCodeUser");
|
|
15
|
-
const User_1 = require("./User");
|
|
16
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
17
15
|
const RequestLocal_1 = require("./RequestLocal");
|
|
16
|
+
const User_1 = require("./User");
|
|
18
17
|
let CodeRedemptionHistoryUser = class CodeRedemptionHistoryUser {
|
|
19
18
|
};
|
|
20
19
|
exports.CodeRedemptionHistoryUser = CodeRedemptionHistoryUser;
|
|
@@ -42,7 +41,8 @@ __decorate([
|
|
|
42
41
|
__decorate([
|
|
43
42
|
(0, typeorm_1.Column)({
|
|
44
43
|
type: "datetime",
|
|
45
|
-
|
|
44
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
45
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
46
46
|
comment: "Fecha cuando se usó el descuento.",
|
|
47
47
|
}),
|
|
48
48
|
__metadata("design:type", Date)
|
package/dist/entities/Company.js
CHANGED
|
@@ -112,7 +112,7 @@ __decorate([
|
|
|
112
112
|
], Company.prototype, "settings", void 0);
|
|
113
113
|
__decorate([
|
|
114
114
|
(0, typeorm_1.Column)({
|
|
115
|
-
type: "
|
|
115
|
+
type: "datetime",
|
|
116
116
|
default: () => "CURRENT_TIMESTAMP",
|
|
117
117
|
comment: "Fecha creación de la empresa.",
|
|
118
118
|
}),
|
|
@@ -129,7 +129,7 @@ __decorate([
|
|
|
129
129
|
], Company.prototype, "expiration", void 0);
|
|
130
130
|
__decorate([
|
|
131
131
|
(0, typeorm_1.Column)({
|
|
132
|
-
type: "
|
|
132
|
+
type: "datetime",
|
|
133
133
|
default: () => "CURRENT_TIMESTAMP",
|
|
134
134
|
onUpdate: "CURRENT_TIMESTAMP",
|
|
135
135
|
comment: "Fecha de actualización de la empresa.",
|
|
@@ -12,7 +12,7 @@ export declare class DiscountCodeCompany {
|
|
|
12
12
|
start: string;
|
|
13
13
|
expiration: string | null;
|
|
14
14
|
repeat_days: any | null;
|
|
15
|
-
updated: Date
|
|
15
|
+
updated: Date;
|
|
16
16
|
status: number;
|
|
17
17
|
updated_by: Master;
|
|
18
18
|
code_redemptions_history_company: CodeRedemptionHistoryCompany[];
|
|
@@ -11,7 +11,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DiscountCodeCompany = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
15
14
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
16
15
|
const CodeRedemptionHistoryCompany_1 = require("./CodeRedemptionHistoryCompany");
|
|
17
16
|
const Master_1 = require("./Master");
|
|
@@ -67,7 +66,7 @@ __decorate([
|
|
|
67
66
|
(0, typeorm_1.Column)({
|
|
68
67
|
type: "datetime",
|
|
69
68
|
comment: "Fecha de creación del registro.",
|
|
70
|
-
|
|
69
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
71
70
|
}),
|
|
72
71
|
__metadata("design:type", Date)
|
|
73
72
|
], DiscountCodeCompany.prototype, "created", void 0);
|
|
@@ -101,9 +100,10 @@ __decorate([
|
|
|
101
100
|
(0, typeorm_1.Column)({
|
|
102
101
|
type: "datetime",
|
|
103
102
|
comment: "Fecha de actualización.",
|
|
104
|
-
|
|
103
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
104
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
105
105
|
}),
|
|
106
|
-
__metadata("design:type",
|
|
106
|
+
__metadata("design:type", Date)
|
|
107
107
|
], DiscountCodeCompany.prototype, "updated", void 0);
|
|
108
108
|
__decorate([
|
|
109
109
|
(0, typeorm_1.Column)({
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.DiscountCodeUser = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
17
16
|
const CodeRedemptionHistoryUser_1 = require("./CodeRedemptionHistoryUser");
|
|
18
17
|
const Company_1 = require("./Company");
|
|
@@ -85,7 +84,7 @@ __decorate([
|
|
|
85
84
|
__decorate([
|
|
86
85
|
(0, typeorm_1.Column)({
|
|
87
86
|
type: "datetime",
|
|
88
|
-
|
|
87
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
89
88
|
comment: "Fecha de creación del registro.",
|
|
90
89
|
}),
|
|
91
90
|
__metadata("design:type", Date)
|
|
@@ -127,7 +126,8 @@ __decorate([
|
|
|
127
126
|
__decorate([
|
|
128
127
|
(0, typeorm_1.Column)({
|
|
129
128
|
type: "datetime",
|
|
130
|
-
|
|
129
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
130
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
131
131
|
comment: "Fecha de actualización.",
|
|
132
132
|
}),
|
|
133
133
|
__metadata("design:type", Date)
|
package/dist/entities/Gallery.js
CHANGED
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Gallery = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let Gallery = class Gallery {
|
|
17
16
|
};
|
|
18
17
|
exports.Gallery = Gallery;
|
|
@@ -52,7 +51,7 @@ __decorate([
|
|
|
52
51
|
__decorate([
|
|
53
52
|
(0, typeorm_1.Column)({
|
|
54
53
|
type: "datetime",
|
|
55
|
-
|
|
54
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
56
55
|
comment: "Fecha de creación de la imagen.",
|
|
57
56
|
}),
|
|
58
57
|
__metadata("design:type", Date)
|
package/dist/entities/Local.js
CHANGED
|
@@ -75,12 +75,12 @@ __decorate([
|
|
|
75
75
|
__metadata("design:type", Object)
|
|
76
76
|
], Local.prototype, "details", void 0);
|
|
77
77
|
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ type: "
|
|
78
|
+
(0, typeorm_1.Column)({ type: "datetime", default: () => "CURRENT_TIMESTAMP" }),
|
|
79
79
|
__metadata("design:type", Date)
|
|
80
80
|
], Local.prototype, "created", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, typeorm_1.Column)({
|
|
83
|
-
type: "
|
|
83
|
+
type: "datetime",
|
|
84
84
|
default: () => "CURRENT_TIMESTAMP",
|
|
85
85
|
onUpdate: "CURRENT_TIMESTAMP",
|
|
86
86
|
}),
|
|
@@ -69,7 +69,7 @@ __decorate([
|
|
|
69
69
|
], LocalPlan.prototype, "settings", void 0);
|
|
70
70
|
__decorate([
|
|
71
71
|
(0, typeorm_1.Column)({
|
|
72
|
-
type: "
|
|
72
|
+
type: "datetime",
|
|
73
73
|
default: () => "CURRENT_TIMESTAMP",
|
|
74
74
|
comment: "Fecha de inicio del registro.",
|
|
75
75
|
}),
|
|
@@ -77,7 +77,7 @@ __decorate([
|
|
|
77
77
|
], LocalPlan.prototype, "start_date", void 0);
|
|
78
78
|
__decorate([
|
|
79
79
|
(0, typeorm_1.Column)({
|
|
80
|
-
type: "
|
|
80
|
+
type: "datetime",
|
|
81
81
|
comment: "Fecha de finalización del registro.",
|
|
82
82
|
}),
|
|
83
83
|
__metadata("design:type", Date)
|
|
@@ -11,7 +11,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.LocalQualification = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
15
14
|
const Local_1 = require("./Local");
|
|
16
15
|
const User_1 = require("./User");
|
|
17
16
|
let LocalQualification = class LocalQualification {
|
|
@@ -52,10 +51,10 @@ __decorate([
|
|
|
52
51
|
__decorate([
|
|
53
52
|
(0, typeorm_1.Column)({
|
|
54
53
|
type: "datetime",
|
|
55
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
56
54
|
comment: "Fecha de creación del registro.",
|
|
55
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
57
56
|
}),
|
|
58
|
-
__metadata("design:type",
|
|
57
|
+
__metadata("design:type", Date)
|
|
59
58
|
], LocalQualification.prototype, "created", void 0);
|
|
60
59
|
exports.LocalQualification = LocalQualification = __decorate([
|
|
61
60
|
(0, typeorm_1.Entity)("local_qualification", {
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LocalReserve = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let LocalReserve = class LocalReserve {
|
|
17
16
|
};
|
|
18
17
|
exports.LocalReserve = LocalReserve;
|
|
@@ -132,7 +131,7 @@ __decorate([
|
|
|
132
131
|
(0, typeorm_1.Column)({
|
|
133
132
|
type: "datetime",
|
|
134
133
|
comment: "Fecha creación del registro.",
|
|
135
|
-
|
|
134
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
136
135
|
}),
|
|
137
136
|
__metadata("design:type", Date)
|
|
138
137
|
], LocalReserve.prototype, "created", void 0);
|
|
@@ -142,7 +141,7 @@ __decorate([
|
|
|
142
141
|
nullable: true,
|
|
143
142
|
default: null,
|
|
144
143
|
comment: "Fecha de actualización del registro.",
|
|
145
|
-
|
|
144
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
146
145
|
}),
|
|
147
146
|
__metadata("design:type", Object)
|
|
148
147
|
], LocalReserve.prototype, "updated", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Local } from "./Local";
|
|
2
|
-
import { Partner } from "./Partner";
|
|
3
2
|
import { LocalReserve } from "./LocalReserve";
|
|
3
|
+
import { Partner } from "./Partner";
|
|
4
4
|
export declare class LocalReserveStatus {
|
|
5
5
|
id: number;
|
|
6
6
|
local: Local;
|
|
@@ -8,7 +8,7 @@ export declare class LocalReserveStatus {
|
|
|
8
8
|
description: string | null;
|
|
9
9
|
color: string;
|
|
10
10
|
updated: Date | null;
|
|
11
|
-
updated_by: Partner;
|
|
11
|
+
updated_by: Partner | null;
|
|
12
12
|
status: number;
|
|
13
13
|
local_reserves: LocalReserve[];
|
|
14
14
|
}
|
|
@@ -12,9 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LocalReserveStatus = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const Local_1 = require("./Local");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
|
-
const Partner_1 = require("./Partner");
|
|
17
15
|
const LocalReserve_1 = require("./LocalReserve");
|
|
16
|
+
const Partner_1 = require("./Partner");
|
|
18
17
|
let LocalReserveStatus = class LocalReserveStatus {
|
|
19
18
|
};
|
|
20
19
|
exports.LocalReserveStatus = LocalReserveStatus;
|
|
@@ -62,10 +61,10 @@ __decorate([
|
|
|
62
61
|
__decorate([
|
|
63
62
|
(0, typeorm_1.Column)({
|
|
64
63
|
type: "datetime",
|
|
65
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
66
64
|
nullable: true,
|
|
67
65
|
default: null,
|
|
68
66
|
comment: "Fecha de actualización del registro.",
|
|
67
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
69
68
|
}),
|
|
70
69
|
__metadata("design:type", Object)
|
|
71
70
|
], LocalReserveStatus.prototype, "updated", void 0);
|
|
@@ -73,9 +72,10 @@ __decorate([
|
|
|
73
72
|
(0, typeorm_1.ManyToOne)(() => Partner_1.Partner, (partner) => partner.local_reserve_status, {
|
|
74
73
|
onDelete: "NO ACTION",
|
|
75
74
|
onUpdate: "NO ACTION",
|
|
75
|
+
nullable: true,
|
|
76
76
|
}),
|
|
77
77
|
(0, typeorm_1.JoinColumn)({ name: "updated_by" }),
|
|
78
|
-
__metadata("design:type",
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
79
|
], LocalReserveStatus.prototype, "updated_by", void 0);
|
|
80
80
|
__decorate([
|
|
81
81
|
(0, typeorm_1.Column)({
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LocalTable = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let LocalTable = class LocalTable {
|
|
17
16
|
};
|
|
18
17
|
exports.LocalTable = LocalTable;
|
|
@@ -107,7 +106,7 @@ __decorate([
|
|
|
107
106
|
(0, typeorm_1.Column)({
|
|
108
107
|
type: "datetime",
|
|
109
108
|
comment: "Fecha creación del registro.",
|
|
110
|
-
|
|
109
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
111
110
|
}),
|
|
112
111
|
__metadata("design:type", Date)
|
|
113
112
|
], LocalTable.prototype, "created", void 0);
|
|
@@ -117,7 +116,7 @@ __decorate([
|
|
|
117
116
|
nullable: true,
|
|
118
117
|
default: null,
|
|
119
118
|
comment: "Fecha de actualización del registro.",
|
|
120
|
-
|
|
119
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
121
120
|
}),
|
|
122
121
|
__metadata("design:type", Object)
|
|
123
122
|
], LocalTable.prototype, "updated", void 0);
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LocalTableReservePayment = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let LocalTableReservePayment = class LocalTableReservePayment {
|
|
17
16
|
};
|
|
18
17
|
exports.LocalTableReservePayment = LocalTableReservePayment;
|
|
@@ -128,7 +127,7 @@ __decorate([
|
|
|
128
127
|
__decorate([
|
|
129
128
|
(0, typeorm_1.Column)({
|
|
130
129
|
type: "datetime",
|
|
131
|
-
|
|
130
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
132
131
|
comment: "Fecha de creación del registro.",
|
|
133
132
|
}),
|
|
134
133
|
__metadata("design:type", Date)
|
|
@@ -138,7 +137,7 @@ __decorate([
|
|
|
138
137
|
type: "datetime",
|
|
139
138
|
nullable: true,
|
|
140
139
|
default: null,
|
|
141
|
-
|
|
140
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
142
141
|
comment: "Fecha de actualización del registro.",
|
|
143
142
|
}),
|
|
144
143
|
__metadata("design:type", Object)
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LocalTableZone = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let LocalTableZone = class LocalTableZone {
|
|
17
16
|
};
|
|
18
17
|
exports.LocalTableZone = LocalTableZone;
|
|
@@ -53,7 +52,7 @@ __decorate([
|
|
|
53
52
|
(0, typeorm_1.Column)({
|
|
54
53
|
type: "datetime",
|
|
55
54
|
comment: "Fecha de creación del registro.",
|
|
56
|
-
|
|
55
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
57
56
|
}),
|
|
58
57
|
__metadata("design:type", Date)
|
|
59
58
|
], LocalTableZone.prototype, "created", void 0);
|
|
@@ -63,7 +62,7 @@ __decorate([
|
|
|
63
62
|
nullable: true,
|
|
64
63
|
default: null,
|
|
65
64
|
comment: "Fecha de actualización del registro.",
|
|
66
|
-
|
|
65
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
67
66
|
}),
|
|
68
67
|
__metadata("design:type", Object)
|
|
69
68
|
], LocalTableZone.prototype, "updated", void 0);
|
package/dist/entities/Master.js
CHANGED
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Master = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
17
16
|
const City_1 = require("./City");
|
|
18
17
|
const DiscountCodeCompany_1 = require("./DiscountCodeCompany");
|
|
@@ -126,16 +125,17 @@ __decorate([
|
|
|
126
125
|
__decorate([
|
|
127
126
|
(0, typeorm_1.Column)({
|
|
128
127
|
type: "datetime",
|
|
129
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
130
128
|
comment: "Fecha de creación del registro.",
|
|
129
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
131
130
|
}),
|
|
132
131
|
__metadata("design:type", Date)
|
|
133
132
|
], Master.prototype, "created", void 0);
|
|
134
133
|
__decorate([
|
|
135
134
|
(0, typeorm_1.Column)({
|
|
136
135
|
type: "datetime",
|
|
137
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
138
136
|
comment: "Fecha de actualización del registro.",
|
|
137
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
138
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
139
139
|
}),
|
|
140
140
|
__metadata("design:type", Date)
|
|
141
141
|
], Master.prototype, "updated", void 0);
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.MasterNotification = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
17
16
|
let MasterNotification = class MasterNotification {
|
|
18
17
|
};
|
|
@@ -83,7 +82,7 @@ __decorate([
|
|
|
83
82
|
(0, typeorm_1.Column)({
|
|
84
83
|
type: "datetime",
|
|
85
84
|
comment: "Fecha de creación de la notificación.",
|
|
86
|
-
|
|
85
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
87
86
|
}),
|
|
88
87
|
__metadata("design:type", Date)
|
|
89
88
|
], MasterNotification.prototype, "created", void 0);
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.MasterSession = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let MasterSession = class MasterSession {
|
|
17
16
|
};
|
|
18
17
|
exports.MasterSession = MasterSession;
|
|
@@ -59,7 +58,6 @@ __decorate([
|
|
|
59
58
|
(0, typeorm_1.Column)({
|
|
60
59
|
type: "datetime",
|
|
61
60
|
comment: "Fecha de inicio de la sesión.",
|
|
62
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
63
61
|
}),
|
|
64
62
|
__metadata("design:type", Date)
|
|
65
63
|
], MasterSession.prototype, "start_time", void 0);
|
|
@@ -69,7 +67,6 @@ __decorate([
|
|
|
69
67
|
nullable: true,
|
|
70
68
|
default: null,
|
|
71
69
|
comment: "Fecha de finalización de la sesión.",
|
|
72
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
73
70
|
}),
|
|
74
71
|
__metadata("design:type", Object)
|
|
75
72
|
], MasterSession.prototype, "finish_time", void 0);
|
|
@@ -86,7 +83,7 @@ __decorate([
|
|
|
86
83
|
(0, typeorm_1.Column)({
|
|
87
84
|
type: "datetime",
|
|
88
85
|
comment: "Fecha de creación del registro.",
|
|
89
|
-
|
|
86
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
90
87
|
}),
|
|
91
88
|
__metadata("design:type", Date)
|
|
92
89
|
], MasterSession.prototype, "created", void 0);
|
|
@@ -95,7 +92,8 @@ __decorate([
|
|
|
95
92
|
type: "datetime",
|
|
96
93
|
nullable: true,
|
|
97
94
|
comment: "Fecha de actualización del registro.",
|
|
98
|
-
|
|
95
|
+
default: null,
|
|
96
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
99
97
|
}),
|
|
100
98
|
__metadata("design:type", Object)
|
|
101
99
|
], MasterSession.prototype, "updated", void 0);
|
package/dist/entities/Partner.js
CHANGED
|
@@ -146,7 +146,7 @@ __decorate([
|
|
|
146
146
|
], Partner.prototype, "owner", void 0);
|
|
147
147
|
__decorate([
|
|
148
148
|
(0, typeorm_1.Column)({
|
|
149
|
-
type: "
|
|
149
|
+
type: "datetime",
|
|
150
150
|
comment: "Fecha de creación del registro.",
|
|
151
151
|
default: () => "CURRENT_TIMESTAMP",
|
|
152
152
|
}),
|
|
@@ -154,7 +154,7 @@ __decorate([
|
|
|
154
154
|
], Partner.prototype, "created", void 0);
|
|
155
155
|
__decorate([
|
|
156
156
|
(0, typeorm_1.Column)({
|
|
157
|
-
type: "
|
|
157
|
+
type: "datetime",
|
|
158
158
|
comment: "Fecha de actualización del registro.",
|
|
159
159
|
default: () => "CURRENT_TIMESTAMP",
|
|
160
160
|
onUpdate: "CURRENT_TIMESTAMP",
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.PartnerNotification = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const Partner_1 = require("./Partner");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
17
16
|
const Master_1 = require("./Master");
|
|
18
17
|
let PartnerNotification = class PartnerNotification {
|
|
@@ -84,7 +83,7 @@ __decorate([
|
|
|
84
83
|
(0, typeorm_1.Column)({
|
|
85
84
|
type: "datetime",
|
|
86
85
|
comment: "Fecha de creación de la notificación.",
|
|
87
|
-
|
|
86
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
88
87
|
}),
|
|
89
88
|
__metadata("design:type", Date)
|
|
90
89
|
], PartnerNotification.prototype, "created", void 0);
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.PartnerSession = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
let PartnerSession = class PartnerSession {
|
|
17
16
|
};
|
|
18
17
|
exports.PartnerSession = PartnerSession;
|
|
@@ -59,7 +58,6 @@ __decorate([
|
|
|
59
58
|
(0, typeorm_1.Column)({
|
|
60
59
|
type: "datetime",
|
|
61
60
|
comment: "Fecha de inicio de la sesión.",
|
|
62
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
63
61
|
}),
|
|
64
62
|
__metadata("design:type", Date)
|
|
65
63
|
], PartnerSession.prototype, "start_time", void 0);
|
|
@@ -69,7 +67,6 @@ __decorate([
|
|
|
69
67
|
nullable: true,
|
|
70
68
|
default: null,
|
|
71
69
|
comment: "Fecha de finalización de la sesión.",
|
|
72
|
-
transformer: new dateTransformer_1.DateTransformer(),
|
|
73
70
|
}),
|
|
74
71
|
__metadata("design:type", Object)
|
|
75
72
|
], PartnerSession.prototype, "finish_time", void 0);
|
|
@@ -86,7 +83,7 @@ __decorate([
|
|
|
86
83
|
(0, typeorm_1.Column)({
|
|
87
84
|
type: "datetime",
|
|
88
85
|
comment: "Fecha de creación del registro.",
|
|
89
|
-
|
|
86
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
90
87
|
}),
|
|
91
88
|
__metadata("design:type", Date)
|
|
92
89
|
], PartnerSession.prototype, "created", void 0);
|
|
@@ -95,7 +92,8 @@ __decorate([
|
|
|
95
92
|
type: "datetime",
|
|
96
93
|
nullable: true,
|
|
97
94
|
comment: "Fecha de actualización del registro.",
|
|
98
|
-
|
|
95
|
+
default: null,
|
|
96
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
99
97
|
}),
|
|
100
98
|
__metadata("design:type", Object)
|
|
101
99
|
], PartnerSession.prototype, "updated", void 0);
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.PaymentMethod = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const __1 = require("..");
|
|
15
|
-
const dateTransformer_1 = require("../transformers/dateTransformer");
|
|
16
15
|
const Local_1 = require("./Local");
|
|
17
16
|
const jsonTransformer_1 = require("../transformers/jsonTransformer");
|
|
18
17
|
let PaymentMethod = class PaymentMethod {
|
|
@@ -56,7 +55,7 @@ __decorate([
|
|
|
56
55
|
__decorate([
|
|
57
56
|
(0, typeorm_1.Column)({
|
|
58
57
|
type: "datetime",
|
|
59
|
-
|
|
58
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
60
59
|
comment: "Fecha de creación del registro.",
|
|
61
60
|
}),
|
|
62
61
|
__metadata("design:type", Date)
|
package/dist/entities/Plan.js
CHANGED
|
@@ -68,14 +68,14 @@ __decorate([
|
|
|
68
68
|
], Plan.prototype, "quantity_locals", void 0);
|
|
69
69
|
__decorate([
|
|
70
70
|
(0, typeorm_1.Column)({
|
|
71
|
-
type: "
|
|
71
|
+
type: "datetime",
|
|
72
72
|
default: () => "CURRENT_TIMESTAMP",
|
|
73
73
|
comment: "Fecha de creación del registro.",
|
|
74
74
|
}),
|
|
75
75
|
__metadata("design:type", Date)
|
|
76
76
|
], Plan.prototype, "created", void 0);
|
|
77
77
|
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ type: "
|
|
78
|
+
(0, typeorm_1.Column)({ type: "datetime", comment: "Fecha de expiración del registro." }),
|
|
79
79
|
__metadata("design:type", Date)
|
|
80
80
|
], Plan.prototype, "expiration", void 0);
|
|
81
81
|
__decorate([
|
|
@@ -5,7 +5,10 @@ export declare class PosSystem {
|
|
|
5
5
|
description: string | null;
|
|
6
6
|
endpoint_products: any;
|
|
7
7
|
endpoint_order: any;
|
|
8
|
-
authentication_credentials: AuthenticationCredential;
|
|
8
|
+
authentication_credentials: AuthenticationCredential | null;
|
|
9
|
+
settings: any | null;
|
|
10
|
+
created: Date;
|
|
11
|
+
expiration: string | null;
|
|
9
12
|
status: number;
|
|
10
13
|
locals_pos_system: Local[];
|
|
11
14
|
}
|