@asumano/worklip-typeorm-db 1.1.69 → 1.1.71
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/Brand.d.ts +2 -0
- package/dist/entities/Brand.js +10 -0
- package/dist/entities/BrandVehicleType.d.ts +7 -0
- package/dist/entities/BrandVehicleType.js +48 -0
- package/dist/entities/EmailLog.js +6 -1
- package/dist/entities/EmailSuppression.d.ts +11 -0
- package/dist/entities/EmailSuppression.js +104 -0
- package/dist/entities/Vehicle.d.ts +2 -2
- package/dist/entities/Vehicle.js +12 -4
- package/dist/entities/VehicleType.d.ts +2 -0
- package/dist/entities/VehicleType.js +5 -0
- package/dist/entities.index.d.ts +2 -0
- package/dist/entities.index.js +6 -2
- package/dist/views/ServicesOrder.d.ts +2 -2
- package/dist/views/ServicesOrder.js +2 -2
- package/dist/views/Vehicles.d.ts +2 -2
- package/dist/views/Vehicles.js +2 -2
- package/package.json +1 -1
package/dist/entities/Brand.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Vehicle } from "./Vehicle";
|
|
2
|
+
import { BrandVehicleType } from "./BrandVehicleType";
|
|
2
3
|
import { CompanyBrand } from "./CompanyBrand";
|
|
3
4
|
export declare class Brand {
|
|
4
5
|
id: number;
|
|
@@ -6,4 +7,5 @@ export declare class Brand {
|
|
|
6
7
|
details: any | null;
|
|
7
8
|
vehicles: Vehicle[];
|
|
8
9
|
companyBrands: CompanyBrand[];
|
|
10
|
+
brandVehicleTypes: BrandVehicleType[];
|
|
9
11
|
}
|
package/dist/entities/Brand.js
CHANGED
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Brand = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const Vehicle_1 = require("./Vehicle");
|
|
15
|
+
const BrandVehicleType_1 = require("./BrandVehicleType");
|
|
15
16
|
const CompanyBrand_1 = require("./CompanyBrand");
|
|
16
17
|
let Brand = class Brand {
|
|
17
18
|
};
|
|
@@ -44,8 +45,17 @@ __decorate([
|
|
|
44
45
|
(0, typeorm_1.OneToMany)(() => CompanyBrand_1.CompanyBrand, (companyBrand) => companyBrand.brand),
|
|
45
46
|
__metadata("design:type", Array)
|
|
46
47
|
], Brand.prototype, "companyBrands", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.OneToMany)(() => BrandVehicleType_1.BrandVehicleType, (brandVehicleType) => brandVehicleType.brand),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], Brand.prototype, "brandVehicleTypes", void 0);
|
|
47
52
|
exports.Brand = Brand = __decorate([
|
|
48
53
|
(0, typeorm_1.Entity)({
|
|
49
54
|
comment: "Marcas de vehículos que estarán disponibles en la plataforma.",
|
|
50
55
|
})
|
|
56
|
+
// DOC: El nombre es único: el catálogo es global y dos marcas con el mismo nombre
|
|
57
|
+
// solo generan duplicados en los selectores. El índice se declara con nombre
|
|
58
|
+
// propio para que coincida con el del script SQL (uk_brand_name).
|
|
59
|
+
,
|
|
60
|
+
(0, typeorm_1.Index)("uk_brand_name", ["name"], { unique: true })
|
|
51
61
|
], Brand);
|
|
@@ -0,0 +1,48 @@
|
|
|
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.BrandVehicleType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const Brand_1 = require("./Brand");
|
|
15
|
+
const VehicleType_1 = require("./VehicleType");
|
|
16
|
+
let BrandVehicleType = class BrandVehicleType {
|
|
17
|
+
};
|
|
18
|
+
exports.BrandVehicleType = BrandVehicleType;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
21
|
+
type: "int",
|
|
22
|
+
comment: "Número de identificación (ID) único de cada registro.",
|
|
23
|
+
}),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], BrandVehicleType.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => Brand_1.Brand, (brand) => brand.brandVehicleTypes, {
|
|
28
|
+
onDelete: "CASCADE",
|
|
29
|
+
onUpdate: "NO ACTION",
|
|
30
|
+
}),
|
|
31
|
+
(0, typeorm_1.JoinColumn)({ name: "brand" }),
|
|
32
|
+
__metadata("design:type", Brand_1.Brand)
|
|
33
|
+
], BrandVehicleType.prototype, "brand", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.ManyToOne)(() => VehicleType_1.VehicleType, (vehicleType) => vehicleType.brandVehicleTypes, {
|
|
36
|
+
onDelete: "CASCADE",
|
|
37
|
+
onUpdate: "NO ACTION",
|
|
38
|
+
}),
|
|
39
|
+
(0, typeorm_1.JoinColumn)({ name: "vehicle_type" }),
|
|
40
|
+
__metadata("design:type", VehicleType_1.VehicleType)
|
|
41
|
+
], BrandVehicleType.prototype, "vehicle_type", void 0);
|
|
42
|
+
exports.BrandVehicleType = BrandVehicleType = __decorate([
|
|
43
|
+
(0, typeorm_1.Entity)({
|
|
44
|
+
name: "brand_vehicle_type",
|
|
45
|
+
comment: "Tipos de vehículo que fabrica cada marca.",
|
|
46
|
+
}),
|
|
47
|
+
(0, typeorm_1.Index)("uk_brand_vehicle_type", ["brand", "vehicle_type"], { unique: true })
|
|
48
|
+
], BrandVehicleType);
|
|
@@ -86,7 +86,7 @@ __decorate([
|
|
|
86
86
|
default: 1,
|
|
87
87
|
type: "int",
|
|
88
88
|
width: 1,
|
|
89
|
-
comment: "Estado en el que se queda el log:\r\n1: Enviado.\r\n2: Entregado.\r\n3: Abierto.\r\n4: Error.",
|
|
89
|
+
comment: "Estado en el que se queda el log:\r\n1: Enviado.\r\n2: Entregado.\r\n3: Abierto.\r\n4: Error.\r\n5: Rebotado.\r\n6: Queja.",
|
|
90
90
|
}),
|
|
91
91
|
__metadata("design:type", Number)
|
|
92
92
|
], EmailLog.prototype, "status", void 0);
|
|
@@ -113,4 +113,9 @@ exports.EmailLog = EmailLog = __decorate([
|
|
|
113
113
|
name: "email_log",
|
|
114
114
|
}),
|
|
115
115
|
(0, typeorm_1.Index)("IDX_email_log_company_created", ["company", "created"])
|
|
116
|
+
// DOC: Cada evento de SES llega identificado solo por el MessageId, así que casarlo con su
|
|
117
|
+
// fila es una búsqueda por esta columna. Sin índice sería un recorrido completo de la tabla,
|
|
118
|
+
// que crece ~60.000 filas al mes.
|
|
119
|
+
,
|
|
120
|
+
(0, typeorm_1.Index)("IDX_email_log_provider_message_id", ["provider_message_id"])
|
|
116
121
|
], EmailLog);
|
|
@@ -0,0 +1,104 @@
|
|
|
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.EmailSuppression = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
// DOC: Direcciones a las que NO se les puede volver a escribir, alimentada por los eventos
|
|
15
|
+
// de rebote y queja que SES publica en SNS. Espejo local de la lista de supresión de la
|
|
16
|
+
// cuenta de SES: la de AWS es la autoritativa, esta permite el chequeo antes de enviar y
|
|
17
|
+
// poder decirle al taller "este correo está mal, corríjalo".
|
|
18
|
+
//
|
|
19
|
+
// A propósito NO tiene `company` ni `client`: el evento de SES solo trae la DIRECCIÓN, y la
|
|
20
|
+
// misma puede estar en varios clientes de varias empresas (o no ser de ningún cliente, como
|
|
21
|
+
// las que el asesor escribe a mano al compartir el informe). Es global por diseño.
|
|
22
|
+
let EmailSuppression = class EmailSuppression {
|
|
23
|
+
};
|
|
24
|
+
exports.EmailSuppression = EmailSuppression;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
27
|
+
type: "int",
|
|
28
|
+
comment: "ID único de cada registro.",
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], EmailSuppression.prototype, "id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Index)("UQ_email_suppression_email", { unique: true }),
|
|
34
|
+
(0, typeorm_1.Column)({
|
|
35
|
+
length: 255,
|
|
36
|
+
type: "varchar",
|
|
37
|
+
comment: "Dirección suprimida, en minúsculas.",
|
|
38
|
+
}),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], EmailSuppression.prototype, "email", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({
|
|
43
|
+
type: "int",
|
|
44
|
+
comment: "Motivo por el que se suprimió:\r\n1: Rebote permanente.\r\n2: Queja (marcada como spam).",
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], EmailSuppression.prototype, "event_type", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({
|
|
50
|
+
type: "text",
|
|
51
|
+
nullable: true,
|
|
52
|
+
default: null,
|
|
53
|
+
comment: "Diagnóstico que devolvió SES (subtipo, código SMTP y texto del servidor).",
|
|
54
|
+
}),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], EmailSuppression.prototype, "reason", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({
|
|
59
|
+
length: 255,
|
|
60
|
+
type: "varchar",
|
|
61
|
+
nullable: true,
|
|
62
|
+
default: null,
|
|
63
|
+
comment: "MessageId de SES del correo que provocó la supresión.",
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], EmailSuppression.prototype, "provider_message_id", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({
|
|
69
|
+
type: "datetime",
|
|
70
|
+
comment: "Primera vez que se recibió un evento para esta dirección.",
|
|
71
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
72
|
+
}),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], EmailSuppression.prototype, "first_seen", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({
|
|
77
|
+
type: "datetime",
|
|
78
|
+
comment: "Última vez que se recibió un evento para esta dirección.",
|
|
79
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
80
|
+
}),
|
|
81
|
+
__metadata("design:type", Date)
|
|
82
|
+
], EmailSuppression.prototype, "last_seen", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)({
|
|
85
|
+
type: "int",
|
|
86
|
+
default: 1,
|
|
87
|
+
comment: "Cuántos eventos se han recibido para esta dirección.",
|
|
88
|
+
}),
|
|
89
|
+
__metadata("design:type", Number)
|
|
90
|
+
], EmailSuppression.prototype, "event_count", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.Column)({
|
|
93
|
+
type: "datetime",
|
|
94
|
+
comment: "Fecha de creación del registro.",
|
|
95
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
96
|
+
}),
|
|
97
|
+
__metadata("design:type", Date)
|
|
98
|
+
], EmailSuppression.prototype, "created", void 0);
|
|
99
|
+
exports.EmailSuppression = EmailSuppression = __decorate([
|
|
100
|
+
(0, typeorm_1.Entity)({
|
|
101
|
+
comment: "Direcciones de correo suprimidas por rebote permanente o queja, según los eventos de Amazon SES.",
|
|
102
|
+
name: "email_suppression",
|
|
103
|
+
})
|
|
104
|
+
], EmailSuppression);
|
|
@@ -6,10 +6,10 @@ import { VehicleType } from "./VehicleType";
|
|
|
6
6
|
export declare class Vehicle {
|
|
7
7
|
id: number;
|
|
8
8
|
vehicle_type: VehicleType;
|
|
9
|
-
plate: string;
|
|
9
|
+
plate: string | null;
|
|
10
10
|
brand: Brand;
|
|
11
11
|
company: Company;
|
|
12
|
-
mileage: number;
|
|
12
|
+
mileage: number | null;
|
|
13
13
|
model: number;
|
|
14
14
|
version: string;
|
|
15
15
|
details: any | null;
|
package/dist/entities/Vehicle.js
CHANGED
|
@@ -35,8 +35,14 @@ __decorate([
|
|
|
35
35
|
__metadata("design:type", VehicleType_1.VehicleType)
|
|
36
36
|
], Vehicle.prototype, "vehicle_type", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({
|
|
39
|
-
|
|
38
|
+
(0, typeorm_1.Column)({
|
|
39
|
+
length: 10,
|
|
40
|
+
type: "varchar",
|
|
41
|
+
nullable: true,
|
|
42
|
+
default: null,
|
|
43
|
+
comment: "Placa del vehículo. Nula en los tipos que no llevan placa.",
|
|
44
|
+
}),
|
|
45
|
+
__metadata("design:type", Object)
|
|
40
46
|
], Vehicle.prototype, "plate", void 0);
|
|
41
47
|
__decorate([
|
|
42
48
|
(0, typeorm_1.ManyToOne)(() => Brand_1.Brand, (brand) => brand.vehicles, {
|
|
@@ -57,9 +63,11 @@ __decorate([
|
|
|
57
63
|
__decorate([
|
|
58
64
|
(0, typeorm_1.Column)({
|
|
59
65
|
type: "int",
|
|
60
|
-
|
|
66
|
+
nullable: true,
|
|
67
|
+
default: null,
|
|
68
|
+
comment: "Kilometraje del vehículo. Nulo si el tipo no lo exige.",
|
|
61
69
|
}),
|
|
62
|
-
__metadata("design:type",
|
|
70
|
+
__metadata("design:type", Object)
|
|
63
71
|
], Vehicle.prototype, "mileage", void 0);
|
|
64
72
|
__decorate([
|
|
65
73
|
(0, typeorm_1.Column)({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BrandVehicleType } from "./BrandVehicleType";
|
|
1
2
|
import { CompanyVehicleType } from "./CompanyVehicleType";
|
|
2
3
|
import { GlobalTemplate } from "./GlobalTemplate";
|
|
3
4
|
import { Template } from "./Template";
|
|
@@ -11,4 +12,5 @@ export declare class VehicleType {
|
|
|
11
12
|
vehicle_types_template: Template[];
|
|
12
13
|
vehicle_types_global_template: GlobalTemplate[];
|
|
13
14
|
companyVehicleTypes: CompanyVehicleType[];
|
|
15
|
+
brandVehicleTypes: BrandVehicleType[];
|
|
14
16
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VehicleType = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BrandVehicleType_1 = require("./BrandVehicleType");
|
|
14
15
|
const CompanyVehicleType_1 = require("./CompanyVehicleType");
|
|
15
16
|
const GlobalTemplate_1 = require("./GlobalTemplate");
|
|
16
17
|
const Template_1 = require("./Template");
|
|
@@ -67,6 +68,10 @@ __decorate([
|
|
|
67
68
|
(0, typeorm_1.OneToMany)(() => CompanyVehicleType_1.CompanyVehicleType, (companyVehicleType) => companyVehicleType.vehicle_type),
|
|
68
69
|
__metadata("design:type", Array)
|
|
69
70
|
], VehicleType.prototype, "companyVehicleTypes", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.OneToMany)(() => BrandVehicleType_1.BrandVehicleType, (brandVehicleType) => brandVehicleType.vehicle_type),
|
|
73
|
+
__metadata("design:type", Array)
|
|
74
|
+
], VehicleType.prototype, "brandVehicleTypes", void 0);
|
|
70
75
|
exports.VehicleType = VehicleType = __decorate([
|
|
71
76
|
(0, typeorm_1.Entity)({
|
|
72
77
|
comment: "Tabla creada para agregar los tipos de vehículos que va a manejar el concesionario/taller.",
|
package/dist/entities.index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { MasterPermission } from "./entities/MasterPermission";
|
|
|
31
31
|
export { MasterSection } from "./entities/MasterSection";
|
|
32
32
|
export { VehicleType } from "./entities/VehicleType";
|
|
33
33
|
export { CompanyBrand } from "./entities/CompanyBrand";
|
|
34
|
+
export { BrandVehicleType } from "./entities/BrandVehicleType";
|
|
34
35
|
export { CompanyVehicleType } from "./entities/CompanyVehicleType";
|
|
35
36
|
export { CountryHoliday } from "./entities/CountryHoliday";
|
|
36
37
|
export { SubscriptionPlan } from "./entities/SubscriptionPlan";
|
|
@@ -42,6 +43,7 @@ export { MediaFile } from "./entities/MediaFile";
|
|
|
42
43
|
export { ServiceOrderApproval } from "./entities/ServiceOrderApproval";
|
|
43
44
|
export { WhatsappLog } from "./entities/WhatsappLog";
|
|
44
45
|
export { EmailLog } from "./entities/EmailLog";
|
|
46
|
+
export { EmailSuppression } from "./entities/EmailSuppression";
|
|
45
47
|
export { BillingInvoice } from "./entities/BillingInvoice";
|
|
46
48
|
export { PaymentTransaction } from "./entities/PaymentTransaction";
|
|
47
49
|
export { SubscriptionAddonTemplate } from "./entities/SubscriptionAddonTemplate";
|
package/dist/entities.index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GlobalTemplateSectionItems = exports.GlobalTemplateSections = exports.GlobalTemplates = exports.SubscriptionAddonTemplates = exports.SubscriptionPlans = exports.Masters = exports.Companies = exports.WorkshopsByAssociate = exports.Workshops = exports.TemplateSectionItems = exports.TemplateSections = exports.Templates = exports.Reminders = exports.Vehicles = exports.Clients = void 0;
|
|
3
|
+
exports.UsageAlert = exports.SubscriptionAddonTemplate = exports.PaymentTransaction = exports.BillingInvoice = exports.EmailSuppression = exports.EmailLog = exports.WhatsappLog = exports.ServiceOrderApproval = exports.MediaFile = exports.BillingUsageSnapshot = exports.PaymentMethod = exports.SubscriptionAddon = exports.CompanySubscription = exports.SubscriptionPlan = exports.CountryHoliday = exports.CompanyVehicleType = exports.BrandVehicleType = exports.CompanyBrand = exports.VehicleType = exports.MasterSection = exports.MasterPermission = exports.MasterRole = exports.MasterPlatform = exports.MasterPasswordReset = exports.AssociatePasswordReset = exports.AssociateSection = exports.AssociatePermission = exports.AssociateRole = exports.AssociatePlatform = exports.Reminder = exports.ServiceOrderHistory = exports.ServiceOrder = exports.TemplateSectionItem = exports.TemplateSection = exports.Template = exports.Workshop = exports.GlobalTemplateSectionItem = exports.GlobalTemplateSection = exports.GlobalTemplate = exports.AssociateSession = exports.MasterSession = exports.Associate = exports.Client = exports.Master = exports.Vehicle = exports.Brand = exports.Company = exports.City = exports.Region = exports.Country = void 0;
|
|
4
|
+
exports.GlobalTemplateSectionItems = exports.GlobalTemplateSections = exports.GlobalTemplates = exports.SubscriptionAddonTemplates = exports.SubscriptionPlans = exports.Masters = exports.Companies = exports.WorkshopsByAssociate = exports.Workshops = exports.TemplateSectionItems = exports.TemplateSections = exports.Templates = exports.Reminders = exports.Vehicles = exports.Clients = exports.ServicesOrder = exports.Associates = void 0;
|
|
5
5
|
var Country_1 = require("./entities/Country");
|
|
6
6
|
Object.defineProperty(exports, "Country", { enumerable: true, get: function () { return Country_1.Country; } });
|
|
7
7
|
var Region_1 = require("./entities/Region");
|
|
@@ -68,6 +68,8 @@ var VehicleType_1 = require("./entities/VehicleType");
|
|
|
68
68
|
Object.defineProperty(exports, "VehicleType", { enumerable: true, get: function () { return VehicleType_1.VehicleType; } });
|
|
69
69
|
var CompanyBrand_1 = require("./entities/CompanyBrand");
|
|
70
70
|
Object.defineProperty(exports, "CompanyBrand", { enumerable: true, get: function () { return CompanyBrand_1.CompanyBrand; } });
|
|
71
|
+
var BrandVehicleType_1 = require("./entities/BrandVehicleType");
|
|
72
|
+
Object.defineProperty(exports, "BrandVehicleType", { enumerable: true, get: function () { return BrandVehicleType_1.BrandVehicleType; } });
|
|
71
73
|
var CompanyVehicleType_1 = require("./entities/CompanyVehicleType");
|
|
72
74
|
Object.defineProperty(exports, "CompanyVehicleType", { enumerable: true, get: function () { return CompanyVehicleType_1.CompanyVehicleType; } });
|
|
73
75
|
var CountryHoliday_1 = require("./entities/CountryHoliday");
|
|
@@ -90,6 +92,8 @@ var WhatsappLog_1 = require("./entities/WhatsappLog");
|
|
|
90
92
|
Object.defineProperty(exports, "WhatsappLog", { enumerable: true, get: function () { return WhatsappLog_1.WhatsappLog; } });
|
|
91
93
|
var EmailLog_1 = require("./entities/EmailLog");
|
|
92
94
|
Object.defineProperty(exports, "EmailLog", { enumerable: true, get: function () { return EmailLog_1.EmailLog; } });
|
|
95
|
+
var EmailSuppression_1 = require("./entities/EmailSuppression");
|
|
96
|
+
Object.defineProperty(exports, "EmailSuppression", { enumerable: true, get: function () { return EmailSuppression_1.EmailSuppression; } });
|
|
93
97
|
var BillingInvoice_1 = require("./entities/BillingInvoice");
|
|
94
98
|
Object.defineProperty(exports, "BillingInvoice", { enumerable: true, get: function () { return BillingInvoice_1.BillingInvoice; } });
|
|
95
99
|
var PaymentTransaction_1 = require("./entities/PaymentTransaction");
|
|
@@ -34,9 +34,9 @@ export declare class ServicesOrder {
|
|
|
34
34
|
workshop_updated: Date;
|
|
35
35
|
workshop_status: number;
|
|
36
36
|
vehicle_id: number;
|
|
37
|
-
vehicle_plate: string;
|
|
37
|
+
vehicle_plate: string | null;
|
|
38
38
|
vehicle_brand: number;
|
|
39
|
-
vehicle_mileage: number;
|
|
39
|
+
vehicle_mileage: number | null;
|
|
40
40
|
vehicle_model: number;
|
|
41
41
|
vehicle_version: string;
|
|
42
42
|
vehicle_details: any;
|
|
@@ -156,7 +156,7 @@ __decorate([
|
|
|
156
156
|
], ServicesOrder.prototype, "vehicle_id", void 0);
|
|
157
157
|
__decorate([
|
|
158
158
|
(0, typeorm_1.ViewColumn)(),
|
|
159
|
-
__metadata("design:type",
|
|
159
|
+
__metadata("design:type", Object)
|
|
160
160
|
], ServicesOrder.prototype, "vehicle_plate", void 0);
|
|
161
161
|
__decorate([
|
|
162
162
|
(0, typeorm_1.ViewColumn)(),
|
|
@@ -164,7 +164,7 @@ __decorate([
|
|
|
164
164
|
], ServicesOrder.prototype, "vehicle_brand", void 0);
|
|
165
165
|
__decorate([
|
|
166
166
|
(0, typeorm_1.ViewColumn)(),
|
|
167
|
-
__metadata("design:type",
|
|
167
|
+
__metadata("design:type", Object)
|
|
168
168
|
], ServicesOrder.prototype, "vehicle_mileage", void 0);
|
|
169
169
|
__decorate([
|
|
170
170
|
(0, typeorm_1.ViewColumn)(),
|
package/dist/views/Vehicles.d.ts
CHANGED
package/dist/views/Vehicles.js
CHANGED
|
@@ -28,7 +28,7 @@ __decorate([
|
|
|
28
28
|
], Vehicles.prototype, "vehicle_type", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, typeorm_1.ViewColumn)(),
|
|
31
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
32
|
], Vehicles.prototype, "plate", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.ViewColumn)(),
|
|
@@ -36,7 +36,7 @@ __decorate([
|
|
|
36
36
|
], Vehicles.prototype, "brand", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, typeorm_1.ViewColumn)(),
|
|
39
|
-
__metadata("design:type",
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
40
|
], Vehicles.prototype, "mileage", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, typeorm_1.ViewColumn)(),
|