test-entity-library-asm 3.8.6 → 3.8.7
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/Partner.d.ts +1 -1
- package/dist/entities/Partner.js +3 -1
- package/dist/entities.views.routes.d.ts +1 -0
- package/dist/entities.views.routes.js +3 -1
- package/dist/views/LocalsCompanyInformationForTheMap.d.ts +32 -0
- package/dist/views/LocalsCompanyInformationForTheMap.js +166 -0
- package/package.json +1 -1
- package/src/entities/Partner.ts +3 -1
- package/src/entities.views.routes.ts +1 -0
- package/src/views/LocalsCompanyInformationForTheMap.ts +119 -0
package/dist/entities/Partner.js
CHANGED
|
@@ -81,9 +81,11 @@ var Partner = /** @class */ (function () {
|
|
|
81
81
|
length: 12,
|
|
82
82
|
unique: true,
|
|
83
83
|
type: "varchar",
|
|
84
|
+
nullable: true,
|
|
85
|
+
default: null,
|
|
84
86
|
comment: "Número de celular del partner.",
|
|
85
87
|
}),
|
|
86
|
-
__metadata("design:type",
|
|
88
|
+
__metadata("design:type", Object)
|
|
87
89
|
], Partner.prototype, "phone", void 0);
|
|
88
90
|
__decorate([
|
|
89
91
|
(0, typeorm_1.ManyToOne)(function () { return City_1.City; }, function (city) { return city.partners; }, {
|
|
@@ -80,6 +80,7 @@ export { DiscountsCodeUser } from "./views/DiscountsCodeUser";
|
|
|
80
80
|
export { PartnerNotifications } from "./views/PartnerNotifications";
|
|
81
81
|
export { LocalTableZonesFilter } from "./views/LocalTableZonesFilter";
|
|
82
82
|
export { LocalReserves } from "./views/LocalReserves";
|
|
83
|
+
export { LocalsCompanyInformationForTheMap } from "./views/LocalsCompanyInformationForTheMap";
|
|
83
84
|
export { getDiscountsCodeCompanyInformation } from "./filters/DiscountsCodeCompanyInformation";
|
|
84
85
|
export { getDiscountsCodeUserInformation } from "./filters/DiscountsCodeUserInformation";
|
|
85
86
|
export { getLocalsCompanyInformation } from "./filters/LocalsCompanyInformation";
|
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.ToppingImage = exports.ProductDate = exports.ProductSchedule = exports.CategoryDate = exports.Bank = exports.ServicePlan = exports.PartnerPlatform = exports.PartnerPlatformSection = exports.LocalPlan = exports.MasterNotification = exports.VerifyLocal = exports.PosSystem = exports.AuthenticationCredential = exports.BusinessType = exports.UserAddress = exports.User = exports.TypeMeasureIngredient = exports.Square = exports.RequestProductGroupComplement = exports.RequestProduct = exports.Request = exports.Region = exports.ProductTopping = exports.ProductIngredient = exports.ProductGroupComplement = exports.ProductGroup = exports.Product = exports.Plan = exports.PaymentMethod = exports.PartnerRole = exports.PartnerPlatformSectionPermission = exports.PartnerNotification = exports.Partner = exports.MasterRole = exports.MasterPermission = exports.Master = exports.LocalQualification = exports.Local = exports.DiscountCodeUser = exports.DiscountCodeCompany = exports.Day = exports.Country = exports.Configuration = exports.Company = exports.CodeRedemptionHistoryUser = exports.CodeRedemptionHistoryCompany = exports.City = exports.ScheduleCategory = exports.Category = exports.BusinessTypeProduct = void 0;
|
|
18
|
-
exports.CustomRepository = exports.getLocalReservesInformation = exports.getVerifyLocalsInformation = exports.getLocalsCompanyInformation = exports.getDiscountsCodeUserInformation = exports.getDiscountsCodeCompanyInformation = exports.LocalReserves = exports.LocalTableZonesFilter = exports.PartnerNotifications = exports.DiscountsCodeUser = exports.Partners = exports.ViewLocalsCompanies = exports.MasterNotifications = exports.VerifyLocals = exports.LocalsCompany = exports.PartnerPlatformSectionPermissionAssociate = exports.VerificationCode = exports.LocalPaymentMethod = exports.ProductImage = exports.Gallery = exports.RequestLocalTable = exports.RequestInvoiceCategory = exports.RequestInvoice = exports.LocalTableReserve = exports.LocalReserveStatus = exports.LocalReserve = exports.LocalTableReservePayment = exports.DecorationReserve = exports.LocalDecorationReserve = exports.LocalTable = exports.LocalTableZone = exports.RequestPrint = exports.ReceiptConfig = exports.RequestLocalPayment = exports.UserPaymentMethod = exports.RequestLocalHistory = exports.RequestLocal = exports.PartnerSession = void 0;
|
|
18
|
+
exports.CustomRepository = exports.getLocalReservesInformation = exports.getVerifyLocalsInformation = exports.getLocalsCompanyInformation = exports.getDiscountsCodeUserInformation = exports.getDiscountsCodeCompanyInformation = exports.LocalsCompanyInformationForTheMap = exports.LocalReserves = exports.LocalTableZonesFilter = exports.PartnerNotifications = exports.DiscountsCodeUser = exports.Partners = exports.ViewLocalsCompanies = exports.MasterNotifications = exports.VerifyLocals = exports.LocalsCompany = exports.PartnerPlatformSectionPermissionAssociate = exports.VerificationCode = exports.LocalPaymentMethod = exports.ProductImage = exports.Gallery = exports.RequestLocalTable = exports.RequestInvoiceCategory = exports.RequestInvoice = exports.LocalTableReserve = exports.LocalReserveStatus = exports.LocalReserve = exports.LocalTableReservePayment = exports.DecorationReserve = exports.LocalDecorationReserve = exports.LocalTable = exports.LocalTableZone = exports.RequestPrint = exports.ReceiptConfig = exports.RequestLocalPayment = exports.UserPaymentMethod = exports.RequestLocalHistory = exports.RequestLocal = exports.PartnerSession = void 0;
|
|
19
19
|
var BusinessTypeProduct_1 = require("./entities/BusinessTypeProduct");
|
|
20
20
|
Object.defineProperty(exports, "BusinessTypeProduct", { enumerable: true, get: function () { return BusinessTypeProduct_1.BusinessTypeProduct; } });
|
|
21
21
|
var Category_1 = require("./entities/Category");
|
|
@@ -180,6 +180,8 @@ var LocalTableZonesFilter_1 = require("./views/LocalTableZonesFilter");
|
|
|
180
180
|
Object.defineProperty(exports, "LocalTableZonesFilter", { enumerable: true, get: function () { return LocalTableZonesFilter_1.LocalTableZonesFilter; } });
|
|
181
181
|
var LocalReserves_1 = require("./views/LocalReserves");
|
|
182
182
|
Object.defineProperty(exports, "LocalReserves", { enumerable: true, get: function () { return LocalReserves_1.LocalReserves; } });
|
|
183
|
+
var LocalsCompanyInformationForTheMap_1 = require("./views/LocalsCompanyInformationForTheMap");
|
|
184
|
+
Object.defineProperty(exports, "LocalsCompanyInformationForTheMap", { enumerable: true, get: function () { return LocalsCompanyInformationForTheMap_1.LocalsCompanyInformationForTheMap; } });
|
|
183
185
|
var DiscountsCodeCompanyInformation_1 = require("./filters/DiscountsCodeCompanyInformation");
|
|
184
186
|
Object.defineProperty(exports, "getDiscountsCodeCompanyInformation", { enumerable: true, get: function () { return DiscountsCodeCompanyInformation_1.getDiscountsCodeCompanyInformation; } });
|
|
185
187
|
var DiscountsCodeUserInformation_1 = require("./filters/DiscountsCodeUserInformation");
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare class LocalsCompanyInformationForTheMap {
|
|
2
|
+
id: number;
|
|
3
|
+
company: number;
|
|
4
|
+
name: string;
|
|
5
|
+
city: number;
|
|
6
|
+
address: string;
|
|
7
|
+
latitude: number;
|
|
8
|
+
longitude: number;
|
|
9
|
+
details: any | null;
|
|
10
|
+
created: string;
|
|
11
|
+
updated: string;
|
|
12
|
+
updated_by: number;
|
|
13
|
+
square: number | null;
|
|
14
|
+
pos_system: number;
|
|
15
|
+
pos_system_settings: any | null;
|
|
16
|
+
status: number;
|
|
17
|
+
visible: number;
|
|
18
|
+
contact_details: any | null;
|
|
19
|
+
company_code: string;
|
|
20
|
+
company_name: string;
|
|
21
|
+
company_partner: number;
|
|
22
|
+
company_profile: any | null;
|
|
23
|
+
company_contact_details: any | null;
|
|
24
|
+
company_settings: any | null;
|
|
25
|
+
company_created: string;
|
|
26
|
+
company_expiration: string | null;
|
|
27
|
+
company_updated: string;
|
|
28
|
+
company_status: number;
|
|
29
|
+
total_requests: number;
|
|
30
|
+
total_ratings: number;
|
|
31
|
+
average_rating: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
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.LocalsCompanyInformationForTheMap = void 0;
|
|
13
|
+
var typeorm_1 = require("typeorm");
|
|
14
|
+
var moment = require("moment-timezone");
|
|
15
|
+
var __1 = require("..");
|
|
16
|
+
var jsonTransformer = {
|
|
17
|
+
to: function (value) { return JSON.stringify(value); },
|
|
18
|
+
from: function (value) {
|
|
19
|
+
try {
|
|
20
|
+
return JSON.parse(value);
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
console.log(error, "Transformer error");
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
var DateTransformer = {
|
|
29
|
+
to: function (value) {
|
|
30
|
+
return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
|
|
31
|
+
},
|
|
32
|
+
from: function (value) {
|
|
33
|
+
return moment.utc(value).tz((0, __1.getTimeZone)()).format("YYYY-MM-DD HH:mm:ss");
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
var LocalsCompanyInformationForTheMap = /** @class */ (function () {
|
|
37
|
+
function LocalsCompanyInformationForTheMap() {
|
|
38
|
+
}
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.ViewColumn)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], LocalsCompanyInformationForTheMap.prototype, "id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.ViewColumn)(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], LocalsCompanyInformationForTheMap.prototype, "company", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.ViewColumn)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], LocalsCompanyInformationForTheMap.prototype, "name", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.ViewColumn)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], LocalsCompanyInformationForTheMap.prototype, "city", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.ViewColumn)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], LocalsCompanyInformationForTheMap.prototype, "address", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.ViewColumn)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], LocalsCompanyInformationForTheMap.prototype, "latitude", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.ViewColumn)(),
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], LocalsCompanyInformationForTheMap.prototype, "longitude", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
69
|
+
__metadata("design:type", Object)
|
|
70
|
+
], LocalsCompanyInformationForTheMap.prototype, "details", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], LocalsCompanyInformationForTheMap.prototype, "created", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], LocalsCompanyInformationForTheMap.prototype, "updated", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.ViewColumn)(),
|
|
81
|
+
__metadata("design:type", Number)
|
|
82
|
+
], LocalsCompanyInformationForTheMap.prototype, "updated_by", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.ViewColumn)(),
|
|
85
|
+
__metadata("design:type", Object)
|
|
86
|
+
], LocalsCompanyInformationForTheMap.prototype, "square", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.ViewColumn)(),
|
|
89
|
+
__metadata("design:type", Number)
|
|
90
|
+
], LocalsCompanyInformationForTheMap.prototype, "pos_system", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], LocalsCompanyInformationForTheMap.prototype, "pos_system_settings", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.ViewColumn)(),
|
|
97
|
+
__metadata("design:type", Number)
|
|
98
|
+
], LocalsCompanyInformationForTheMap.prototype, "status", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.ViewColumn)(),
|
|
101
|
+
__metadata("design:type", Number)
|
|
102
|
+
], LocalsCompanyInformationForTheMap.prototype, "visible", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
105
|
+
__metadata("design:type", Object)
|
|
106
|
+
], LocalsCompanyInformationForTheMap.prototype, "contact_details", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.ViewColumn)(),
|
|
109
|
+
__metadata("design:type", String)
|
|
110
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_code", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, typeorm_1.ViewColumn)(),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_name", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, typeorm_1.ViewColumn)(),
|
|
117
|
+
__metadata("design:type", Number)
|
|
118
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_partner", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
121
|
+
__metadata("design:type", Object)
|
|
122
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_profile", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
125
|
+
__metadata("design:type", Object)
|
|
126
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_contact_details", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
129
|
+
__metadata("design:type", Object)
|
|
130
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_settings", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
133
|
+
__metadata("design:type", String)
|
|
134
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_created", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
137
|
+
__metadata("design:type", Object)
|
|
138
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_expiration", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
141
|
+
__metadata("design:type", String)
|
|
142
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_updated", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, typeorm_1.ViewColumn)(),
|
|
145
|
+
__metadata("design:type", Number)
|
|
146
|
+
], LocalsCompanyInformationForTheMap.prototype, "company_status", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, typeorm_1.ViewColumn)(),
|
|
149
|
+
__metadata("design:type", Number)
|
|
150
|
+
], LocalsCompanyInformationForTheMap.prototype, "total_requests", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, typeorm_1.ViewColumn)(),
|
|
153
|
+
__metadata("design:type", Number)
|
|
154
|
+
], LocalsCompanyInformationForTheMap.prototype, "total_ratings", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, typeorm_1.ViewColumn)(),
|
|
157
|
+
__metadata("design:type", Number)
|
|
158
|
+
], LocalsCompanyInformationForTheMap.prototype, "average_rating", void 0);
|
|
159
|
+
LocalsCompanyInformationForTheMap = __decorate([
|
|
160
|
+
(0, typeorm_1.ViewEntity)({
|
|
161
|
+
name: "locals_company_information_for_the_map",
|
|
162
|
+
})
|
|
163
|
+
], LocalsCompanyInformationForTheMap);
|
|
164
|
+
return LocalsCompanyInformationForTheMap;
|
|
165
|
+
}());
|
|
166
|
+
exports.LocalsCompanyInformationForTheMap = LocalsCompanyInformationForTheMap;
|
package/package.json
CHANGED
package/src/entities/Partner.ts
CHANGED
|
@@ -90,9 +90,11 @@ export class Partner {
|
|
|
90
90
|
length: 12,
|
|
91
91
|
unique: true,
|
|
92
92
|
type: "varchar",
|
|
93
|
+
nullable: true,
|
|
94
|
+
default: null,
|
|
93
95
|
comment: "Número de celular del partner.",
|
|
94
96
|
})
|
|
95
|
-
phone: string;
|
|
97
|
+
phone: string | null;
|
|
96
98
|
|
|
97
99
|
@ManyToOne(() => City, (city) => city.partners, {
|
|
98
100
|
onDelete: "RESTRICT",
|
|
@@ -81,6 +81,7 @@ export { DiscountsCodeUser } from "./views/DiscountsCodeUser";
|
|
|
81
81
|
export { PartnerNotifications } from "./views/PartnerNotifications";
|
|
82
82
|
export { LocalTableZonesFilter } from "./views/LocalTableZonesFilter";
|
|
83
83
|
export { LocalReserves } from "./views/LocalReserves";
|
|
84
|
+
export { LocalsCompanyInformationForTheMap } from "./views/LocalsCompanyInformationForTheMap";
|
|
84
85
|
|
|
85
86
|
export { getDiscountsCodeCompanyInformation } from "./filters/DiscountsCodeCompanyInformation";
|
|
86
87
|
export { getDiscountsCodeUserInformation } from "./filters/DiscountsCodeUserInformation";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { ViewColumn, ViewEntity } from "typeorm";
|
|
2
|
+
import moment = require("moment-timezone");
|
|
3
|
+
import { getTimeZone } from "..";
|
|
4
|
+
|
|
5
|
+
const jsonTransformer = {
|
|
6
|
+
to: (value: any) => JSON.stringify(value),
|
|
7
|
+
from: (value: string) => {
|
|
8
|
+
try {
|
|
9
|
+
return JSON.parse(value);
|
|
10
|
+
} catch (error) {
|
|
11
|
+
console.log(error, "Transformer error");
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const DateTransformer = {
|
|
18
|
+
to(value: Date | string): string {
|
|
19
|
+
return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
|
|
20
|
+
},
|
|
21
|
+
from(value: string): string {
|
|
22
|
+
return moment.utc(value).tz(getTimeZone()).format("YYYY-MM-DD HH:mm:ss");
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
@ViewEntity({
|
|
27
|
+
name: "locals_company_information_for_the_map",
|
|
28
|
+
})
|
|
29
|
+
export class LocalsCompanyInformationForTheMap {
|
|
30
|
+
@ViewColumn()
|
|
31
|
+
id: number;
|
|
32
|
+
|
|
33
|
+
@ViewColumn()
|
|
34
|
+
company: number;
|
|
35
|
+
|
|
36
|
+
@ViewColumn()
|
|
37
|
+
name: string;
|
|
38
|
+
|
|
39
|
+
@ViewColumn()
|
|
40
|
+
city: number;
|
|
41
|
+
|
|
42
|
+
@ViewColumn()
|
|
43
|
+
address: string;
|
|
44
|
+
|
|
45
|
+
@ViewColumn()
|
|
46
|
+
latitude: number;
|
|
47
|
+
|
|
48
|
+
@ViewColumn()
|
|
49
|
+
longitude: number;
|
|
50
|
+
|
|
51
|
+
@ViewColumn({ transformer: jsonTransformer })
|
|
52
|
+
details: any | null;
|
|
53
|
+
|
|
54
|
+
@ViewColumn({ transformer: DateTransformer })
|
|
55
|
+
created: string;
|
|
56
|
+
|
|
57
|
+
@ViewColumn({ transformer: DateTransformer })
|
|
58
|
+
updated: string;
|
|
59
|
+
|
|
60
|
+
@ViewColumn()
|
|
61
|
+
updated_by: number;
|
|
62
|
+
|
|
63
|
+
@ViewColumn()
|
|
64
|
+
square: number | null;
|
|
65
|
+
|
|
66
|
+
@ViewColumn()
|
|
67
|
+
pos_system: number;
|
|
68
|
+
|
|
69
|
+
@ViewColumn({ transformer: jsonTransformer })
|
|
70
|
+
pos_system_settings: any | null;
|
|
71
|
+
|
|
72
|
+
@ViewColumn()
|
|
73
|
+
status: number;
|
|
74
|
+
|
|
75
|
+
@ViewColumn()
|
|
76
|
+
visible: number;
|
|
77
|
+
|
|
78
|
+
@ViewColumn({ transformer: jsonTransformer })
|
|
79
|
+
contact_details: any | null;
|
|
80
|
+
|
|
81
|
+
@ViewColumn()
|
|
82
|
+
company_code: string;
|
|
83
|
+
|
|
84
|
+
@ViewColumn()
|
|
85
|
+
company_name: string;
|
|
86
|
+
|
|
87
|
+
@ViewColumn()
|
|
88
|
+
company_partner: number;
|
|
89
|
+
|
|
90
|
+
@ViewColumn({ transformer: jsonTransformer })
|
|
91
|
+
company_profile: any | null;
|
|
92
|
+
|
|
93
|
+
@ViewColumn({ transformer: jsonTransformer })
|
|
94
|
+
company_contact_details: any | null;
|
|
95
|
+
|
|
96
|
+
@ViewColumn({ transformer: jsonTransformer })
|
|
97
|
+
company_settings: any | null;
|
|
98
|
+
|
|
99
|
+
@ViewColumn({ transformer: DateTransformer })
|
|
100
|
+
company_created: string;
|
|
101
|
+
|
|
102
|
+
@ViewColumn({ transformer: DateTransformer })
|
|
103
|
+
company_expiration: string | null;
|
|
104
|
+
|
|
105
|
+
@ViewColumn({ transformer: DateTransformer })
|
|
106
|
+
company_updated: string;
|
|
107
|
+
|
|
108
|
+
@ViewColumn()
|
|
109
|
+
company_status: number;
|
|
110
|
+
|
|
111
|
+
@ViewColumn()
|
|
112
|
+
total_requests: number;
|
|
113
|
+
|
|
114
|
+
@ViewColumn()
|
|
115
|
+
total_ratings: number;
|
|
116
|
+
|
|
117
|
+
@ViewColumn()
|
|
118
|
+
average_rating: number;
|
|
119
|
+
}
|