test-entity-library-asm 3.9.5 → 3.9.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/CustomRepository.js +21 -109
- package/dist/entities/AuthenticationCredential.js +54 -57
- package/dist/entities/Bank.js +50 -53
- package/dist/entities/BusinessType.js +47 -50
- package/dist/entities/BusinessTypeProduct.js +68 -71
- package/dist/entities/Category.js +148 -151
- package/dist/entities/CategoryDate.js +39 -42
- package/dist/entities/CategorySchedule.js +41 -44
- package/dist/entities/City.js +70 -73
- package/dist/entities/CodeRedemptionHistoryCompany.js +44 -47
- package/dist/entities/CodeRedemptionHistoryUser.js +54 -57
- package/dist/entities/Company.js +169 -172
- package/dist/entities/Configuration.d.ts +1 -1
- package/dist/entities/Configuration.js +25 -26
- package/dist/entities/Country.js +91 -94
- package/dist/entities/Day.js +38 -41
- package/dist/entities/DecorationReserve.js +46 -49
- package/dist/entities/DiscountCodeCompany.js +124 -129
- package/dist/entities/DiscountCodeUser.js +139 -142
- package/dist/entities/Gallery.js +88 -91
- package/dist/entities/Local.js +239 -242
- package/dist/entities/LocalDecorationReserve.js +64 -67
- package/dist/entities/LocalPaymentMethod.js +41 -44
- package/dist/entities/LocalPlan.js +88 -91
- package/dist/entities/LocalQualification.js +51 -54
- package/dist/entities/LocalReserve.js +177 -180
- package/dist/entities/LocalReserveStatus.js +85 -88
- package/dist/entities/LocalTable.js +163 -166
- package/dist/entities/LocalTableReserve.js +22 -25
- package/dist/entities/LocalTableReservePayment.js +156 -159
- package/dist/entities/LocalTableZone.js +84 -87
- package/dist/entities/Master.js +182 -185
- package/dist/entities/MasterNotification.js +96 -99
- package/dist/entities/MasterPermission.js +65 -68
- package/dist/entities/MasterRole.js +83 -86
- package/dist/entities/Partner.js +306 -309
- package/dist/entities/PartnerNotification.js +97 -100
- package/dist/entities/PartnerPlatform.js +66 -69
- package/dist/entities/PartnerPlatformSection.js +74 -79
- package/dist/entities/PartnerPlatformSectionPermission.js +113 -118
- package/dist/entities/PartnerPlatformSectionPermissionAssociate.js +26 -29
- package/dist/entities/PartnerRole.js +93 -96
- package/dist/entities/PartnerSession.js +94 -97
- package/dist/entities/PaymentMethod.js +91 -94
- package/dist/entities/Plan.js +86 -89
- package/dist/entities/PosSystem.js +69 -74
- package/dist/entities/Product.js +219 -222
- package/dist/entities/ProductDate.js +39 -42
- package/dist/entities/ProductGroup.js +76 -79
- package/dist/entities/ProductImage.js +33 -36
- package/dist/entities/ProductIngredient.js +54 -57
- package/dist/entities/ProductSchedule.js +41 -44
- package/dist/entities/ProductTopping.js +47 -50
- package/dist/entities/ReceiptConfig.js +184 -187
- package/dist/entities/Region.js +46 -49
- package/dist/entities/Request.js +152 -155
- package/dist/entities/RequestInvoice.js +125 -128
- package/dist/entities/RequestInvoiceCategory.js +34 -37
- package/dist/entities/RequestLocal.js +164 -169
- package/dist/entities/RequestLocalHistory.js +61 -64
- package/dist/entities/RequestLocalPayment.js +154 -157
- package/dist/entities/RequestLocalTable.js +34 -37
- package/dist/entities/RequestPrint.js +60 -63
- package/dist/entities/RequestProduct.js +58 -61
- package/dist/entities/RequestProductGroupComplement.js +51 -56
- package/dist/entities/ServiceDiscountsPlan.js +30 -33
- package/dist/entities/ServicePlan.js +84 -87
- package/dist/entities/Square.js +130 -133
- package/dist/entities/ToppingImage.js +56 -59
- package/dist/entities/TypeMeasureIngredient.js +45 -48
- package/dist/entities/User.js +234 -237
- package/dist/entities/UserAddress.js +114 -117
- package/dist/entities/UserPaymentMethod.js +118 -121
- package/dist/entities/VerificationCode.js +60 -63
- package/dist/entities/VerifyLocal.js +142 -145
- package/dist/entities/productGroupComplement.js +117 -120
- package/dist/filters/DiscountsCodeCompanyInformation.js +153 -202
- package/dist/filters/DiscountsCodeUserInformation.js +173 -220
- package/dist/filters/LocalReservesInformation.js +35 -81
- package/dist/filters/LocalsCompanyInformation.js +169 -218
- package/dist/filters/LocalsCompanyInformationForTheTable.js +157 -203
- package/dist/filters/VerifyLocalsInformation.js +131 -179
- package/dist/index.js +55 -130
- package/dist/transformers/dateTransformer.js +10 -13
- package/dist/transformers/jsonEncryptionTransformer.d.ts +2 -0
- package/dist/transformers/jsonEncryptionTransformer.js +72 -0
- package/dist/transformers/jsonTransformer.js +2 -2
- package/dist/utils.js +3 -3
- package/dist/views/DiscountsCodeUser.js +120 -123
- package/dist/views/LocalReserves.js +280 -283
- package/dist/views/LocalTableZonesFilter.js +76 -79
- package/dist/views/LocalsCompany.js +172 -175
- package/dist/views/LocalsCompanyInformationForTheMap.js +276 -279
- package/dist/views/LocalsCompanyInformationForTheTable.js +384 -387
- package/dist/views/MasterNotifications.js +132 -135
- package/dist/views/PartnerNotifications.js +104 -107
- package/dist/views/Partners.js +140 -143
- package/dist/views/VerifyLocals.js +152 -155
- package/dist/views/ViewLocalsCompanies.js +100 -103
- package/package.json +3 -2
- package/src/entities/Configuration.ts +3 -1
- package/src/transformers/jsonEncryptionTransformer.ts +78 -0
- package/tsconfig.json +7 -3
package/dist/views/Partners.js
CHANGED
|
@@ -10,13 +10,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Partners = void 0;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const moment = require("moment-timezone");
|
|
15
|
+
const __1 = require("..");
|
|
16
16
|
// JSON Transformer
|
|
17
|
-
|
|
18
|
-
to:
|
|
19
|
-
from:
|
|
17
|
+
const jsonTransformer = {
|
|
18
|
+
to: (value) => JSON.stringify(value),
|
|
19
|
+
from: (value) => {
|
|
20
20
|
try {
|
|
21
21
|
return JSON.parse(value);
|
|
22
22
|
}
|
|
@@ -26,146 +26,143 @@ var jsonTransformer = {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
to
|
|
29
|
+
const DateTransformer = {
|
|
30
|
+
to(value) {
|
|
31
31
|
return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
|
|
32
32
|
},
|
|
33
|
-
from
|
|
33
|
+
from(value) {
|
|
34
34
|
return moment.utc(value).tz((0, __1.getTimeZone)()).format("YYYY-MM-DD HH:mm:ss");
|
|
35
35
|
},
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.ViewColumn)(),
|
|
42
|
-
__metadata("design:type", Number)
|
|
43
|
-
], Partners.prototype, "id", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.ViewColumn)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], Partners.prototype, "company", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.ViewColumn)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], Partners.prototype, "code", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.ViewColumn)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], Partners.prototype, "document", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.ViewColumn)(),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], Partners.prototype, "name", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.ViewColumn)(),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], Partners.prototype, "surname", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, typeorm_1.ViewColumn)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], Partners.prototype, "email", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.ViewColumn)(),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], Partners.prototype, "phone", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.ViewColumn)(),
|
|
74
|
-
__metadata("design:type", Number)
|
|
75
|
-
], Partners.prototype, "city", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, typeorm_1.ViewColumn)(),
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], Partners.prototype, "address", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, typeorm_1.ViewColumn)(),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], Partners.prototype, "password", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
86
|
-
__metadata("design:type", Object)
|
|
87
|
-
], Partners.prototype, "profile", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, typeorm_1.ViewColumn)(),
|
|
90
|
-
__metadata("design:type", Number)
|
|
91
|
-
], Partners.prototype, "owner", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], Partners.prototype, "created", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], Partners.prototype, "updated", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, typeorm_1.ViewColumn)(),
|
|
102
|
-
__metadata("design:type", Number)
|
|
103
|
-
], Partners.prototype, "status", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, typeorm_1.ViewColumn)(),
|
|
106
|
-
__metadata("design:type", Number)
|
|
107
|
-
], Partners.prototype, "visible", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, typeorm_1.ViewColumn)(),
|
|
110
|
-
__metadata("design:type", Number)
|
|
111
|
-
], Partners.prototype, "city_region", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, typeorm_1.ViewColumn)(),
|
|
114
|
-
__metadata("design:type", String)
|
|
115
|
-
], Partners.prototype, "city_name", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
(0, typeorm_1.ViewColumn)(),
|
|
118
|
-
__metadata("design:type", Number)
|
|
119
|
-
], Partners.prototype, "city_status", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, typeorm_1.ViewColumn)(),
|
|
122
|
-
__metadata("design:type", Number)
|
|
123
|
-
], Partners.prototype, "region_country", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
(0, typeorm_1.ViewColumn)(),
|
|
126
|
-
__metadata("design:type", String)
|
|
127
|
-
], Partners.prototype, "region_name", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, typeorm_1.ViewColumn)(),
|
|
130
|
-
__metadata("design:type", Number)
|
|
131
|
-
], Partners.prototype, "region_status", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, typeorm_1.ViewColumn)(),
|
|
134
|
-
__metadata("design:type", String)
|
|
135
|
-
], Partners.prototype, "country_code", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, typeorm_1.ViewColumn)(),
|
|
138
|
-
__metadata("design:type", String)
|
|
139
|
-
], Partners.prototype, "country_name", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
(0, typeorm_1.ViewColumn)(),
|
|
142
|
-
__metadata("design:type", String)
|
|
143
|
-
], Partners.prototype, "country_currency", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, typeorm_1.ViewColumn)(),
|
|
146
|
-
__metadata("design:type", String)
|
|
147
|
-
], Partners.prototype, "country_prefix", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
(0, typeorm_1.ViewColumn)(),
|
|
150
|
-
__metadata("design:type", String)
|
|
151
|
-
], Partners.prototype, "country_structure_phone", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
154
|
-
__metadata("design:type", Object)
|
|
155
|
-
], Partners.prototype, "country_details", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
(0, typeorm_1.ViewColumn)(),
|
|
158
|
-
__metadata("design:type", Number)
|
|
159
|
-
], Partners.prototype, "country_status", void 0);
|
|
160
|
-
__decorate([
|
|
161
|
-
(0, typeorm_1.ViewColumn)(),
|
|
162
|
-
__metadata("design:type", Number)
|
|
163
|
-
], Partners.prototype, "assigned_local", void 0);
|
|
164
|
-
Partners = __decorate([
|
|
165
|
-
(0, typeorm_1.ViewEntity)({
|
|
166
|
-
name: "partners",
|
|
167
|
-
})
|
|
168
|
-
], Partners);
|
|
169
|
-
return Partners;
|
|
170
|
-
}());
|
|
37
|
+
let Partners = class Partners {
|
|
38
|
+
};
|
|
171
39
|
exports.Partners = Partners;
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ViewColumn)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], Partners.prototype, "id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.ViewColumn)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], Partners.prototype, "company", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.ViewColumn)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Partners.prototype, "code", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.ViewColumn)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], Partners.prototype, "document", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.ViewColumn)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Partners.prototype, "name", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ViewColumn)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], Partners.prototype, "surname", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.ViewColumn)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], Partners.prototype, "email", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.ViewColumn)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], Partners.prototype, "phone", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.ViewColumn)(),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], Partners.prototype, "city", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.ViewColumn)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], Partners.prototype, "address", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.ViewColumn)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], Partners.prototype, "password", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], Partners.prototype, "profile", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.ViewColumn)(),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], Partners.prototype, "owner", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], Partners.prototype, "created", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], Partners.prototype, "updated", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.ViewColumn)(),
|
|
102
|
+
__metadata("design:type", Number)
|
|
103
|
+
], Partners.prototype, "status", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.ViewColumn)(),
|
|
106
|
+
__metadata("design:type", Number)
|
|
107
|
+
], Partners.prototype, "visible", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, typeorm_1.ViewColumn)(),
|
|
110
|
+
__metadata("design:type", Number)
|
|
111
|
+
], Partners.prototype, "city_region", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.ViewColumn)(),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], Partners.prototype, "city_name", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, typeorm_1.ViewColumn)(),
|
|
118
|
+
__metadata("design:type", Number)
|
|
119
|
+
], Partners.prototype, "city_status", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, typeorm_1.ViewColumn)(),
|
|
122
|
+
__metadata("design:type", Number)
|
|
123
|
+
], Partners.prototype, "region_country", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, typeorm_1.ViewColumn)(),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], Partners.prototype, "region_name", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.ViewColumn)(),
|
|
130
|
+
__metadata("design:type", Number)
|
|
131
|
+
], Partners.prototype, "region_status", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, typeorm_1.ViewColumn)(),
|
|
134
|
+
__metadata("design:type", String)
|
|
135
|
+
], Partners.prototype, "country_code", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, typeorm_1.ViewColumn)(),
|
|
138
|
+
__metadata("design:type", String)
|
|
139
|
+
], Partners.prototype, "country_name", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, typeorm_1.ViewColumn)(),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], Partners.prototype, "country_currency", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, typeorm_1.ViewColumn)(),
|
|
146
|
+
__metadata("design:type", String)
|
|
147
|
+
], Partners.prototype, "country_prefix", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, typeorm_1.ViewColumn)(),
|
|
150
|
+
__metadata("design:type", String)
|
|
151
|
+
], Partners.prototype, "country_structure_phone", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
154
|
+
__metadata("design:type", Object)
|
|
155
|
+
], Partners.prototype, "country_details", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, typeorm_1.ViewColumn)(),
|
|
158
|
+
__metadata("design:type", Number)
|
|
159
|
+
], Partners.prototype, "country_status", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, typeorm_1.ViewColumn)(),
|
|
162
|
+
__metadata("design:type", Number)
|
|
163
|
+
], Partners.prototype, "assigned_local", void 0);
|
|
164
|
+
exports.Partners = Partners = __decorate([
|
|
165
|
+
(0, typeorm_1.ViewEntity)({
|
|
166
|
+
name: "partners",
|
|
167
|
+
})
|
|
168
|
+
], Partners);
|
|
@@ -10,166 +10,163 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VerifyLocals = void 0;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const moment = require("moment-timezone");
|
|
15
|
+
const __1 = require("..");
|
|
16
16
|
// JSON Transformer
|
|
17
|
-
|
|
18
|
-
to:
|
|
19
|
-
from:
|
|
17
|
+
const jsonTransformer = {
|
|
18
|
+
to: (value) => JSON.stringify(value),
|
|
19
|
+
from: (value) => JSON.parse(value),
|
|
20
20
|
};
|
|
21
|
-
|
|
22
|
-
to
|
|
21
|
+
const DateTransformer = {
|
|
22
|
+
to(value) {
|
|
23
23
|
return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
|
|
24
24
|
},
|
|
25
|
-
from
|
|
25
|
+
from(value) {
|
|
26
26
|
return moment.utc(value).tz((0, __1.getTimeZone)()).format("YYYY-MM-DD HH:mm:ss");
|
|
27
27
|
},
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.ViewColumn)(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], VerifyLocals.prototype, "id", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
38
|
-
__metadata("design:type", Object)
|
|
39
|
-
], VerifyLocals.prototype, "local_information", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
42
|
-
__metadata("design:type", Object)
|
|
43
|
-
], VerifyLocals.prototype, "basic_information", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.ViewColumn)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], VerifyLocals.prototype, "partner", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.ViewColumn)(),
|
|
50
|
-
__metadata("design:type", Number)
|
|
51
|
-
], VerifyLocals.prototype, "assigned_master", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
54
|
-
__metadata("design:type", Object)
|
|
55
|
-
], VerifyLocals.prototype, "settings", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
58
|
-
__metadata("design:type", Object)
|
|
59
|
-
], VerifyLocals.prototype, "opening_hours", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
62
|
-
__metadata("design:type", Object)
|
|
63
|
-
], VerifyLocals.prototype, "terminal_users", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
66
|
-
__metadata("design:type", Object)
|
|
67
|
-
], VerifyLocals.prototype, "terminals", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
70
|
-
__metadata("design:type", Object)
|
|
71
|
-
], VerifyLocals.prototype, "details", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
74
|
-
__metadata("design:type", String)
|
|
75
|
-
], VerifyLocals.prototype, "created", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], VerifyLocals.prototype, "verification_date", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], VerifyLocals.prototype, "update_partner", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, typeorm_1.ViewColumn)(),
|
|
86
|
-
__metadata("design:type", Number)
|
|
87
|
-
], VerifyLocals.prototype, "status", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, typeorm_1.ViewColumn)(),
|
|
90
|
-
__metadata("design:type", Number)
|
|
91
|
-
], VerifyLocals.prototype, "master_notification_id", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
94
|
-
__metadata("design:type", Object)
|
|
95
|
-
], VerifyLocals.prototype, "master_notification_settings", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, typeorm_1.ViewColumn)(),
|
|
98
|
-
__metadata("design:type", Number)
|
|
99
|
-
], VerifyLocals.prototype, "master_notification_status", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, typeorm_1.ViewColumn)(),
|
|
102
|
-
__metadata("design:type", Number)
|
|
103
|
-
], VerifyLocals.prototype, "master_id", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, typeorm_1.ViewColumn)(),
|
|
106
|
-
__metadata("design:type", String)
|
|
107
|
-
], VerifyLocals.prototype, "master_name", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, typeorm_1.ViewColumn)(),
|
|
110
|
-
__metadata("design:type", String)
|
|
111
|
-
], VerifyLocals.prototype, "master_surname", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, typeorm_1.ViewColumn)(),
|
|
114
|
-
__metadata("design:type", String)
|
|
115
|
-
], VerifyLocals.prototype, "master_document", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
(0, typeorm_1.ViewColumn)(),
|
|
118
|
-
__metadata("design:type", String)
|
|
119
|
-
], VerifyLocals.prototype, "master_email", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, typeorm_1.ViewColumn)(),
|
|
122
|
-
__metadata("design:type", String)
|
|
123
|
-
], VerifyLocals.prototype, "master_phone", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
126
|
-
__metadata("design:type", Object)
|
|
127
|
-
], VerifyLocals.prototype, "master_profile", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, typeorm_1.ViewColumn)(),
|
|
130
|
-
__metadata("design:type", Number)
|
|
131
|
-
], VerifyLocals.prototype, "partner_id", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, typeorm_1.ViewColumn)(),
|
|
134
|
-
__metadata("design:type", String)
|
|
135
|
-
], VerifyLocals.prototype, "partner_name", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, typeorm_1.ViewColumn)(),
|
|
138
|
-
__metadata("design:type", String)
|
|
139
|
-
], VerifyLocals.prototype, "partner_surname", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
(0, typeorm_1.ViewColumn)(),
|
|
142
|
-
__metadata("design:type", String)
|
|
143
|
-
], VerifyLocals.prototype, "partner_document", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, typeorm_1.ViewColumn)(),
|
|
146
|
-
__metadata("design:type", String)
|
|
147
|
-
], VerifyLocals.prototype, "partner_email", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
(0, typeorm_1.ViewColumn)(),
|
|
150
|
-
__metadata("design:type", String)
|
|
151
|
-
], VerifyLocals.prototype, "partner_phone", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
154
|
-
__metadata("design:type", Object)
|
|
155
|
-
], VerifyLocals.prototype, "partner_profile", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
(0, typeorm_1.ViewColumn)(),
|
|
158
|
-
__metadata("design:type", Number)
|
|
159
|
-
], VerifyLocals.prototype, "company_id", void 0);
|
|
160
|
-
__decorate([
|
|
161
|
-
(0, typeorm_1.ViewColumn)(),
|
|
162
|
-
__metadata("design:type", String)
|
|
163
|
-
], VerifyLocals.prototype, "company_name", void 0);
|
|
164
|
-
__decorate([
|
|
165
|
-
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
166
|
-
__metadata("design:type", Object)
|
|
167
|
-
], VerifyLocals.prototype, "company_profile", void 0);
|
|
168
|
-
VerifyLocals = __decorate([
|
|
169
|
-
(0, typeorm_1.ViewEntity)({
|
|
170
|
-
name: "verify_locals",
|
|
171
|
-
})
|
|
172
|
-
], VerifyLocals);
|
|
173
|
-
return VerifyLocals;
|
|
174
|
-
}());
|
|
29
|
+
let VerifyLocals = class VerifyLocals {
|
|
30
|
+
};
|
|
175
31
|
exports.VerifyLocals = VerifyLocals;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.ViewColumn)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], VerifyLocals.prototype, "id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], VerifyLocals.prototype, "local_information", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], VerifyLocals.prototype, "basic_information", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.ViewColumn)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], VerifyLocals.prototype, "partner", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.ViewColumn)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], VerifyLocals.prototype, "assigned_master", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], VerifyLocals.prototype, "settings", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], VerifyLocals.prototype, "opening_hours", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], VerifyLocals.prototype, "terminal_users", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], VerifyLocals.prototype, "terminals", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], VerifyLocals.prototype, "details", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], VerifyLocals.prototype, "created", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], VerifyLocals.prototype, "verification_date", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], VerifyLocals.prototype, "update_partner", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.ViewColumn)(),
|
|
86
|
+
__metadata("design:type", Number)
|
|
87
|
+
], VerifyLocals.prototype, "status", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.ViewColumn)(),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], VerifyLocals.prototype, "master_notification_id", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
94
|
+
__metadata("design:type", Object)
|
|
95
|
+
], VerifyLocals.prototype, "master_notification_settings", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.ViewColumn)(),
|
|
98
|
+
__metadata("design:type", Number)
|
|
99
|
+
], VerifyLocals.prototype, "master_notification_status", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.ViewColumn)(),
|
|
102
|
+
__metadata("design:type", Number)
|
|
103
|
+
], VerifyLocals.prototype, "master_id", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.ViewColumn)(),
|
|
106
|
+
__metadata("design:type", String)
|
|
107
|
+
], VerifyLocals.prototype, "master_name", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, typeorm_1.ViewColumn)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], VerifyLocals.prototype, "master_surname", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.ViewColumn)(),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], VerifyLocals.prototype, "master_document", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, typeorm_1.ViewColumn)(),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], VerifyLocals.prototype, "master_email", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, typeorm_1.ViewColumn)(),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], VerifyLocals.prototype, "master_phone", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
126
|
+
__metadata("design:type", Object)
|
|
127
|
+
], VerifyLocals.prototype, "master_profile", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.ViewColumn)(),
|
|
130
|
+
__metadata("design:type", Number)
|
|
131
|
+
], VerifyLocals.prototype, "partner_id", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, typeorm_1.ViewColumn)(),
|
|
134
|
+
__metadata("design:type", String)
|
|
135
|
+
], VerifyLocals.prototype, "partner_name", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, typeorm_1.ViewColumn)(),
|
|
138
|
+
__metadata("design:type", String)
|
|
139
|
+
], VerifyLocals.prototype, "partner_surname", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, typeorm_1.ViewColumn)(),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], VerifyLocals.prototype, "partner_document", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, typeorm_1.ViewColumn)(),
|
|
146
|
+
__metadata("design:type", String)
|
|
147
|
+
], VerifyLocals.prototype, "partner_email", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, typeorm_1.ViewColumn)(),
|
|
150
|
+
__metadata("design:type", String)
|
|
151
|
+
], VerifyLocals.prototype, "partner_phone", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
154
|
+
__metadata("design:type", Object)
|
|
155
|
+
], VerifyLocals.prototype, "partner_profile", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, typeorm_1.ViewColumn)(),
|
|
158
|
+
__metadata("design:type", Number)
|
|
159
|
+
], VerifyLocals.prototype, "company_id", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, typeorm_1.ViewColumn)(),
|
|
162
|
+
__metadata("design:type", String)
|
|
163
|
+
], VerifyLocals.prototype, "company_name", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
|
|
166
|
+
__metadata("design:type", Object)
|
|
167
|
+
], VerifyLocals.prototype, "company_profile", void 0);
|
|
168
|
+
exports.VerifyLocals = VerifyLocals = __decorate([
|
|
169
|
+
(0, typeorm_1.ViewEntity)({
|
|
170
|
+
name: "verify_locals",
|
|
171
|
+
})
|
|
172
|
+
], VerifyLocals);
|