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.
Files changed (103) hide show
  1. package/dist/CustomRepository.js +21 -109
  2. package/dist/entities/AuthenticationCredential.js +54 -57
  3. package/dist/entities/Bank.js +50 -53
  4. package/dist/entities/BusinessType.js +47 -50
  5. package/dist/entities/BusinessTypeProduct.js +68 -71
  6. package/dist/entities/Category.js +148 -151
  7. package/dist/entities/CategoryDate.js +39 -42
  8. package/dist/entities/CategorySchedule.js +41 -44
  9. package/dist/entities/City.js +70 -73
  10. package/dist/entities/CodeRedemptionHistoryCompany.js +44 -47
  11. package/dist/entities/CodeRedemptionHistoryUser.js +54 -57
  12. package/dist/entities/Company.js +169 -172
  13. package/dist/entities/Configuration.d.ts +1 -1
  14. package/dist/entities/Configuration.js +25 -26
  15. package/dist/entities/Country.js +91 -94
  16. package/dist/entities/Day.js +38 -41
  17. package/dist/entities/DecorationReserve.js +46 -49
  18. package/dist/entities/DiscountCodeCompany.js +124 -129
  19. package/dist/entities/DiscountCodeUser.js +139 -142
  20. package/dist/entities/Gallery.js +88 -91
  21. package/dist/entities/Local.js +239 -242
  22. package/dist/entities/LocalDecorationReserve.js +64 -67
  23. package/dist/entities/LocalPaymentMethod.js +41 -44
  24. package/dist/entities/LocalPlan.js +88 -91
  25. package/dist/entities/LocalQualification.js +51 -54
  26. package/dist/entities/LocalReserve.js +177 -180
  27. package/dist/entities/LocalReserveStatus.js +85 -88
  28. package/dist/entities/LocalTable.js +163 -166
  29. package/dist/entities/LocalTableReserve.js +22 -25
  30. package/dist/entities/LocalTableReservePayment.js +156 -159
  31. package/dist/entities/LocalTableZone.js +84 -87
  32. package/dist/entities/Master.js +182 -185
  33. package/dist/entities/MasterNotification.js +96 -99
  34. package/dist/entities/MasterPermission.js +65 -68
  35. package/dist/entities/MasterRole.js +83 -86
  36. package/dist/entities/Partner.js +306 -309
  37. package/dist/entities/PartnerNotification.js +97 -100
  38. package/dist/entities/PartnerPlatform.js +66 -69
  39. package/dist/entities/PartnerPlatformSection.js +74 -79
  40. package/dist/entities/PartnerPlatformSectionPermission.js +113 -118
  41. package/dist/entities/PartnerPlatformSectionPermissionAssociate.js +26 -29
  42. package/dist/entities/PartnerRole.js +93 -96
  43. package/dist/entities/PartnerSession.js +94 -97
  44. package/dist/entities/PaymentMethod.js +91 -94
  45. package/dist/entities/Plan.js +86 -89
  46. package/dist/entities/PosSystem.js +69 -74
  47. package/dist/entities/Product.js +219 -222
  48. package/dist/entities/ProductDate.js +39 -42
  49. package/dist/entities/ProductGroup.js +76 -79
  50. package/dist/entities/ProductImage.js +33 -36
  51. package/dist/entities/ProductIngredient.js +54 -57
  52. package/dist/entities/ProductSchedule.js +41 -44
  53. package/dist/entities/ProductTopping.js +47 -50
  54. package/dist/entities/ReceiptConfig.js +184 -187
  55. package/dist/entities/Region.js +46 -49
  56. package/dist/entities/Request.js +152 -155
  57. package/dist/entities/RequestInvoice.js +125 -128
  58. package/dist/entities/RequestInvoiceCategory.js +34 -37
  59. package/dist/entities/RequestLocal.js +164 -169
  60. package/dist/entities/RequestLocalHistory.js +61 -64
  61. package/dist/entities/RequestLocalPayment.js +154 -157
  62. package/dist/entities/RequestLocalTable.js +34 -37
  63. package/dist/entities/RequestPrint.js +60 -63
  64. package/dist/entities/RequestProduct.js +58 -61
  65. package/dist/entities/RequestProductGroupComplement.js +51 -56
  66. package/dist/entities/ServiceDiscountsPlan.js +30 -33
  67. package/dist/entities/ServicePlan.js +84 -87
  68. package/dist/entities/Square.js +130 -133
  69. package/dist/entities/ToppingImage.js +56 -59
  70. package/dist/entities/TypeMeasureIngredient.js +45 -48
  71. package/dist/entities/User.js +234 -237
  72. package/dist/entities/UserAddress.js +114 -117
  73. package/dist/entities/UserPaymentMethod.js +118 -121
  74. package/dist/entities/VerificationCode.js +60 -63
  75. package/dist/entities/VerifyLocal.js +142 -145
  76. package/dist/entities/productGroupComplement.js +117 -120
  77. package/dist/filters/DiscountsCodeCompanyInformation.js +153 -202
  78. package/dist/filters/DiscountsCodeUserInformation.js +173 -220
  79. package/dist/filters/LocalReservesInformation.js +35 -81
  80. package/dist/filters/LocalsCompanyInformation.js +169 -218
  81. package/dist/filters/LocalsCompanyInformationForTheTable.js +157 -203
  82. package/dist/filters/VerifyLocalsInformation.js +131 -179
  83. package/dist/index.js +55 -130
  84. package/dist/transformers/dateTransformer.js +10 -13
  85. package/dist/transformers/jsonEncryptionTransformer.d.ts +2 -0
  86. package/dist/transformers/jsonEncryptionTransformer.js +72 -0
  87. package/dist/transformers/jsonTransformer.js +2 -2
  88. package/dist/utils.js +3 -3
  89. package/dist/views/DiscountsCodeUser.js +120 -123
  90. package/dist/views/LocalReserves.js +280 -283
  91. package/dist/views/LocalTableZonesFilter.js +76 -79
  92. package/dist/views/LocalsCompany.js +172 -175
  93. package/dist/views/LocalsCompanyInformationForTheMap.js +276 -279
  94. package/dist/views/LocalsCompanyInformationForTheTable.js +384 -387
  95. package/dist/views/MasterNotifications.js +132 -135
  96. package/dist/views/PartnerNotifications.js +104 -107
  97. package/dist/views/Partners.js +140 -143
  98. package/dist/views/VerifyLocals.js +152 -155
  99. package/dist/views/ViewLocalsCompanies.js +100 -103
  100. package/package.json +3 -2
  101. package/src/entities/Configuration.ts +3 -1
  102. package/src/transformers/jsonEncryptionTransformer.ts +78 -0
  103. package/tsconfig.json +7 -3
@@ -10,12 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.LocalsCompanyInformationForTheTable = 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) {
13
+ const typeorm_1 = require("typeorm");
14
+ const moment = require("moment-timezone");
15
+ const __1 = require("..");
16
+ const jsonTransformer = {
17
+ to: (value) => JSON.stringify(value),
18
+ from: (value) => {
19
19
  try {
20
20
  return JSON.parse(value);
21
21
  }
@@ -25,390 +25,387 @@ var jsonTransformer = {
25
25
  }
26
26
  },
27
27
  };
28
- var DateTransformer = {
29
- to: function (value) {
28
+ const DateTransformer = {
29
+ to(value) {
30
30
  return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
31
31
  },
32
- from: function (value) {
32
+ from(value) {
33
33
  return moment.utc(value).tz((0, __1.getTimeZone)()).format("YYYY-MM-DD HH:mm:ss");
34
34
  },
35
35
  };
36
- var LocalsCompanyInformationForTheTable = /** @class */ (function () {
37
- function LocalsCompanyInformationForTheTable() {
38
- }
39
- __decorate([
40
- (0, typeorm_1.ViewColumn)(),
41
- __metadata("design:type", Number)
42
- ], LocalsCompanyInformationForTheTable.prototype, "id", void 0);
43
- __decorate([
44
- (0, typeorm_1.ViewColumn)(),
45
- __metadata("design:type", Number)
46
- ], LocalsCompanyInformationForTheTable.prototype, "company", void 0);
47
- __decorate([
48
- (0, typeorm_1.ViewColumn)(),
49
- __metadata("design:type", String)
50
- ], LocalsCompanyInformationForTheTable.prototype, "name", void 0);
51
- __decorate([
52
- (0, typeorm_1.ViewColumn)(),
53
- __metadata("design:type", Number)
54
- ], LocalsCompanyInformationForTheTable.prototype, "city", void 0);
55
- __decorate([
56
- (0, typeorm_1.ViewColumn)(),
57
- __metadata("design:type", String)
58
- ], LocalsCompanyInformationForTheTable.prototype, "address", void 0);
59
- __decorate([
60
- (0, typeorm_1.ViewColumn)(),
61
- __metadata("design:type", Number)
62
- ], LocalsCompanyInformationForTheTable.prototype, "latitude", void 0);
63
- __decorate([
64
- (0, typeorm_1.ViewColumn)(),
65
- __metadata("design:type", Number)
66
- ], LocalsCompanyInformationForTheTable.prototype, "longitude", void 0);
67
- __decorate([
68
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
69
- __metadata("design:type", Object)
70
- ], LocalsCompanyInformationForTheTable.prototype, "details", void 0);
71
- __decorate([
72
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
73
- __metadata("design:type", String)
74
- ], LocalsCompanyInformationForTheTable.prototype, "created", void 0);
75
- __decorate([
76
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
77
- __metadata("design:type", String)
78
- ], LocalsCompanyInformationForTheTable.prototype, "updated", void 0);
79
- __decorate([
80
- (0, typeorm_1.ViewColumn)(),
81
- __metadata("design:type", Number)
82
- ], LocalsCompanyInformationForTheTable.prototype, "updated_by", void 0);
83
- __decorate([
84
- (0, typeorm_1.ViewColumn)(),
85
- __metadata("design:type", Object)
86
- ], LocalsCompanyInformationForTheTable.prototype, "square", void 0);
87
- __decorate([
88
- (0, typeorm_1.ViewColumn)(),
89
- __metadata("design:type", Number)
90
- ], LocalsCompanyInformationForTheTable.prototype, "pos_system", void 0);
91
- __decorate([
92
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
93
- __metadata("design:type", Object)
94
- ], LocalsCompanyInformationForTheTable.prototype, "pos_system_settings", void 0);
95
- __decorate([
96
- (0, typeorm_1.ViewColumn)(),
97
- __metadata("design:type", Number)
98
- ], LocalsCompanyInformationForTheTable.prototype, "status", void 0);
99
- __decorate([
100
- (0, typeorm_1.ViewColumn)(),
101
- __metadata("design:type", Number)
102
- ], LocalsCompanyInformationForTheTable.prototype, "visible", void 0);
103
- __decorate([
104
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
105
- __metadata("design:type", Object)
106
- ], LocalsCompanyInformationForTheTable.prototype, "contact_details", void 0);
107
- __decorate([
108
- (0, typeorm_1.ViewColumn)(),
109
- __metadata("design:type", String)
110
- ], LocalsCompanyInformationForTheTable.prototype, "type_local", void 0);
111
- __decorate([
112
- (0, typeorm_1.ViewColumn)(),
113
- __metadata("design:type", String)
114
- ], LocalsCompanyInformationForTheTable.prototype, "address_local", void 0);
115
- __decorate([
116
- (0, typeorm_1.ViewColumn)(),
117
- __metadata("design:type", Number)
118
- ], LocalsCompanyInformationForTheTable.prototype, "company_id", void 0);
119
- __decorate([
120
- (0, typeorm_1.ViewColumn)(),
121
- __metadata("design:type", String)
122
- ], LocalsCompanyInformationForTheTable.prototype, "company_code", void 0);
123
- __decorate([
124
- (0, typeorm_1.ViewColumn)(),
125
- __metadata("design:type", String)
126
- ], LocalsCompanyInformationForTheTable.prototype, "company_name", void 0);
127
- __decorate([
128
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
129
- __metadata("design:type", Object)
130
- ], LocalsCompanyInformationForTheTable.prototype, "company_expiration", void 0);
131
- __decorate([
132
- (0, typeorm_1.ViewColumn)(),
133
- __metadata("design:type", Number)
134
- ], LocalsCompanyInformationForTheTable.prototype, "company_partner", void 0);
135
- __decorate([
136
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
137
- __metadata("design:type", Object)
138
- ], LocalsCompanyInformationForTheTable.prototype, "company_contact_details", void 0);
139
- __decorate([
140
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
141
- __metadata("design:type", Object)
142
- ], LocalsCompanyInformationForTheTable.prototype, "company_profile", void 0);
143
- __decorate([
144
- (0, typeorm_1.ViewColumn)(),
145
- __metadata("design:type", String)
146
- ], LocalsCompanyInformationForTheTable.prototype, "company_legal_agent", void 0);
147
- __decorate([
148
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
149
- __metadata("design:type", Object)
150
- ], LocalsCompanyInformationForTheTable.prototype, "company_legal_information", void 0);
151
- __decorate([
152
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
153
- __metadata("design:type", Object)
154
- ], LocalsCompanyInformationForTheTable.prototype, "company_settings", void 0);
155
- __decorate([
156
- (0, typeorm_1.ViewColumn)(),
157
- __metadata("design:type", Number)
158
- ], LocalsCompanyInformationForTheTable.prototype, "city_id", void 0);
159
- __decorate([
160
- (0, typeorm_1.ViewColumn)(),
161
- __metadata("design:type", String)
162
- ], LocalsCompanyInformationForTheTable.prototype, "city_name", void 0);
163
- __decorate([
164
- (0, typeorm_1.ViewColumn)(),
165
- __metadata("design:type", Number)
166
- ], LocalsCompanyInformationForTheTable.prototype, "city_region", void 0);
167
- __decorate([
168
- (0, typeorm_1.ViewColumn)(),
169
- __metadata("design:type", Number)
170
- ], LocalsCompanyInformationForTheTable.prototype, "city_status", void 0);
171
- __decorate([
172
- (0, typeorm_1.ViewColumn)(),
173
- __metadata("design:type", Number)
174
- ], LocalsCompanyInformationForTheTable.prototype, "region_id", void 0);
175
- __decorate([
176
- (0, typeorm_1.ViewColumn)(),
177
- __metadata("design:type", String)
178
- ], LocalsCompanyInformationForTheTable.prototype, "region_name", void 0);
179
- __decorate([
180
- (0, typeorm_1.ViewColumn)(),
181
- __metadata("design:type", Number)
182
- ], LocalsCompanyInformationForTheTable.prototype, "region_country", void 0);
183
- __decorate([
184
- (0, typeorm_1.ViewColumn)(),
185
- __metadata("design:type", Number)
186
- ], LocalsCompanyInformationForTheTable.prototype, "region_status", void 0);
187
- __decorate([
188
- (0, typeorm_1.ViewColumn)(),
189
- __metadata("design:type", Number)
190
- ], LocalsCompanyInformationForTheTable.prototype, "country_id", void 0);
191
- __decorate([
192
- (0, typeorm_1.ViewColumn)(),
193
- __metadata("design:type", String)
194
- ], LocalsCompanyInformationForTheTable.prototype, "country_code", void 0);
195
- __decorate([
196
- (0, typeorm_1.ViewColumn)(),
197
- __metadata("design:type", String)
198
- ], LocalsCompanyInformationForTheTable.prototype, "country_name", void 0);
199
- __decorate([
200
- (0, typeorm_1.ViewColumn)(),
201
- __metadata("design:type", String)
202
- ], LocalsCompanyInformationForTheTable.prototype, "country_currency", void 0);
203
- __decorate([
204
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
205
- __metadata("design:type", Object)
206
- ], LocalsCompanyInformationForTheTable.prototype, "country_details", void 0);
207
- __decorate([
208
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
209
- __metadata("design:type", Object)
210
- ], LocalsCompanyInformationForTheTable.prototype, "country_legal_agent", void 0);
211
- __decorate([
212
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
213
- __metadata("design:type", Object)
214
- ], LocalsCompanyInformationForTheTable.prototype, "country_legal_information", void 0);
215
- __decorate([
216
- (0, typeorm_1.ViewColumn)(),
217
- __metadata("design:type", String)
218
- ], LocalsCompanyInformationForTheTable.prototype, "country_prefix", void 0);
219
- __decorate([
220
- (0, typeorm_1.ViewColumn)(),
221
- __metadata("design:type", Number)
222
- ], LocalsCompanyInformationForTheTable.prototype, "country_status", void 0);
223
- __decorate([
224
- (0, typeorm_1.ViewColumn)(),
225
- __metadata("design:type", String)
226
- ], LocalsCompanyInformationForTheTable.prototype, "country_structure_phone", void 0);
227
- __decorate([
228
- (0, typeorm_1.ViewColumn)(),
229
- __metadata("design:type", Number)
230
- ], LocalsCompanyInformationForTheTable.prototype, "partner_id", void 0);
231
- __decorate([
232
- (0, typeorm_1.ViewColumn)(),
233
- __metadata("design:type", String)
234
- ], LocalsCompanyInformationForTheTable.prototype, "partner_code", void 0);
235
- __decorate([
236
- (0, typeorm_1.ViewColumn)(),
237
- __metadata("design:type", Object)
238
- ], LocalsCompanyInformationForTheTable.prototype, "partner_document", void 0);
239
- __decorate([
240
- (0, typeorm_1.ViewColumn)(),
241
- __metadata("design:type", String)
242
- ], LocalsCompanyInformationForTheTable.prototype, "partner_name", void 0);
243
- __decorate([
244
- (0, typeorm_1.ViewColumn)(),
245
- __metadata("design:type", String)
246
- ], LocalsCompanyInformationForTheTable.prototype, "partner_surname", void 0);
247
- __decorate([
248
- (0, typeorm_1.ViewColumn)(),
249
- __metadata("design:type", String)
250
- ], LocalsCompanyInformationForTheTable.prototype, "partner_full_name", void 0);
251
- __decorate([
252
- (0, typeorm_1.ViewColumn)(),
253
- __metadata("design:type", Object)
254
- ], LocalsCompanyInformationForTheTable.prototype, "partner_phone", void 0);
255
- __decorate([
256
- (0, typeorm_1.ViewColumn)(),
257
- __metadata("design:type", Number)
258
- ], LocalsCompanyInformationForTheTable.prototype, "partner_owner", void 0);
259
- __decorate([
260
- (0, typeorm_1.ViewColumn)(),
261
- __metadata("design:type", String)
262
- ], LocalsCompanyInformationForTheTable.prototype, "partner_email", void 0);
263
- __decorate([
264
- (0, typeorm_1.ViewColumn)(),
265
- __metadata("design:type", Object)
266
- ], LocalsCompanyInformationForTheTable.prototype, "partner_city", void 0);
267
- __decorate([
268
- (0, typeorm_1.ViewColumn)(),
269
- __metadata("design:type", Object)
270
- ], LocalsCompanyInformationForTheTable.prototype, "partner_address", void 0);
271
- __decorate([
272
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
273
- __metadata("design:type", Object)
274
- ], LocalsCompanyInformationForTheTable.prototype, "partner_profile", void 0);
275
- __decorate([
276
- (0, typeorm_1.ViewColumn)(),
277
- __metadata("design:type", Number)
278
- ], LocalsCompanyInformationForTheTable.prototype, "partner_status", void 0);
279
- __decorate([
280
- (0, typeorm_1.ViewColumn)(),
281
- __metadata("design:type", Number)
282
- ], LocalsCompanyInformationForTheTable.prototype, "partner_visible", void 0);
283
- __decorate([
284
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
285
- __metadata("design:type", String)
286
- ], LocalsCompanyInformationForTheTable.prototype, "partner_created", void 0);
287
- __decorate([
288
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
289
- __metadata("design:type", String)
290
- ], LocalsCompanyInformationForTheTable.prototype, "partner_updated", void 0);
291
- __decorate([
292
- (0, typeorm_1.ViewColumn)(),
293
- __metadata("design:type", Number)
294
- ], LocalsCompanyInformationForTheTable.prototype, "square_id", void 0);
295
- __decorate([
296
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
297
- __metadata("design:type", Object)
298
- ], LocalsCompanyInformationForTheTable.prototype, "square_details", void 0);
299
- __decorate([
300
- (0, typeorm_1.ViewColumn)(),
301
- __metadata("design:type", Object)
302
- ], LocalsCompanyInformationForTheTable.prototype, "square_email", void 0);
303
- __decorate([
304
- (0, typeorm_1.ViewColumn)(),
305
- __metadata("design:type", String)
306
- ], LocalsCompanyInformationForTheTable.prototype, "square_address", void 0);
307
- __decorate([
308
- (0, typeorm_1.ViewColumn)(),
309
- __metadata("design:type", Object)
310
- ], LocalsCompanyInformationForTheTable.prototype, "square_latitude", void 0);
311
- __decorate([
312
- (0, typeorm_1.ViewColumn)(),
313
- __metadata("design:type", Object)
314
- ], LocalsCompanyInformationForTheTable.prototype, "square_longitude", void 0);
315
- __decorate([
316
- (0, typeorm_1.ViewColumn)(),
317
- __metadata("design:type", Number)
318
- ], LocalsCompanyInformationForTheTable.prototype, "square_maximum_number_locals", void 0);
319
- __decorate([
320
- (0, typeorm_1.ViewColumn)(),
321
- __metadata("design:type", String)
322
- ], LocalsCompanyInformationForTheTable.prototype, "square_name", void 0);
323
- __decorate([
324
- (0, typeorm_1.ViewColumn)(),
325
- __metadata("design:type", Object)
326
- ], LocalsCompanyInformationForTheTable.prototype, "square_phone", void 0);
327
- __decorate([
328
- (0, typeorm_1.ViewColumn)(),
329
- __metadata("design:type", Number)
330
- ], LocalsCompanyInformationForTheTable.prototype, "square_status", void 0);
331
- __decorate([
332
- (0, typeorm_1.ViewColumn)(),
333
- __metadata("design:type", Number)
334
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_id", void 0);
335
- __decorate([
336
- (0, typeorm_1.ViewColumn)(),
337
- __metadata("design:type", String)
338
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_type", void 0);
339
- __decorate([
340
- (0, typeorm_1.ViewColumn)(),
341
- __metadata("design:type", Number)
342
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_price", void 0);
343
- __decorate([
344
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
345
- __metadata("design:type", String)
346
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_start_date", void 0);
347
- __decorate([
348
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
349
- __metadata("design:type", String)
350
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_end_date", void 0);
351
- __decorate([
352
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
353
- __metadata("design:type", Object)
354
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_settings", void 0);
355
- __decorate([
356
- (0, typeorm_1.ViewColumn)(),
357
- __metadata("design:type", Number)
358
- ], LocalsCompanyInformationForTheTable.prototype, "local_plan_status", void 0);
359
- __decorate([
360
- (0, typeorm_1.ViewColumn)(),
361
- __metadata("design:type", String)
362
- ], LocalsCompanyInformationForTheTable.prototype, "plan_code", void 0);
363
- __decorate([
364
- (0, typeorm_1.ViewColumn)(),
365
- __metadata("design:type", Number)
366
- ], LocalsCompanyInformationForTheTable.prototype, "plan_company", void 0);
367
- __decorate([
368
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
369
- __metadata("design:type", String)
370
- ], LocalsCompanyInformationForTheTable.prototype, "plan_created", void 0);
371
- __decorate([
372
- (0, typeorm_1.ViewColumn)(),
373
- __metadata("design:type", String)
374
- ], LocalsCompanyInformationForTheTable.prototype, "plan_name", void 0);
375
- __decorate([
376
- (0, typeorm_1.ViewColumn)(),
377
- __metadata("design:type", Number)
378
- ], LocalsCompanyInformationForTheTable.prototype, "plan_id", void 0);
379
- __decorate([
380
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
381
- __metadata("design:type", Object)
382
- ], LocalsCompanyInformationForTheTable.prototype, "plan_description", void 0);
383
- __decorate([
384
- (0, typeorm_1.ViewColumn)(),
385
- __metadata("design:type", Number)
386
- ], LocalsCompanyInformationForTheTable.prototype, "plan_quantity_locals", void 0);
387
- __decorate([
388
- (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
389
- __metadata("design:type", String)
390
- ], LocalsCompanyInformationForTheTable.prototype, "plan_expiration", void 0);
391
- __decorate([
392
- (0, typeorm_1.ViewColumn)(),
393
- __metadata("design:type", Number)
394
- ], LocalsCompanyInformationForTheTable.prototype, "plan_status", void 0);
395
- __decorate([
396
- (0, typeorm_1.ViewColumn)(),
397
- __metadata("design:type", Number)
398
- ], LocalsCompanyInformationForTheTable.prototype, "total_requests", void 0);
399
- __decorate([
400
- (0, typeorm_1.ViewColumn)(),
401
- __metadata("design:type", Number)
402
- ], LocalsCompanyInformationForTheTable.prototype, "total_ratings", void 0);
403
- __decorate([
404
- (0, typeorm_1.ViewColumn)(),
405
- __metadata("design:type", Number)
406
- ], LocalsCompanyInformationForTheTable.prototype, "average_rating", void 0);
407
- LocalsCompanyInformationForTheTable = __decorate([
408
- (0, typeorm_1.ViewEntity)({
409
- name: "locals_company_information_for_the_table",
410
- })
411
- ], LocalsCompanyInformationForTheTable);
412
- return LocalsCompanyInformationForTheTable;
413
- }());
36
+ let LocalsCompanyInformationForTheTable = class LocalsCompanyInformationForTheTable {
37
+ };
414
38
  exports.LocalsCompanyInformationForTheTable = LocalsCompanyInformationForTheTable;
39
+ __decorate([
40
+ (0, typeorm_1.ViewColumn)(),
41
+ __metadata("design:type", Number)
42
+ ], LocalsCompanyInformationForTheTable.prototype, "id", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.ViewColumn)(),
45
+ __metadata("design:type", Number)
46
+ ], LocalsCompanyInformationForTheTable.prototype, "company", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.ViewColumn)(),
49
+ __metadata("design:type", String)
50
+ ], LocalsCompanyInformationForTheTable.prototype, "name", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.ViewColumn)(),
53
+ __metadata("design:type", Number)
54
+ ], LocalsCompanyInformationForTheTable.prototype, "city", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.ViewColumn)(),
57
+ __metadata("design:type", String)
58
+ ], LocalsCompanyInformationForTheTable.prototype, "address", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.ViewColumn)(),
61
+ __metadata("design:type", Number)
62
+ ], LocalsCompanyInformationForTheTable.prototype, "latitude", void 0);
63
+ __decorate([
64
+ (0, typeorm_1.ViewColumn)(),
65
+ __metadata("design:type", Number)
66
+ ], LocalsCompanyInformationForTheTable.prototype, "longitude", void 0);
67
+ __decorate([
68
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
69
+ __metadata("design:type", Object)
70
+ ], LocalsCompanyInformationForTheTable.prototype, "details", void 0);
71
+ __decorate([
72
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
73
+ __metadata("design:type", String)
74
+ ], LocalsCompanyInformationForTheTable.prototype, "created", void 0);
75
+ __decorate([
76
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
77
+ __metadata("design:type", String)
78
+ ], LocalsCompanyInformationForTheTable.prototype, "updated", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.ViewColumn)(),
81
+ __metadata("design:type", Number)
82
+ ], LocalsCompanyInformationForTheTable.prototype, "updated_by", void 0);
83
+ __decorate([
84
+ (0, typeorm_1.ViewColumn)(),
85
+ __metadata("design:type", Object)
86
+ ], LocalsCompanyInformationForTheTable.prototype, "square", void 0);
87
+ __decorate([
88
+ (0, typeorm_1.ViewColumn)(),
89
+ __metadata("design:type", Number)
90
+ ], LocalsCompanyInformationForTheTable.prototype, "pos_system", void 0);
91
+ __decorate([
92
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
93
+ __metadata("design:type", Object)
94
+ ], LocalsCompanyInformationForTheTable.prototype, "pos_system_settings", void 0);
95
+ __decorate([
96
+ (0, typeorm_1.ViewColumn)(),
97
+ __metadata("design:type", Number)
98
+ ], LocalsCompanyInformationForTheTable.prototype, "status", void 0);
99
+ __decorate([
100
+ (0, typeorm_1.ViewColumn)(),
101
+ __metadata("design:type", Number)
102
+ ], LocalsCompanyInformationForTheTable.prototype, "visible", void 0);
103
+ __decorate([
104
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
105
+ __metadata("design:type", Object)
106
+ ], LocalsCompanyInformationForTheTable.prototype, "contact_details", void 0);
107
+ __decorate([
108
+ (0, typeorm_1.ViewColumn)(),
109
+ __metadata("design:type", String)
110
+ ], LocalsCompanyInformationForTheTable.prototype, "type_local", void 0);
111
+ __decorate([
112
+ (0, typeorm_1.ViewColumn)(),
113
+ __metadata("design:type", String)
114
+ ], LocalsCompanyInformationForTheTable.prototype, "address_local", void 0);
115
+ __decorate([
116
+ (0, typeorm_1.ViewColumn)(),
117
+ __metadata("design:type", Number)
118
+ ], LocalsCompanyInformationForTheTable.prototype, "company_id", void 0);
119
+ __decorate([
120
+ (0, typeorm_1.ViewColumn)(),
121
+ __metadata("design:type", String)
122
+ ], LocalsCompanyInformationForTheTable.prototype, "company_code", void 0);
123
+ __decorate([
124
+ (0, typeorm_1.ViewColumn)(),
125
+ __metadata("design:type", String)
126
+ ], LocalsCompanyInformationForTheTable.prototype, "company_name", void 0);
127
+ __decorate([
128
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
129
+ __metadata("design:type", Object)
130
+ ], LocalsCompanyInformationForTheTable.prototype, "company_expiration", void 0);
131
+ __decorate([
132
+ (0, typeorm_1.ViewColumn)(),
133
+ __metadata("design:type", Number)
134
+ ], LocalsCompanyInformationForTheTable.prototype, "company_partner", void 0);
135
+ __decorate([
136
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
137
+ __metadata("design:type", Object)
138
+ ], LocalsCompanyInformationForTheTable.prototype, "company_contact_details", void 0);
139
+ __decorate([
140
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
141
+ __metadata("design:type", Object)
142
+ ], LocalsCompanyInformationForTheTable.prototype, "company_profile", void 0);
143
+ __decorate([
144
+ (0, typeorm_1.ViewColumn)(),
145
+ __metadata("design:type", String)
146
+ ], LocalsCompanyInformationForTheTable.prototype, "company_legal_agent", void 0);
147
+ __decorate([
148
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
149
+ __metadata("design:type", Object)
150
+ ], LocalsCompanyInformationForTheTable.prototype, "company_legal_information", void 0);
151
+ __decorate([
152
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
153
+ __metadata("design:type", Object)
154
+ ], LocalsCompanyInformationForTheTable.prototype, "company_settings", void 0);
155
+ __decorate([
156
+ (0, typeorm_1.ViewColumn)(),
157
+ __metadata("design:type", Number)
158
+ ], LocalsCompanyInformationForTheTable.prototype, "city_id", void 0);
159
+ __decorate([
160
+ (0, typeorm_1.ViewColumn)(),
161
+ __metadata("design:type", String)
162
+ ], LocalsCompanyInformationForTheTable.prototype, "city_name", void 0);
163
+ __decorate([
164
+ (0, typeorm_1.ViewColumn)(),
165
+ __metadata("design:type", Number)
166
+ ], LocalsCompanyInformationForTheTable.prototype, "city_region", void 0);
167
+ __decorate([
168
+ (0, typeorm_1.ViewColumn)(),
169
+ __metadata("design:type", Number)
170
+ ], LocalsCompanyInformationForTheTable.prototype, "city_status", void 0);
171
+ __decorate([
172
+ (0, typeorm_1.ViewColumn)(),
173
+ __metadata("design:type", Number)
174
+ ], LocalsCompanyInformationForTheTable.prototype, "region_id", void 0);
175
+ __decorate([
176
+ (0, typeorm_1.ViewColumn)(),
177
+ __metadata("design:type", String)
178
+ ], LocalsCompanyInformationForTheTable.prototype, "region_name", void 0);
179
+ __decorate([
180
+ (0, typeorm_1.ViewColumn)(),
181
+ __metadata("design:type", Number)
182
+ ], LocalsCompanyInformationForTheTable.prototype, "region_country", void 0);
183
+ __decorate([
184
+ (0, typeorm_1.ViewColumn)(),
185
+ __metadata("design:type", Number)
186
+ ], LocalsCompanyInformationForTheTable.prototype, "region_status", void 0);
187
+ __decorate([
188
+ (0, typeorm_1.ViewColumn)(),
189
+ __metadata("design:type", Number)
190
+ ], LocalsCompanyInformationForTheTable.prototype, "country_id", void 0);
191
+ __decorate([
192
+ (0, typeorm_1.ViewColumn)(),
193
+ __metadata("design:type", String)
194
+ ], LocalsCompanyInformationForTheTable.prototype, "country_code", void 0);
195
+ __decorate([
196
+ (0, typeorm_1.ViewColumn)(),
197
+ __metadata("design:type", String)
198
+ ], LocalsCompanyInformationForTheTable.prototype, "country_name", void 0);
199
+ __decorate([
200
+ (0, typeorm_1.ViewColumn)(),
201
+ __metadata("design:type", String)
202
+ ], LocalsCompanyInformationForTheTable.prototype, "country_currency", void 0);
203
+ __decorate([
204
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
205
+ __metadata("design:type", Object)
206
+ ], LocalsCompanyInformationForTheTable.prototype, "country_details", void 0);
207
+ __decorate([
208
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
209
+ __metadata("design:type", Object)
210
+ ], LocalsCompanyInformationForTheTable.prototype, "country_legal_agent", void 0);
211
+ __decorate([
212
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
213
+ __metadata("design:type", Object)
214
+ ], LocalsCompanyInformationForTheTable.prototype, "country_legal_information", void 0);
215
+ __decorate([
216
+ (0, typeorm_1.ViewColumn)(),
217
+ __metadata("design:type", String)
218
+ ], LocalsCompanyInformationForTheTable.prototype, "country_prefix", void 0);
219
+ __decorate([
220
+ (0, typeorm_1.ViewColumn)(),
221
+ __metadata("design:type", Number)
222
+ ], LocalsCompanyInformationForTheTable.prototype, "country_status", void 0);
223
+ __decorate([
224
+ (0, typeorm_1.ViewColumn)(),
225
+ __metadata("design:type", String)
226
+ ], LocalsCompanyInformationForTheTable.prototype, "country_structure_phone", void 0);
227
+ __decorate([
228
+ (0, typeorm_1.ViewColumn)(),
229
+ __metadata("design:type", Number)
230
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_id", void 0);
231
+ __decorate([
232
+ (0, typeorm_1.ViewColumn)(),
233
+ __metadata("design:type", String)
234
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_code", void 0);
235
+ __decorate([
236
+ (0, typeorm_1.ViewColumn)(),
237
+ __metadata("design:type", Object)
238
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_document", void 0);
239
+ __decorate([
240
+ (0, typeorm_1.ViewColumn)(),
241
+ __metadata("design:type", String)
242
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_name", void 0);
243
+ __decorate([
244
+ (0, typeorm_1.ViewColumn)(),
245
+ __metadata("design:type", String)
246
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_surname", void 0);
247
+ __decorate([
248
+ (0, typeorm_1.ViewColumn)(),
249
+ __metadata("design:type", String)
250
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_full_name", void 0);
251
+ __decorate([
252
+ (0, typeorm_1.ViewColumn)(),
253
+ __metadata("design:type", Object)
254
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_phone", void 0);
255
+ __decorate([
256
+ (0, typeorm_1.ViewColumn)(),
257
+ __metadata("design:type", Number)
258
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_owner", void 0);
259
+ __decorate([
260
+ (0, typeorm_1.ViewColumn)(),
261
+ __metadata("design:type", String)
262
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_email", void 0);
263
+ __decorate([
264
+ (0, typeorm_1.ViewColumn)(),
265
+ __metadata("design:type", Object)
266
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_city", void 0);
267
+ __decorate([
268
+ (0, typeorm_1.ViewColumn)(),
269
+ __metadata("design:type", Object)
270
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_address", void 0);
271
+ __decorate([
272
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
273
+ __metadata("design:type", Object)
274
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_profile", void 0);
275
+ __decorate([
276
+ (0, typeorm_1.ViewColumn)(),
277
+ __metadata("design:type", Number)
278
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_status", void 0);
279
+ __decorate([
280
+ (0, typeorm_1.ViewColumn)(),
281
+ __metadata("design:type", Number)
282
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_visible", void 0);
283
+ __decorate([
284
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
285
+ __metadata("design:type", String)
286
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_created", void 0);
287
+ __decorate([
288
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
289
+ __metadata("design:type", String)
290
+ ], LocalsCompanyInformationForTheTable.prototype, "partner_updated", void 0);
291
+ __decorate([
292
+ (0, typeorm_1.ViewColumn)(),
293
+ __metadata("design:type", Number)
294
+ ], LocalsCompanyInformationForTheTable.prototype, "square_id", void 0);
295
+ __decorate([
296
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
297
+ __metadata("design:type", Object)
298
+ ], LocalsCompanyInformationForTheTable.prototype, "square_details", void 0);
299
+ __decorate([
300
+ (0, typeorm_1.ViewColumn)(),
301
+ __metadata("design:type", Object)
302
+ ], LocalsCompanyInformationForTheTable.prototype, "square_email", void 0);
303
+ __decorate([
304
+ (0, typeorm_1.ViewColumn)(),
305
+ __metadata("design:type", String)
306
+ ], LocalsCompanyInformationForTheTable.prototype, "square_address", void 0);
307
+ __decorate([
308
+ (0, typeorm_1.ViewColumn)(),
309
+ __metadata("design:type", Object)
310
+ ], LocalsCompanyInformationForTheTable.prototype, "square_latitude", void 0);
311
+ __decorate([
312
+ (0, typeorm_1.ViewColumn)(),
313
+ __metadata("design:type", Object)
314
+ ], LocalsCompanyInformationForTheTable.prototype, "square_longitude", void 0);
315
+ __decorate([
316
+ (0, typeorm_1.ViewColumn)(),
317
+ __metadata("design:type", Number)
318
+ ], LocalsCompanyInformationForTheTable.prototype, "square_maximum_number_locals", void 0);
319
+ __decorate([
320
+ (0, typeorm_1.ViewColumn)(),
321
+ __metadata("design:type", String)
322
+ ], LocalsCompanyInformationForTheTable.prototype, "square_name", void 0);
323
+ __decorate([
324
+ (0, typeorm_1.ViewColumn)(),
325
+ __metadata("design:type", Object)
326
+ ], LocalsCompanyInformationForTheTable.prototype, "square_phone", void 0);
327
+ __decorate([
328
+ (0, typeorm_1.ViewColumn)(),
329
+ __metadata("design:type", Number)
330
+ ], LocalsCompanyInformationForTheTable.prototype, "square_status", void 0);
331
+ __decorate([
332
+ (0, typeorm_1.ViewColumn)(),
333
+ __metadata("design:type", Number)
334
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_id", void 0);
335
+ __decorate([
336
+ (0, typeorm_1.ViewColumn)(),
337
+ __metadata("design:type", String)
338
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_type", void 0);
339
+ __decorate([
340
+ (0, typeorm_1.ViewColumn)(),
341
+ __metadata("design:type", Number)
342
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_price", void 0);
343
+ __decorate([
344
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
345
+ __metadata("design:type", String)
346
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_start_date", void 0);
347
+ __decorate([
348
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
349
+ __metadata("design:type", String)
350
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_end_date", void 0);
351
+ __decorate([
352
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
353
+ __metadata("design:type", Object)
354
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_settings", void 0);
355
+ __decorate([
356
+ (0, typeorm_1.ViewColumn)(),
357
+ __metadata("design:type", Number)
358
+ ], LocalsCompanyInformationForTheTable.prototype, "local_plan_status", void 0);
359
+ __decorate([
360
+ (0, typeorm_1.ViewColumn)(),
361
+ __metadata("design:type", String)
362
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_code", void 0);
363
+ __decorate([
364
+ (0, typeorm_1.ViewColumn)(),
365
+ __metadata("design:type", Number)
366
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_company", void 0);
367
+ __decorate([
368
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
369
+ __metadata("design:type", String)
370
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_created", void 0);
371
+ __decorate([
372
+ (0, typeorm_1.ViewColumn)(),
373
+ __metadata("design:type", String)
374
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_name", void 0);
375
+ __decorate([
376
+ (0, typeorm_1.ViewColumn)(),
377
+ __metadata("design:type", Number)
378
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_id", void 0);
379
+ __decorate([
380
+ (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
381
+ __metadata("design:type", Object)
382
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_description", void 0);
383
+ __decorate([
384
+ (0, typeorm_1.ViewColumn)(),
385
+ __metadata("design:type", Number)
386
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_quantity_locals", void 0);
387
+ __decorate([
388
+ (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
389
+ __metadata("design:type", String)
390
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_expiration", void 0);
391
+ __decorate([
392
+ (0, typeorm_1.ViewColumn)(),
393
+ __metadata("design:type", Number)
394
+ ], LocalsCompanyInformationForTheTable.prototype, "plan_status", void 0);
395
+ __decorate([
396
+ (0, typeorm_1.ViewColumn)(),
397
+ __metadata("design:type", Number)
398
+ ], LocalsCompanyInformationForTheTable.prototype, "total_requests", void 0);
399
+ __decorate([
400
+ (0, typeorm_1.ViewColumn)(),
401
+ __metadata("design:type", Number)
402
+ ], LocalsCompanyInformationForTheTable.prototype, "total_ratings", void 0);
403
+ __decorate([
404
+ (0, typeorm_1.ViewColumn)(),
405
+ __metadata("design:type", Number)
406
+ ], LocalsCompanyInformationForTheTable.prototype, "average_rating", void 0);
407
+ exports.LocalsCompanyInformationForTheTable = LocalsCompanyInformationForTheTable = __decorate([
408
+ (0, typeorm_1.ViewEntity)({
409
+ name: "locals_company_information_for_the_table",
410
+ })
411
+ ], LocalsCompanyInformationForTheTable);