test-entity-library-asm 3.9.40 → 3.9.42
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.index.d.ts +86 -0
- package/dist/entities.index.js +176 -0
- package/dist/entities.views.routes.d.ts +2 -86
- package/dist/entities.views.routes.js +4 -174
- package/dist/index.d.ts +1 -1
- package/dist/index.js +52 -19
- package/package.json +1 -1
- package/src/entities.index.ts +87 -0
- package/src/entities.views.routes.ts +2 -87
- package/src/index.ts +48 -24
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export { BusinessTypeProduct } from "./entities/BusinessTypeProduct";
|
|
2
|
+
export { Category } from "./entities/Category";
|
|
3
|
+
export { ScheduleCategory } from "./entities/CategorySchedule";
|
|
4
|
+
export { City } from "./entities/City";
|
|
5
|
+
export { CodeRedemptionHistoryCompany } from "./entities/CodeRedemptionHistoryCompany";
|
|
6
|
+
export { CodeRedemptionHistoryUser } from "./entities/CodeRedemptionHistoryUser";
|
|
7
|
+
export { Company } from "./entities/Company";
|
|
8
|
+
export { Configuration } from "./entities/Configuration";
|
|
9
|
+
export { Country } from "./entities/Country";
|
|
10
|
+
export { Day } from "./entities/Day";
|
|
11
|
+
export { DiscountCodeCompany } from "./entities/DiscountCodeCompany";
|
|
12
|
+
export { DiscountCodeUser } from "./entities/DiscountCodeUser";
|
|
13
|
+
export { Local } from "./entities/Local";
|
|
14
|
+
export { LocalQualification } from "./entities/LocalQualification";
|
|
15
|
+
export { Master } from "./entities/Master";
|
|
16
|
+
export { MasterPermission } from "./entities/MasterPermission";
|
|
17
|
+
export { MasterRole } from "./entities/MasterRole";
|
|
18
|
+
export { Partner } from "./entities/Partner";
|
|
19
|
+
export { PartnerNotification } from "./entities/PartnerNotification";
|
|
20
|
+
export { PartnerPlatformSectionPermission } from "./entities/PartnerPlatformSectionPermission";
|
|
21
|
+
export { PartnerRole } from "./entities/PartnerRole";
|
|
22
|
+
export { PaymentMethod } from "./entities/PaymentMethod";
|
|
23
|
+
export { Plan } from "./entities/Plan";
|
|
24
|
+
export { Product } from "./entities/Product";
|
|
25
|
+
export { ProductGroup } from "./entities/ProductGroup";
|
|
26
|
+
export { ProductGroupComplement } from "./entities/productGroupComplement";
|
|
27
|
+
export { ProductIngredient } from "./entities/ProductIngredient";
|
|
28
|
+
export { ProductTopping } from "./entities/ProductTopping";
|
|
29
|
+
export { Region } from "./entities/Region";
|
|
30
|
+
export { Request } from "./entities/Request";
|
|
31
|
+
export { RequestProduct } from "./entities/RequestProduct";
|
|
32
|
+
export { RequestProductGroupComplement } from "./entities/RequestProductGroupComplement";
|
|
33
|
+
export { Square } from "./entities/Square";
|
|
34
|
+
export { TypeMeasureIngredient } from "./entities/TypeMeasureIngredient";
|
|
35
|
+
export { User } from "./entities/User";
|
|
36
|
+
export { UserAddress } from "./entities/UserAddress";
|
|
37
|
+
export { BusinessType } from "./entities/BusinessType";
|
|
38
|
+
export { AuthenticationCredential } from "./entities/AuthenticationCredential";
|
|
39
|
+
export { PosSystem } from "./entities/PosSystem";
|
|
40
|
+
export { VerifyLocal } from "./entities/VerifyLocal";
|
|
41
|
+
export { MasterNotification } from "./entities/MasterNotification";
|
|
42
|
+
export { LocalPlan } from "./entities/LocalPlan";
|
|
43
|
+
export { PartnerPlatformSection } from "./entities/PartnerPlatformSection";
|
|
44
|
+
export { PartnerPlatform } from "./entities/PartnerPlatform";
|
|
45
|
+
export { ServicePlan } from "./entities/ServicePlan";
|
|
46
|
+
export { Bank } from "./entities/Bank";
|
|
47
|
+
export { CategoryDate } from "./entities/CategoryDate";
|
|
48
|
+
export { ProductSchedule } from "./entities/ProductSchedule";
|
|
49
|
+
export { ProductDate } from "./entities/ProductDate";
|
|
50
|
+
export { ToppingImage } from "./entities/ToppingImage";
|
|
51
|
+
export { PartnerSession } from "./entities/PartnerSession";
|
|
52
|
+
export { RequestLocal } from "./entities/RequestLocal";
|
|
53
|
+
export { RequestLocalHistory } from "./entities/RequestLocalHistory";
|
|
54
|
+
export { UserPaymentMethod } from "./entities/UserPaymentMethod";
|
|
55
|
+
export { RequestLocalPayment } from "./entities/RequestLocalPayment";
|
|
56
|
+
export { ReceiptConfig } from "./entities/ReceiptConfig";
|
|
57
|
+
export { RequestPrint } from "./entities/RequestPrint";
|
|
58
|
+
export { LocalTableZone } from "./entities/LocalTableZone";
|
|
59
|
+
export { LocalTable } from "./entities/LocalTable";
|
|
60
|
+
export { LocalDecorationReserve } from "./entities/LocalDecorationReserve";
|
|
61
|
+
export { DecorationReserve } from "./entities/DecorationReserve";
|
|
62
|
+
export { LocalTableReservePayment } from "./entities/LocalTableReservePayment";
|
|
63
|
+
export { LocalReserve } from "./entities/LocalReserve";
|
|
64
|
+
export { LocalReserveStatus } from "./entities/LocalReserveStatus";
|
|
65
|
+
export { LocalTableReserve } from "./entities/LocalTableReserve";
|
|
66
|
+
export { RequestInvoice } from "./entities/RequestInvoice";
|
|
67
|
+
export { RequestInvoiceCategory } from "./entities/RequestInvoiceCategory";
|
|
68
|
+
export { RequestLocalTable } from "./entities/RequestLocalTable";
|
|
69
|
+
export { Gallery } from "./entities/Gallery";
|
|
70
|
+
export { ProductImage } from "./entities/ProductImage";
|
|
71
|
+
export { LocalPaymentMethod } from "./entities/LocalPaymentMethod";
|
|
72
|
+
export { VerificationCode } from "./entities/VerificationCode";
|
|
73
|
+
export { PartnerPlatformSectionPermissionAssociate } from "./entities/PartnerPlatformSectionPermissionAssociate";
|
|
74
|
+
export { MasterSession } from "./entities/MasterSession";
|
|
75
|
+
export { CountryHoliday } from "./entities/CountryHoliday";
|
|
76
|
+
export { LocalsCompany } from "./views/LocalsCompany";
|
|
77
|
+
export { VerifyLocals } from "./views/VerifyLocals";
|
|
78
|
+
export { MasterNotifications } from "./views/MasterNotifications";
|
|
79
|
+
export { ViewLocalsCompanies } from "./views/ViewLocalsCompanies";
|
|
80
|
+
export { Partners } from "./views/Partners";
|
|
81
|
+
export { DiscountsCodeUser } from "./views/DiscountsCodeUser";
|
|
82
|
+
export { PartnerNotifications } from "./views/PartnerNotifications";
|
|
83
|
+
export { LocalTableZonesFilter } from "./views/LocalTableZonesFilter";
|
|
84
|
+
export { LocalReserves } from "./views/LocalReserves";
|
|
85
|
+
export { LocalsCompanyInformationForTheMap } from "./views/LocalsCompanyInformationForTheMap";
|
|
86
|
+
export { LocalsCompanyInformationForTheTable } from "./views/LocalsCompanyInformationForTheTable";
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
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;
|
|
4
|
+
exports.LocalsCompanyInformationForTheTable = exports.LocalsCompanyInformationForTheMap = exports.LocalReserves = exports.LocalTableZonesFilter = exports.PartnerNotifications = exports.DiscountsCodeUser = exports.Partners = exports.ViewLocalsCompanies = exports.MasterNotifications = exports.VerifyLocals = exports.LocalsCompany = exports.CountryHoliday = exports.MasterSession = 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;
|
|
5
|
+
var BusinessTypeProduct_1 = require("./entities/BusinessTypeProduct");
|
|
6
|
+
Object.defineProperty(exports, "BusinessTypeProduct", { enumerable: true, get: function () { return BusinessTypeProduct_1.BusinessTypeProduct; } });
|
|
7
|
+
var Category_1 = require("./entities/Category");
|
|
8
|
+
Object.defineProperty(exports, "Category", { enumerable: true, get: function () { return Category_1.Category; } });
|
|
9
|
+
var CategorySchedule_1 = require("./entities/CategorySchedule");
|
|
10
|
+
Object.defineProperty(exports, "ScheduleCategory", { enumerable: true, get: function () { return CategorySchedule_1.ScheduleCategory; } });
|
|
11
|
+
var City_1 = require("./entities/City");
|
|
12
|
+
Object.defineProperty(exports, "City", { enumerable: true, get: function () { return City_1.City; } });
|
|
13
|
+
var CodeRedemptionHistoryCompany_1 = require("./entities/CodeRedemptionHistoryCompany");
|
|
14
|
+
Object.defineProperty(exports, "CodeRedemptionHistoryCompany", { enumerable: true, get: function () { return CodeRedemptionHistoryCompany_1.CodeRedemptionHistoryCompany; } });
|
|
15
|
+
var CodeRedemptionHistoryUser_1 = require("./entities/CodeRedemptionHistoryUser");
|
|
16
|
+
Object.defineProperty(exports, "CodeRedemptionHistoryUser", { enumerable: true, get: function () { return CodeRedemptionHistoryUser_1.CodeRedemptionHistoryUser; } });
|
|
17
|
+
var Company_1 = require("./entities/Company");
|
|
18
|
+
Object.defineProperty(exports, "Company", { enumerable: true, get: function () { return Company_1.Company; } });
|
|
19
|
+
var Configuration_1 = require("./entities/Configuration");
|
|
20
|
+
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return Configuration_1.Configuration; } });
|
|
21
|
+
var Country_1 = require("./entities/Country");
|
|
22
|
+
Object.defineProperty(exports, "Country", { enumerable: true, get: function () { return Country_1.Country; } });
|
|
23
|
+
var Day_1 = require("./entities/Day");
|
|
24
|
+
Object.defineProperty(exports, "Day", { enumerable: true, get: function () { return Day_1.Day; } });
|
|
25
|
+
var DiscountCodeCompany_1 = require("./entities/DiscountCodeCompany");
|
|
26
|
+
Object.defineProperty(exports, "DiscountCodeCompany", { enumerable: true, get: function () { return DiscountCodeCompany_1.DiscountCodeCompany; } });
|
|
27
|
+
var DiscountCodeUser_1 = require("./entities/DiscountCodeUser");
|
|
28
|
+
Object.defineProperty(exports, "DiscountCodeUser", { enumerable: true, get: function () { return DiscountCodeUser_1.DiscountCodeUser; } });
|
|
29
|
+
var Local_1 = require("./entities/Local");
|
|
30
|
+
Object.defineProperty(exports, "Local", { enumerable: true, get: function () { return Local_1.Local; } });
|
|
31
|
+
var LocalQualification_1 = require("./entities/LocalQualification");
|
|
32
|
+
Object.defineProperty(exports, "LocalQualification", { enumerable: true, get: function () { return LocalQualification_1.LocalQualification; } });
|
|
33
|
+
var Master_1 = require("./entities/Master");
|
|
34
|
+
Object.defineProperty(exports, "Master", { enumerable: true, get: function () { return Master_1.Master; } });
|
|
35
|
+
var MasterPermission_1 = require("./entities/MasterPermission");
|
|
36
|
+
Object.defineProperty(exports, "MasterPermission", { enumerable: true, get: function () { return MasterPermission_1.MasterPermission; } });
|
|
37
|
+
var MasterRole_1 = require("./entities/MasterRole");
|
|
38
|
+
Object.defineProperty(exports, "MasterRole", { enumerable: true, get: function () { return MasterRole_1.MasterRole; } });
|
|
39
|
+
var Partner_1 = require("./entities/Partner");
|
|
40
|
+
Object.defineProperty(exports, "Partner", { enumerable: true, get: function () { return Partner_1.Partner; } });
|
|
41
|
+
var PartnerNotification_1 = require("./entities/PartnerNotification");
|
|
42
|
+
Object.defineProperty(exports, "PartnerNotification", { enumerable: true, get: function () { return PartnerNotification_1.PartnerNotification; } });
|
|
43
|
+
var PartnerPlatformSectionPermission_1 = require("./entities/PartnerPlatformSectionPermission");
|
|
44
|
+
Object.defineProperty(exports, "PartnerPlatformSectionPermission", { enumerable: true, get: function () { return PartnerPlatformSectionPermission_1.PartnerPlatformSectionPermission; } });
|
|
45
|
+
var PartnerRole_1 = require("./entities/PartnerRole");
|
|
46
|
+
Object.defineProperty(exports, "PartnerRole", { enumerable: true, get: function () { return PartnerRole_1.PartnerRole; } });
|
|
47
|
+
var PaymentMethod_1 = require("./entities/PaymentMethod");
|
|
48
|
+
Object.defineProperty(exports, "PaymentMethod", { enumerable: true, get: function () { return PaymentMethod_1.PaymentMethod; } });
|
|
49
|
+
var Plan_1 = require("./entities/Plan");
|
|
50
|
+
Object.defineProperty(exports, "Plan", { enumerable: true, get: function () { return Plan_1.Plan; } });
|
|
51
|
+
var Product_1 = require("./entities/Product");
|
|
52
|
+
Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return Product_1.Product; } });
|
|
53
|
+
var ProductGroup_1 = require("./entities/ProductGroup");
|
|
54
|
+
Object.defineProperty(exports, "ProductGroup", { enumerable: true, get: function () { return ProductGroup_1.ProductGroup; } });
|
|
55
|
+
var productGroupComplement_1 = require("./entities/productGroupComplement");
|
|
56
|
+
Object.defineProperty(exports, "ProductGroupComplement", { enumerable: true, get: function () { return productGroupComplement_1.ProductGroupComplement; } });
|
|
57
|
+
var ProductIngredient_1 = require("./entities/ProductIngredient");
|
|
58
|
+
Object.defineProperty(exports, "ProductIngredient", { enumerable: true, get: function () { return ProductIngredient_1.ProductIngredient; } });
|
|
59
|
+
var ProductTopping_1 = require("./entities/ProductTopping");
|
|
60
|
+
Object.defineProperty(exports, "ProductTopping", { enumerable: true, get: function () { return ProductTopping_1.ProductTopping; } });
|
|
61
|
+
var Region_1 = require("./entities/Region");
|
|
62
|
+
Object.defineProperty(exports, "Region", { enumerable: true, get: function () { return Region_1.Region; } });
|
|
63
|
+
var Request_1 = require("./entities/Request");
|
|
64
|
+
Object.defineProperty(exports, "Request", { enumerable: true, get: function () { return Request_1.Request; } });
|
|
65
|
+
var RequestProduct_1 = require("./entities/RequestProduct");
|
|
66
|
+
Object.defineProperty(exports, "RequestProduct", { enumerable: true, get: function () { return RequestProduct_1.RequestProduct; } });
|
|
67
|
+
var RequestProductGroupComplement_1 = require("./entities/RequestProductGroupComplement");
|
|
68
|
+
Object.defineProperty(exports, "RequestProductGroupComplement", { enumerable: true, get: function () { return RequestProductGroupComplement_1.RequestProductGroupComplement; } });
|
|
69
|
+
var Square_1 = require("./entities/Square");
|
|
70
|
+
Object.defineProperty(exports, "Square", { enumerable: true, get: function () { return Square_1.Square; } });
|
|
71
|
+
var TypeMeasureIngredient_1 = require("./entities/TypeMeasureIngredient");
|
|
72
|
+
Object.defineProperty(exports, "TypeMeasureIngredient", { enumerable: true, get: function () { return TypeMeasureIngredient_1.TypeMeasureIngredient; } });
|
|
73
|
+
var User_1 = require("./entities/User");
|
|
74
|
+
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
|
|
75
|
+
var UserAddress_1 = require("./entities/UserAddress");
|
|
76
|
+
Object.defineProperty(exports, "UserAddress", { enumerable: true, get: function () { return UserAddress_1.UserAddress; } });
|
|
77
|
+
var BusinessType_1 = require("./entities/BusinessType");
|
|
78
|
+
Object.defineProperty(exports, "BusinessType", { enumerable: true, get: function () { return BusinessType_1.BusinessType; } });
|
|
79
|
+
var AuthenticationCredential_1 = require("./entities/AuthenticationCredential");
|
|
80
|
+
Object.defineProperty(exports, "AuthenticationCredential", { enumerable: true, get: function () { return AuthenticationCredential_1.AuthenticationCredential; } });
|
|
81
|
+
var PosSystem_1 = require("./entities/PosSystem");
|
|
82
|
+
Object.defineProperty(exports, "PosSystem", { enumerable: true, get: function () { return PosSystem_1.PosSystem; } });
|
|
83
|
+
var VerifyLocal_1 = require("./entities/VerifyLocal");
|
|
84
|
+
Object.defineProperty(exports, "VerifyLocal", { enumerable: true, get: function () { return VerifyLocal_1.VerifyLocal; } });
|
|
85
|
+
var MasterNotification_1 = require("./entities/MasterNotification");
|
|
86
|
+
Object.defineProperty(exports, "MasterNotification", { enumerable: true, get: function () { return MasterNotification_1.MasterNotification; } });
|
|
87
|
+
var LocalPlan_1 = require("./entities/LocalPlan");
|
|
88
|
+
Object.defineProperty(exports, "LocalPlan", { enumerable: true, get: function () { return LocalPlan_1.LocalPlan; } });
|
|
89
|
+
var PartnerPlatformSection_1 = require("./entities/PartnerPlatformSection");
|
|
90
|
+
Object.defineProperty(exports, "PartnerPlatformSection", { enumerable: true, get: function () { return PartnerPlatformSection_1.PartnerPlatformSection; } });
|
|
91
|
+
var PartnerPlatform_1 = require("./entities/PartnerPlatform");
|
|
92
|
+
Object.defineProperty(exports, "PartnerPlatform", { enumerable: true, get: function () { return PartnerPlatform_1.PartnerPlatform; } });
|
|
93
|
+
var ServicePlan_1 = require("./entities/ServicePlan");
|
|
94
|
+
Object.defineProperty(exports, "ServicePlan", { enumerable: true, get: function () { return ServicePlan_1.ServicePlan; } });
|
|
95
|
+
var Bank_1 = require("./entities/Bank");
|
|
96
|
+
Object.defineProperty(exports, "Bank", { enumerable: true, get: function () { return Bank_1.Bank; } });
|
|
97
|
+
var CategoryDate_1 = require("./entities/CategoryDate");
|
|
98
|
+
Object.defineProperty(exports, "CategoryDate", { enumerable: true, get: function () { return CategoryDate_1.CategoryDate; } });
|
|
99
|
+
var ProductSchedule_1 = require("./entities/ProductSchedule");
|
|
100
|
+
Object.defineProperty(exports, "ProductSchedule", { enumerable: true, get: function () { return ProductSchedule_1.ProductSchedule; } });
|
|
101
|
+
var ProductDate_1 = require("./entities/ProductDate");
|
|
102
|
+
Object.defineProperty(exports, "ProductDate", { enumerable: true, get: function () { return ProductDate_1.ProductDate; } });
|
|
103
|
+
var ToppingImage_1 = require("./entities/ToppingImage");
|
|
104
|
+
Object.defineProperty(exports, "ToppingImage", { enumerable: true, get: function () { return ToppingImage_1.ToppingImage; } });
|
|
105
|
+
var PartnerSession_1 = require("./entities/PartnerSession");
|
|
106
|
+
Object.defineProperty(exports, "PartnerSession", { enumerable: true, get: function () { return PartnerSession_1.PartnerSession; } });
|
|
107
|
+
var RequestLocal_1 = require("./entities/RequestLocal");
|
|
108
|
+
Object.defineProperty(exports, "RequestLocal", { enumerable: true, get: function () { return RequestLocal_1.RequestLocal; } });
|
|
109
|
+
var RequestLocalHistory_1 = require("./entities/RequestLocalHistory");
|
|
110
|
+
Object.defineProperty(exports, "RequestLocalHistory", { enumerable: true, get: function () { return RequestLocalHistory_1.RequestLocalHistory; } });
|
|
111
|
+
var UserPaymentMethod_1 = require("./entities/UserPaymentMethod");
|
|
112
|
+
Object.defineProperty(exports, "UserPaymentMethod", { enumerable: true, get: function () { return UserPaymentMethod_1.UserPaymentMethod; } });
|
|
113
|
+
var RequestLocalPayment_1 = require("./entities/RequestLocalPayment");
|
|
114
|
+
Object.defineProperty(exports, "RequestLocalPayment", { enumerable: true, get: function () { return RequestLocalPayment_1.RequestLocalPayment; } });
|
|
115
|
+
var ReceiptConfig_1 = require("./entities/ReceiptConfig");
|
|
116
|
+
Object.defineProperty(exports, "ReceiptConfig", { enumerable: true, get: function () { return ReceiptConfig_1.ReceiptConfig; } });
|
|
117
|
+
var RequestPrint_1 = require("./entities/RequestPrint");
|
|
118
|
+
Object.defineProperty(exports, "RequestPrint", { enumerable: true, get: function () { return RequestPrint_1.RequestPrint; } });
|
|
119
|
+
var LocalTableZone_1 = require("./entities/LocalTableZone");
|
|
120
|
+
Object.defineProperty(exports, "LocalTableZone", { enumerable: true, get: function () { return LocalTableZone_1.LocalTableZone; } });
|
|
121
|
+
var LocalTable_1 = require("./entities/LocalTable");
|
|
122
|
+
Object.defineProperty(exports, "LocalTable", { enumerable: true, get: function () { return LocalTable_1.LocalTable; } });
|
|
123
|
+
var LocalDecorationReserve_1 = require("./entities/LocalDecorationReserve");
|
|
124
|
+
Object.defineProperty(exports, "LocalDecorationReserve", { enumerable: true, get: function () { return LocalDecorationReserve_1.LocalDecorationReserve; } });
|
|
125
|
+
var DecorationReserve_1 = require("./entities/DecorationReserve");
|
|
126
|
+
Object.defineProperty(exports, "DecorationReserve", { enumerable: true, get: function () { return DecorationReserve_1.DecorationReserve; } });
|
|
127
|
+
var LocalTableReservePayment_1 = require("./entities/LocalTableReservePayment");
|
|
128
|
+
Object.defineProperty(exports, "LocalTableReservePayment", { enumerable: true, get: function () { return LocalTableReservePayment_1.LocalTableReservePayment; } });
|
|
129
|
+
var LocalReserve_1 = require("./entities/LocalReserve");
|
|
130
|
+
Object.defineProperty(exports, "LocalReserve", { enumerable: true, get: function () { return LocalReserve_1.LocalReserve; } });
|
|
131
|
+
var LocalReserveStatus_1 = require("./entities/LocalReserveStatus");
|
|
132
|
+
Object.defineProperty(exports, "LocalReserveStatus", { enumerable: true, get: function () { return LocalReserveStatus_1.LocalReserveStatus; } });
|
|
133
|
+
var LocalTableReserve_1 = require("./entities/LocalTableReserve");
|
|
134
|
+
Object.defineProperty(exports, "LocalTableReserve", { enumerable: true, get: function () { return LocalTableReserve_1.LocalTableReserve; } });
|
|
135
|
+
var RequestInvoice_1 = require("./entities/RequestInvoice");
|
|
136
|
+
Object.defineProperty(exports, "RequestInvoice", { enumerable: true, get: function () { return RequestInvoice_1.RequestInvoice; } });
|
|
137
|
+
var RequestInvoiceCategory_1 = require("./entities/RequestInvoiceCategory");
|
|
138
|
+
Object.defineProperty(exports, "RequestInvoiceCategory", { enumerable: true, get: function () { return RequestInvoiceCategory_1.RequestInvoiceCategory; } });
|
|
139
|
+
var RequestLocalTable_1 = require("./entities/RequestLocalTable");
|
|
140
|
+
Object.defineProperty(exports, "RequestLocalTable", { enumerable: true, get: function () { return RequestLocalTable_1.RequestLocalTable; } });
|
|
141
|
+
var Gallery_1 = require("./entities/Gallery");
|
|
142
|
+
Object.defineProperty(exports, "Gallery", { enumerable: true, get: function () { return Gallery_1.Gallery; } });
|
|
143
|
+
var ProductImage_1 = require("./entities/ProductImage");
|
|
144
|
+
Object.defineProperty(exports, "ProductImage", { enumerable: true, get: function () { return ProductImage_1.ProductImage; } });
|
|
145
|
+
var LocalPaymentMethod_1 = require("./entities/LocalPaymentMethod");
|
|
146
|
+
Object.defineProperty(exports, "LocalPaymentMethod", { enumerable: true, get: function () { return LocalPaymentMethod_1.LocalPaymentMethod; } });
|
|
147
|
+
var VerificationCode_1 = require("./entities/VerificationCode");
|
|
148
|
+
Object.defineProperty(exports, "VerificationCode", { enumerable: true, get: function () { return VerificationCode_1.VerificationCode; } });
|
|
149
|
+
var PartnerPlatformSectionPermissionAssociate_1 = require("./entities/PartnerPlatformSectionPermissionAssociate");
|
|
150
|
+
Object.defineProperty(exports, "PartnerPlatformSectionPermissionAssociate", { enumerable: true, get: function () { return PartnerPlatformSectionPermissionAssociate_1.PartnerPlatformSectionPermissionAssociate; } });
|
|
151
|
+
var MasterSession_1 = require("./entities/MasterSession");
|
|
152
|
+
Object.defineProperty(exports, "MasterSession", { enumerable: true, get: function () { return MasterSession_1.MasterSession; } });
|
|
153
|
+
var CountryHoliday_1 = require("./entities/CountryHoliday");
|
|
154
|
+
Object.defineProperty(exports, "CountryHoliday", { enumerable: true, get: function () { return CountryHoliday_1.CountryHoliday; } });
|
|
155
|
+
var LocalsCompany_1 = require("./views/LocalsCompany");
|
|
156
|
+
Object.defineProperty(exports, "LocalsCompany", { enumerable: true, get: function () { return LocalsCompany_1.LocalsCompany; } });
|
|
157
|
+
var VerifyLocals_1 = require("./views/VerifyLocals");
|
|
158
|
+
Object.defineProperty(exports, "VerifyLocals", { enumerable: true, get: function () { return VerifyLocals_1.VerifyLocals; } });
|
|
159
|
+
var MasterNotifications_1 = require("./views/MasterNotifications");
|
|
160
|
+
Object.defineProperty(exports, "MasterNotifications", { enumerable: true, get: function () { return MasterNotifications_1.MasterNotifications; } });
|
|
161
|
+
var ViewLocalsCompanies_1 = require("./views/ViewLocalsCompanies");
|
|
162
|
+
Object.defineProperty(exports, "ViewLocalsCompanies", { enumerable: true, get: function () { return ViewLocalsCompanies_1.ViewLocalsCompanies; } });
|
|
163
|
+
var Partners_1 = require("./views/Partners");
|
|
164
|
+
Object.defineProperty(exports, "Partners", { enumerable: true, get: function () { return Partners_1.Partners; } });
|
|
165
|
+
var DiscountsCodeUser_1 = require("./views/DiscountsCodeUser");
|
|
166
|
+
Object.defineProperty(exports, "DiscountsCodeUser", { enumerable: true, get: function () { return DiscountsCodeUser_1.DiscountsCodeUser; } });
|
|
167
|
+
var PartnerNotifications_1 = require("./views/PartnerNotifications");
|
|
168
|
+
Object.defineProperty(exports, "PartnerNotifications", { enumerable: true, get: function () { return PartnerNotifications_1.PartnerNotifications; } });
|
|
169
|
+
var LocalTableZonesFilter_1 = require("./views/LocalTableZonesFilter");
|
|
170
|
+
Object.defineProperty(exports, "LocalTableZonesFilter", { enumerable: true, get: function () { return LocalTableZonesFilter_1.LocalTableZonesFilter; } });
|
|
171
|
+
var LocalReserves_1 = require("./views/LocalReserves");
|
|
172
|
+
Object.defineProperty(exports, "LocalReserves", { enumerable: true, get: function () { return LocalReserves_1.LocalReserves; } });
|
|
173
|
+
var LocalsCompanyInformationForTheMap_1 = require("./views/LocalsCompanyInformationForTheMap");
|
|
174
|
+
Object.defineProperty(exports, "LocalsCompanyInformationForTheMap", { enumerable: true, get: function () { return LocalsCompanyInformationForTheMap_1.LocalsCompanyInformationForTheMap; } });
|
|
175
|
+
var LocalsCompanyInformationForTheTable_1 = require("./views/LocalsCompanyInformationForTheTable");
|
|
176
|
+
Object.defineProperty(exports, "LocalsCompanyInformationForTheTable", { enumerable: true, get: function () { return LocalsCompanyInformationForTheTable_1.LocalsCompanyInformationForTheTable; } });
|
|
@@ -1,93 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { Category } from "./entities/Category";
|
|
3
|
-
export { ScheduleCategory } from "./entities/CategorySchedule";
|
|
4
|
-
export { City } from "./entities/City";
|
|
5
|
-
export { CodeRedemptionHistoryCompany } from "./entities/CodeRedemptionHistoryCompany";
|
|
6
|
-
export { CodeRedemptionHistoryUser } from "./entities/CodeRedemptionHistoryUser";
|
|
7
|
-
export { Company } from "./entities/Company";
|
|
8
|
-
export { Configuration } from "./entities/Configuration";
|
|
9
|
-
export { Country } from "./entities/Country";
|
|
10
|
-
export { Day } from "./entities/Day";
|
|
11
|
-
export { DiscountCodeCompany } from "./entities/DiscountCodeCompany";
|
|
12
|
-
export { DiscountCodeUser } from "./entities/DiscountCodeUser";
|
|
13
|
-
export { Local } from "./entities/Local";
|
|
14
|
-
export { LocalQualification } from "./entities/LocalQualification";
|
|
15
|
-
export { Master } from "./entities/Master";
|
|
16
|
-
export { MasterPermission } from "./entities/MasterPermission";
|
|
17
|
-
export { MasterRole } from "./entities/MasterRole";
|
|
18
|
-
export { Partner } from "./entities/Partner";
|
|
19
|
-
export { PartnerNotification } from "./entities/PartnerNotification";
|
|
20
|
-
export { PartnerPlatformSectionPermission } from "./entities/PartnerPlatformSectionPermission";
|
|
21
|
-
export { PartnerRole } from "./entities/PartnerRole";
|
|
22
|
-
export { PaymentMethod } from "./entities/PaymentMethod";
|
|
23
|
-
export { Plan } from "./entities/Plan";
|
|
24
|
-
export { Product } from "./entities/Product";
|
|
25
|
-
export { ProductGroup } from "./entities/ProductGroup";
|
|
26
|
-
export { ProductGroupComplement } from "./entities/productGroupComplement";
|
|
27
|
-
export { ProductIngredient } from "./entities/ProductIngredient";
|
|
28
|
-
export { ProductTopping } from "./entities/ProductTopping";
|
|
29
|
-
export { Region } from "./entities/Region";
|
|
30
|
-
export { Request } from "./entities/Request";
|
|
31
|
-
export { RequestProduct } from "./entities/RequestProduct";
|
|
32
|
-
export { RequestProductGroupComplement } from "./entities/RequestProductGroupComplement";
|
|
33
|
-
export { Square } from "./entities/Square";
|
|
34
|
-
export { TypeMeasureIngredient } from "./entities/TypeMeasureIngredient";
|
|
35
|
-
export { User } from "./entities/User";
|
|
36
|
-
export { UserAddress } from "./entities/UserAddress";
|
|
37
|
-
export { BusinessType } from "./entities/BusinessType";
|
|
38
|
-
export { AuthenticationCredential } from "./entities/AuthenticationCredential";
|
|
39
|
-
export { PosSystem } from "./entities/PosSystem";
|
|
40
|
-
export { VerifyLocal } from "./entities/VerifyLocal";
|
|
41
|
-
export { MasterNotification } from "./entities/MasterNotification";
|
|
42
|
-
export { LocalPlan } from "./entities/LocalPlan";
|
|
43
|
-
export { PartnerPlatformSection } from "./entities/PartnerPlatformSection";
|
|
44
|
-
export { PartnerPlatform } from "./entities/PartnerPlatform";
|
|
45
|
-
export { ServicePlan } from "./entities/ServicePlan";
|
|
46
|
-
export { Bank } from "./entities/Bank";
|
|
47
|
-
export { CategoryDate } from "./entities/CategoryDate";
|
|
48
|
-
export { ProductSchedule } from "./entities/ProductSchedule";
|
|
49
|
-
export { ProductDate } from "./entities/ProductDate";
|
|
50
|
-
export { ToppingImage } from "./entities/ToppingImage";
|
|
51
|
-
export { PartnerSession } from "./entities/PartnerSession";
|
|
52
|
-
export { RequestLocal } from "./entities/RequestLocal";
|
|
53
|
-
export { RequestLocalHistory } from "./entities/RequestLocalHistory";
|
|
54
|
-
export { UserPaymentMethod } from "./entities/UserPaymentMethod";
|
|
55
|
-
export { RequestLocalPayment } from "./entities/RequestLocalPayment";
|
|
56
|
-
export { ReceiptConfig } from "./entities/ReceiptConfig";
|
|
57
|
-
export { RequestPrint } from "./entities/RequestPrint";
|
|
58
|
-
export { LocalTableZone } from "./entities/LocalTableZone";
|
|
59
|
-
export { LocalTable } from "./entities/LocalTable";
|
|
60
|
-
export { LocalDecorationReserve } from "./entities/LocalDecorationReserve";
|
|
61
|
-
export { DecorationReserve } from "./entities/DecorationReserve";
|
|
62
|
-
export { LocalTableReservePayment } from "./entities/LocalTableReservePayment";
|
|
63
|
-
export { LocalReserve } from "./entities/LocalReserve";
|
|
64
|
-
export { LocalReserveStatus } from "./entities/LocalReserveStatus";
|
|
65
|
-
export { LocalTableReserve } from "./entities/LocalTableReserve";
|
|
66
|
-
export { RequestInvoice } from "./entities/RequestInvoice";
|
|
67
|
-
export { RequestInvoiceCategory } from "./entities/RequestInvoiceCategory";
|
|
68
|
-
export { RequestLocalTable } from "./entities/RequestLocalTable";
|
|
69
|
-
export { Gallery } from "./entities/Gallery";
|
|
70
|
-
export { ProductImage } from "./entities/ProductImage";
|
|
71
|
-
export { LocalPaymentMethod } from "./entities/LocalPaymentMethod";
|
|
72
|
-
export { VerificationCode } from "./entities/VerificationCode";
|
|
73
|
-
export { PartnerPlatformSectionPermissionAssociate } from "./entities/PartnerPlatformSectionPermissionAssociate";
|
|
74
|
-
export { MasterSession } from "./entities/MasterSession";
|
|
75
|
-
export { CountryHoliday } from "./entities/CountryHoliday";
|
|
76
|
-
export { LocalsCompany } from "./views/LocalsCompany";
|
|
77
|
-
export { VerifyLocals } from "./views/VerifyLocals";
|
|
78
|
-
export { MasterNotifications } from "./views/MasterNotifications";
|
|
79
|
-
export { ViewLocalsCompanies } from "./views/ViewLocalsCompanies";
|
|
80
|
-
export { Partners } from "./views/Partners";
|
|
81
|
-
export { DiscountsCodeUser } from "./views/DiscountsCodeUser";
|
|
82
|
-
export { PartnerNotifications } from "./views/PartnerNotifications";
|
|
83
|
-
export { LocalTableZonesFilter } from "./views/LocalTableZonesFilter";
|
|
84
|
-
export { LocalReserves } from "./views/LocalReserves";
|
|
85
|
-
export { LocalsCompanyInformationForTheMap } from "./views/LocalsCompanyInformationForTheMap";
|
|
86
|
-
export { LocalsCompanyInformationForTheTable } from "./views/LocalsCompanyInformationForTheTable";
|
|
1
|
+
export * from "./entities.index";
|
|
87
2
|
export { getDiscountsCodeCompanyInformation } from "./filters/DiscountsCodeCompanyInformation";
|
|
88
3
|
export { getDiscountsCodeUserInformation } from "./filters/DiscountsCodeUserInformation";
|
|
89
4
|
export { getLocalsCompanyInformation } from "./filters/LocalsCompanyInformation";
|
|
90
5
|
export { getVerifyLocalsInformation } from "./filters/VerifyLocalsInformation";
|
|
91
6
|
export { getLocalReservesInformation } from "./filters/LocalReservesInformation";
|
|
7
|
+
export { getLocalsCompanyInformationTable } from "./filters/LocalsCompanyInformationForTheTable";
|
|
92
8
|
export { CustomRepository } from "./CustomRepository";
|
|
93
9
|
export * from "./utils";
|
|
@@ -14,180 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
var BusinessTypeProduct_1 = require("./entities/BusinessTypeProduct");
|
|
20
|
-
Object.defineProperty(exports, "BusinessTypeProduct", { enumerable: true, get: function () { return BusinessTypeProduct_1.BusinessTypeProduct; } });
|
|
21
|
-
var Category_1 = require("./entities/Category");
|
|
22
|
-
Object.defineProperty(exports, "Category", { enumerable: true, get: function () { return Category_1.Category; } });
|
|
23
|
-
var CategorySchedule_1 = require("./entities/CategorySchedule");
|
|
24
|
-
Object.defineProperty(exports, "ScheduleCategory", { enumerable: true, get: function () { return CategorySchedule_1.ScheduleCategory; } });
|
|
25
|
-
var City_1 = require("./entities/City");
|
|
26
|
-
Object.defineProperty(exports, "City", { enumerable: true, get: function () { return City_1.City; } });
|
|
27
|
-
var CodeRedemptionHistoryCompany_1 = require("./entities/CodeRedemptionHistoryCompany");
|
|
28
|
-
Object.defineProperty(exports, "CodeRedemptionHistoryCompany", { enumerable: true, get: function () { return CodeRedemptionHistoryCompany_1.CodeRedemptionHistoryCompany; } });
|
|
29
|
-
var CodeRedemptionHistoryUser_1 = require("./entities/CodeRedemptionHistoryUser");
|
|
30
|
-
Object.defineProperty(exports, "CodeRedemptionHistoryUser", { enumerable: true, get: function () { return CodeRedemptionHistoryUser_1.CodeRedemptionHistoryUser; } });
|
|
31
|
-
var Company_1 = require("./entities/Company");
|
|
32
|
-
Object.defineProperty(exports, "Company", { enumerable: true, get: function () { return Company_1.Company; } });
|
|
33
|
-
var Configuration_1 = require("./entities/Configuration");
|
|
34
|
-
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return Configuration_1.Configuration; } });
|
|
35
|
-
var Country_1 = require("./entities/Country");
|
|
36
|
-
Object.defineProperty(exports, "Country", { enumerable: true, get: function () { return Country_1.Country; } });
|
|
37
|
-
var Day_1 = require("./entities/Day");
|
|
38
|
-
Object.defineProperty(exports, "Day", { enumerable: true, get: function () { return Day_1.Day; } });
|
|
39
|
-
var DiscountCodeCompany_1 = require("./entities/DiscountCodeCompany");
|
|
40
|
-
Object.defineProperty(exports, "DiscountCodeCompany", { enumerable: true, get: function () { return DiscountCodeCompany_1.DiscountCodeCompany; } });
|
|
41
|
-
var DiscountCodeUser_1 = require("./entities/DiscountCodeUser");
|
|
42
|
-
Object.defineProperty(exports, "DiscountCodeUser", { enumerable: true, get: function () { return DiscountCodeUser_1.DiscountCodeUser; } });
|
|
43
|
-
var Local_1 = require("./entities/Local");
|
|
44
|
-
Object.defineProperty(exports, "Local", { enumerable: true, get: function () { return Local_1.Local; } });
|
|
45
|
-
var LocalQualification_1 = require("./entities/LocalQualification");
|
|
46
|
-
Object.defineProperty(exports, "LocalQualification", { enumerable: true, get: function () { return LocalQualification_1.LocalQualification; } });
|
|
47
|
-
var Master_1 = require("./entities/Master");
|
|
48
|
-
Object.defineProperty(exports, "Master", { enumerable: true, get: function () { return Master_1.Master; } });
|
|
49
|
-
var MasterPermission_1 = require("./entities/MasterPermission");
|
|
50
|
-
Object.defineProperty(exports, "MasterPermission", { enumerable: true, get: function () { return MasterPermission_1.MasterPermission; } });
|
|
51
|
-
var MasterRole_1 = require("./entities/MasterRole");
|
|
52
|
-
Object.defineProperty(exports, "MasterRole", { enumerable: true, get: function () { return MasterRole_1.MasterRole; } });
|
|
53
|
-
var Partner_1 = require("./entities/Partner");
|
|
54
|
-
Object.defineProperty(exports, "Partner", { enumerable: true, get: function () { return Partner_1.Partner; } });
|
|
55
|
-
var PartnerNotification_1 = require("./entities/PartnerNotification");
|
|
56
|
-
Object.defineProperty(exports, "PartnerNotification", { enumerable: true, get: function () { return PartnerNotification_1.PartnerNotification; } });
|
|
57
|
-
var PartnerPlatformSectionPermission_1 = require("./entities/PartnerPlatformSectionPermission");
|
|
58
|
-
Object.defineProperty(exports, "PartnerPlatformSectionPermission", { enumerable: true, get: function () { return PartnerPlatformSectionPermission_1.PartnerPlatformSectionPermission; } });
|
|
59
|
-
var PartnerRole_1 = require("./entities/PartnerRole");
|
|
60
|
-
Object.defineProperty(exports, "PartnerRole", { enumerable: true, get: function () { return PartnerRole_1.PartnerRole; } });
|
|
61
|
-
var PaymentMethod_1 = require("./entities/PaymentMethod");
|
|
62
|
-
Object.defineProperty(exports, "PaymentMethod", { enumerable: true, get: function () { return PaymentMethod_1.PaymentMethod; } });
|
|
63
|
-
var Plan_1 = require("./entities/Plan");
|
|
64
|
-
Object.defineProperty(exports, "Plan", { enumerable: true, get: function () { return Plan_1.Plan; } });
|
|
65
|
-
var Product_1 = require("./entities/Product");
|
|
66
|
-
Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return Product_1.Product; } });
|
|
67
|
-
var ProductGroup_1 = require("./entities/ProductGroup");
|
|
68
|
-
Object.defineProperty(exports, "ProductGroup", { enumerable: true, get: function () { return ProductGroup_1.ProductGroup; } });
|
|
69
|
-
var productGroupComplement_1 = require("./entities/productGroupComplement");
|
|
70
|
-
Object.defineProperty(exports, "ProductGroupComplement", { enumerable: true, get: function () { return productGroupComplement_1.ProductGroupComplement; } });
|
|
71
|
-
var ProductIngredient_1 = require("./entities/ProductIngredient");
|
|
72
|
-
Object.defineProperty(exports, "ProductIngredient", { enumerable: true, get: function () { return ProductIngredient_1.ProductIngredient; } });
|
|
73
|
-
var ProductTopping_1 = require("./entities/ProductTopping");
|
|
74
|
-
Object.defineProperty(exports, "ProductTopping", { enumerable: true, get: function () { return ProductTopping_1.ProductTopping; } });
|
|
75
|
-
var Region_1 = require("./entities/Region");
|
|
76
|
-
Object.defineProperty(exports, "Region", { enumerable: true, get: function () { return Region_1.Region; } });
|
|
77
|
-
var Request_1 = require("./entities/Request");
|
|
78
|
-
Object.defineProperty(exports, "Request", { enumerable: true, get: function () { return Request_1.Request; } });
|
|
79
|
-
var RequestProduct_1 = require("./entities/RequestProduct");
|
|
80
|
-
Object.defineProperty(exports, "RequestProduct", { enumerable: true, get: function () { return RequestProduct_1.RequestProduct; } });
|
|
81
|
-
var RequestProductGroupComplement_1 = require("./entities/RequestProductGroupComplement");
|
|
82
|
-
Object.defineProperty(exports, "RequestProductGroupComplement", { enumerable: true, get: function () { return RequestProductGroupComplement_1.RequestProductGroupComplement; } });
|
|
83
|
-
var Square_1 = require("./entities/Square");
|
|
84
|
-
Object.defineProperty(exports, "Square", { enumerable: true, get: function () { return Square_1.Square; } });
|
|
85
|
-
var TypeMeasureIngredient_1 = require("./entities/TypeMeasureIngredient");
|
|
86
|
-
Object.defineProperty(exports, "TypeMeasureIngredient", { enumerable: true, get: function () { return TypeMeasureIngredient_1.TypeMeasureIngredient; } });
|
|
87
|
-
var User_1 = require("./entities/User");
|
|
88
|
-
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
|
|
89
|
-
var UserAddress_1 = require("./entities/UserAddress");
|
|
90
|
-
Object.defineProperty(exports, "UserAddress", { enumerable: true, get: function () { return UserAddress_1.UserAddress; } });
|
|
91
|
-
var BusinessType_1 = require("./entities/BusinessType");
|
|
92
|
-
Object.defineProperty(exports, "BusinessType", { enumerable: true, get: function () { return BusinessType_1.BusinessType; } });
|
|
93
|
-
var AuthenticationCredential_1 = require("./entities/AuthenticationCredential");
|
|
94
|
-
Object.defineProperty(exports, "AuthenticationCredential", { enumerable: true, get: function () { return AuthenticationCredential_1.AuthenticationCredential; } });
|
|
95
|
-
var PosSystem_1 = require("./entities/PosSystem");
|
|
96
|
-
Object.defineProperty(exports, "PosSystem", { enumerable: true, get: function () { return PosSystem_1.PosSystem; } });
|
|
97
|
-
var VerifyLocal_1 = require("./entities/VerifyLocal");
|
|
98
|
-
Object.defineProperty(exports, "VerifyLocal", { enumerable: true, get: function () { return VerifyLocal_1.VerifyLocal; } });
|
|
99
|
-
var MasterNotification_1 = require("./entities/MasterNotification");
|
|
100
|
-
Object.defineProperty(exports, "MasterNotification", { enumerable: true, get: function () { return MasterNotification_1.MasterNotification; } });
|
|
101
|
-
var LocalPlan_1 = require("./entities/LocalPlan");
|
|
102
|
-
Object.defineProperty(exports, "LocalPlan", { enumerable: true, get: function () { return LocalPlan_1.LocalPlan; } });
|
|
103
|
-
var PartnerPlatformSection_1 = require("./entities/PartnerPlatformSection");
|
|
104
|
-
Object.defineProperty(exports, "PartnerPlatformSection", { enumerable: true, get: function () { return PartnerPlatformSection_1.PartnerPlatformSection; } });
|
|
105
|
-
var PartnerPlatform_1 = require("./entities/PartnerPlatform");
|
|
106
|
-
Object.defineProperty(exports, "PartnerPlatform", { enumerable: true, get: function () { return PartnerPlatform_1.PartnerPlatform; } });
|
|
107
|
-
var ServicePlan_1 = require("./entities/ServicePlan");
|
|
108
|
-
Object.defineProperty(exports, "ServicePlan", { enumerable: true, get: function () { return ServicePlan_1.ServicePlan; } });
|
|
109
|
-
var Bank_1 = require("./entities/Bank");
|
|
110
|
-
Object.defineProperty(exports, "Bank", { enumerable: true, get: function () { return Bank_1.Bank; } });
|
|
111
|
-
var CategoryDate_1 = require("./entities/CategoryDate");
|
|
112
|
-
Object.defineProperty(exports, "CategoryDate", { enumerable: true, get: function () { return CategoryDate_1.CategoryDate; } });
|
|
113
|
-
var ProductSchedule_1 = require("./entities/ProductSchedule");
|
|
114
|
-
Object.defineProperty(exports, "ProductSchedule", { enumerable: true, get: function () { return ProductSchedule_1.ProductSchedule; } });
|
|
115
|
-
var ProductDate_1 = require("./entities/ProductDate");
|
|
116
|
-
Object.defineProperty(exports, "ProductDate", { enumerable: true, get: function () { return ProductDate_1.ProductDate; } });
|
|
117
|
-
var ToppingImage_1 = require("./entities/ToppingImage");
|
|
118
|
-
Object.defineProperty(exports, "ToppingImage", { enumerable: true, get: function () { return ToppingImage_1.ToppingImage; } });
|
|
119
|
-
var PartnerSession_1 = require("./entities/PartnerSession");
|
|
120
|
-
Object.defineProperty(exports, "PartnerSession", { enumerable: true, get: function () { return PartnerSession_1.PartnerSession; } });
|
|
121
|
-
var RequestLocal_1 = require("./entities/RequestLocal");
|
|
122
|
-
Object.defineProperty(exports, "RequestLocal", { enumerable: true, get: function () { return RequestLocal_1.RequestLocal; } });
|
|
123
|
-
var RequestLocalHistory_1 = require("./entities/RequestLocalHistory");
|
|
124
|
-
Object.defineProperty(exports, "RequestLocalHistory", { enumerable: true, get: function () { return RequestLocalHistory_1.RequestLocalHistory; } });
|
|
125
|
-
var UserPaymentMethod_1 = require("./entities/UserPaymentMethod");
|
|
126
|
-
Object.defineProperty(exports, "UserPaymentMethod", { enumerable: true, get: function () { return UserPaymentMethod_1.UserPaymentMethod; } });
|
|
127
|
-
var RequestLocalPayment_1 = require("./entities/RequestLocalPayment");
|
|
128
|
-
Object.defineProperty(exports, "RequestLocalPayment", { enumerable: true, get: function () { return RequestLocalPayment_1.RequestLocalPayment; } });
|
|
129
|
-
var ReceiptConfig_1 = require("./entities/ReceiptConfig");
|
|
130
|
-
Object.defineProperty(exports, "ReceiptConfig", { enumerable: true, get: function () { return ReceiptConfig_1.ReceiptConfig; } });
|
|
131
|
-
var RequestPrint_1 = require("./entities/RequestPrint");
|
|
132
|
-
Object.defineProperty(exports, "RequestPrint", { enumerable: true, get: function () { return RequestPrint_1.RequestPrint; } });
|
|
133
|
-
var LocalTableZone_1 = require("./entities/LocalTableZone");
|
|
134
|
-
Object.defineProperty(exports, "LocalTableZone", { enumerable: true, get: function () { return LocalTableZone_1.LocalTableZone; } });
|
|
135
|
-
var LocalTable_1 = require("./entities/LocalTable");
|
|
136
|
-
Object.defineProperty(exports, "LocalTable", { enumerable: true, get: function () { return LocalTable_1.LocalTable; } });
|
|
137
|
-
var LocalDecorationReserve_1 = require("./entities/LocalDecorationReserve");
|
|
138
|
-
Object.defineProperty(exports, "LocalDecorationReserve", { enumerable: true, get: function () { return LocalDecorationReserve_1.LocalDecorationReserve; } });
|
|
139
|
-
var DecorationReserve_1 = require("./entities/DecorationReserve");
|
|
140
|
-
Object.defineProperty(exports, "DecorationReserve", { enumerable: true, get: function () { return DecorationReserve_1.DecorationReserve; } });
|
|
141
|
-
var LocalTableReservePayment_1 = require("./entities/LocalTableReservePayment");
|
|
142
|
-
Object.defineProperty(exports, "LocalTableReservePayment", { enumerable: true, get: function () { return LocalTableReservePayment_1.LocalTableReservePayment; } });
|
|
143
|
-
var LocalReserve_1 = require("./entities/LocalReserve");
|
|
144
|
-
Object.defineProperty(exports, "LocalReserve", { enumerable: true, get: function () { return LocalReserve_1.LocalReserve; } });
|
|
145
|
-
var LocalReserveStatus_1 = require("./entities/LocalReserveStatus");
|
|
146
|
-
Object.defineProperty(exports, "LocalReserveStatus", { enumerable: true, get: function () { return LocalReserveStatus_1.LocalReserveStatus; } });
|
|
147
|
-
var LocalTableReserve_1 = require("./entities/LocalTableReserve");
|
|
148
|
-
Object.defineProperty(exports, "LocalTableReserve", { enumerable: true, get: function () { return LocalTableReserve_1.LocalTableReserve; } });
|
|
149
|
-
var RequestInvoice_1 = require("./entities/RequestInvoice");
|
|
150
|
-
Object.defineProperty(exports, "RequestInvoice", { enumerable: true, get: function () { return RequestInvoice_1.RequestInvoice; } });
|
|
151
|
-
var RequestInvoiceCategory_1 = require("./entities/RequestInvoiceCategory");
|
|
152
|
-
Object.defineProperty(exports, "RequestInvoiceCategory", { enumerable: true, get: function () { return RequestInvoiceCategory_1.RequestInvoiceCategory; } });
|
|
153
|
-
var RequestLocalTable_1 = require("./entities/RequestLocalTable");
|
|
154
|
-
Object.defineProperty(exports, "RequestLocalTable", { enumerable: true, get: function () { return RequestLocalTable_1.RequestLocalTable; } });
|
|
155
|
-
var Gallery_1 = require("./entities/Gallery");
|
|
156
|
-
Object.defineProperty(exports, "Gallery", { enumerable: true, get: function () { return Gallery_1.Gallery; } });
|
|
157
|
-
var ProductImage_1 = require("./entities/ProductImage");
|
|
158
|
-
Object.defineProperty(exports, "ProductImage", { enumerable: true, get: function () { return ProductImage_1.ProductImage; } });
|
|
159
|
-
var LocalPaymentMethod_1 = require("./entities/LocalPaymentMethod");
|
|
160
|
-
Object.defineProperty(exports, "LocalPaymentMethod", { enumerable: true, get: function () { return LocalPaymentMethod_1.LocalPaymentMethod; } });
|
|
161
|
-
var VerificationCode_1 = require("./entities/VerificationCode");
|
|
162
|
-
Object.defineProperty(exports, "VerificationCode", { enumerable: true, get: function () { return VerificationCode_1.VerificationCode; } });
|
|
163
|
-
var PartnerPlatformSectionPermissionAssociate_1 = require("./entities/PartnerPlatformSectionPermissionAssociate");
|
|
164
|
-
Object.defineProperty(exports, "PartnerPlatformSectionPermissionAssociate", { enumerable: true, get: function () { return PartnerPlatformSectionPermissionAssociate_1.PartnerPlatformSectionPermissionAssociate; } });
|
|
165
|
-
var MasterSession_1 = require("./entities/MasterSession");
|
|
166
|
-
Object.defineProperty(exports, "MasterSession", { enumerable: true, get: function () { return MasterSession_1.MasterSession; } });
|
|
167
|
-
var CountryHoliday_1 = require("./entities/CountryHoliday");
|
|
168
|
-
Object.defineProperty(exports, "CountryHoliday", { enumerable: true, get: function () { return CountryHoliday_1.CountryHoliday; } });
|
|
169
|
-
var LocalsCompany_1 = require("./views/LocalsCompany");
|
|
170
|
-
Object.defineProperty(exports, "LocalsCompany", { enumerable: true, get: function () { return LocalsCompany_1.LocalsCompany; } });
|
|
171
|
-
var VerifyLocals_1 = require("./views/VerifyLocals");
|
|
172
|
-
Object.defineProperty(exports, "VerifyLocals", { enumerable: true, get: function () { return VerifyLocals_1.VerifyLocals; } });
|
|
173
|
-
var MasterNotifications_1 = require("./views/MasterNotifications");
|
|
174
|
-
Object.defineProperty(exports, "MasterNotifications", { enumerable: true, get: function () { return MasterNotifications_1.MasterNotifications; } });
|
|
175
|
-
var ViewLocalsCompanies_1 = require("./views/ViewLocalsCompanies");
|
|
176
|
-
Object.defineProperty(exports, "ViewLocalsCompanies", { enumerable: true, get: function () { return ViewLocalsCompanies_1.ViewLocalsCompanies; } });
|
|
177
|
-
var Partners_1 = require("./views/Partners");
|
|
178
|
-
Object.defineProperty(exports, "Partners", { enumerable: true, get: function () { return Partners_1.Partners; } });
|
|
179
|
-
var DiscountsCodeUser_1 = require("./views/DiscountsCodeUser");
|
|
180
|
-
Object.defineProperty(exports, "DiscountsCodeUser", { enumerable: true, get: function () { return DiscountsCodeUser_1.DiscountsCodeUser; } });
|
|
181
|
-
var PartnerNotifications_1 = require("./views/PartnerNotifications");
|
|
182
|
-
Object.defineProperty(exports, "PartnerNotifications", { enumerable: true, get: function () { return PartnerNotifications_1.PartnerNotifications; } });
|
|
183
|
-
var LocalTableZonesFilter_1 = require("./views/LocalTableZonesFilter");
|
|
184
|
-
Object.defineProperty(exports, "LocalTableZonesFilter", { enumerable: true, get: function () { return LocalTableZonesFilter_1.LocalTableZonesFilter; } });
|
|
185
|
-
var LocalReserves_1 = require("./views/LocalReserves");
|
|
186
|
-
Object.defineProperty(exports, "LocalReserves", { enumerable: true, get: function () { return LocalReserves_1.LocalReserves; } });
|
|
187
|
-
var LocalsCompanyInformationForTheMap_1 = require("./views/LocalsCompanyInformationForTheMap");
|
|
188
|
-
Object.defineProperty(exports, "LocalsCompanyInformationForTheMap", { enumerable: true, get: function () { return LocalsCompanyInformationForTheMap_1.LocalsCompanyInformationForTheMap; } });
|
|
189
|
-
var LocalsCompanyInformationForTheTable_1 = require("./views/LocalsCompanyInformationForTheTable");
|
|
190
|
-
Object.defineProperty(exports, "LocalsCompanyInformationForTheTable", { enumerable: true, get: function () { return LocalsCompanyInformationForTheTable_1.LocalsCompanyInformationForTheTable; } });
|
|
17
|
+
exports.CustomRepository = exports.getLocalsCompanyInformationTable = exports.getLocalReservesInformation = exports.getVerifyLocalsInformation = exports.getLocalsCompanyInformation = exports.getDiscountsCodeUserInformation = exports.getDiscountsCodeCompanyInformation = void 0;
|
|
18
|
+
__exportStar(require("./entities.index"), exports);
|
|
191
19
|
var DiscountsCodeCompanyInformation_1 = require("./filters/DiscountsCodeCompanyInformation");
|
|
192
20
|
Object.defineProperty(exports, "getDiscountsCodeCompanyInformation", { enumerable: true, get: function () { return DiscountsCodeCompanyInformation_1.getDiscountsCodeCompanyInformation; } });
|
|
193
21
|
var DiscountsCodeUserInformation_1 = require("./filters/DiscountsCodeUserInformation");
|
|
@@ -198,6 +26,8 @@ var VerifyLocalsInformation_1 = require("./filters/VerifyLocalsInformation");
|
|
|
198
26
|
Object.defineProperty(exports, "getVerifyLocalsInformation", { enumerable: true, get: function () { return VerifyLocalsInformation_1.getVerifyLocalsInformation; } });
|
|
199
27
|
var LocalReservesInformation_1 = require("./filters/LocalReservesInformation");
|
|
200
28
|
Object.defineProperty(exports, "getLocalReservesInformation", { enumerable: true, get: function () { return LocalReservesInformation_1.getLocalReservesInformation; } });
|
|
29
|
+
var LocalsCompanyInformationForTheTable_1 = require("./filters/LocalsCompanyInformationForTheTable");
|
|
30
|
+
Object.defineProperty(exports, "getLocalsCompanyInformationTable", { enumerable: true, get: function () { return LocalsCompanyInformationForTheTable_1.getLocalsCompanyInformationTable; } });
|
|
201
31
|
var CustomRepository_1 = require("./CustomRepository");
|
|
202
32
|
Object.defineProperty(exports, "CustomRepository", { enumerable: true, get: function () { return CustomRepository_1.CustomRepository; } });
|
|
203
33
|
__exportStar(require("./utils"), exports);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NextFunction, Request, Response } from "express";
|
|
2
2
|
import { DataSource, EntityTarget, ObjectLiteral, Repository } from "typeorm";
|
|
3
|
-
import { CustomRepository } from ".";
|
|
3
|
+
import { CustomRepository } from "./entities.views.routes";
|
|
4
4
|
export * from "./entities.views.routes";
|
|
5
5
|
export declare function createDataBaseSource(): DataSource;
|
|
6
6
|
export declare function showEntityNameEntity<T extends ObjectLiteral>(entity: EntityTarget<T>): Promise<Repository<T>>;
|
package/dist/index.js
CHANGED
|
@@ -10,18 +10,31 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
13
18
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
19
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
20
|
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
29
|
exports.getRepositoryByEntity = exports.getTimezoneOffset = exports.getTimeZone = exports.timezoneMiddleware = exports.callStoredProcedure = exports.showEntity = exports.showEntityNameEntity = exports.createDataBaseSource = void 0;
|
|
18
30
|
const async_hooks_1 = require("async_hooks");
|
|
19
31
|
const dotenv_1 = require("dotenv");
|
|
20
32
|
const path_1 = require("path");
|
|
21
33
|
const typeorm_1 = require("typeorm");
|
|
22
|
-
const _1 = require(".");
|
|
23
34
|
const moment = require("moment-timezone");
|
|
35
|
+
const entities_views_routes_1 = require("./entities.views.routes");
|
|
24
36
|
__exportStar(require("./entities.views.routes"), exports);
|
|
37
|
+
const EntitiesViewsRoutes = __importStar(require("./entities.index"));
|
|
25
38
|
const asyncLocalStorage = new async_hooks_1.AsyncLocalStorage();
|
|
26
39
|
let connection = null;
|
|
27
40
|
// DOCUMENTATION: Función para crear la conexión de la base de datos
|
|
@@ -29,6 +42,8 @@ let connection = null;
|
|
|
29
42
|
function createDataBaseSource() {
|
|
30
43
|
if (!connection) {
|
|
31
44
|
(0, dotenv_1.config)({ path: (0, path_1.resolve)(process.cwd(), ".env") });
|
|
45
|
+
console.log("ENTIDADES REGISTRADAS:");
|
|
46
|
+
console.log(Object.keys(EntitiesViewsRoutes));
|
|
32
47
|
connection = new typeorm_1.DataSource({
|
|
33
48
|
type: process.env.DB_TYPE,
|
|
34
49
|
// dateStrings: true,
|
|
@@ -40,16 +55,21 @@ function createDataBaseSource() {
|
|
|
40
55
|
database: process.env.DB_DATABASE,
|
|
41
56
|
synchronize: process.env.DB_SYNCHRONIZE === "true",
|
|
42
57
|
timezone: "Z", // Configura la zona horaria a UTC
|
|
43
|
-
entities:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
entities: Object.values(EntitiesViewsRoutes),
|
|
59
|
+
// entities: [
|
|
60
|
+
// __dirname +
|
|
61
|
+
// `/entities${
|
|
62
|
+
// process.env.DB_ENTITIES_ROUTE
|
|
63
|
+
// ? `/${process.env.DB_ENTITIES_ROUTE}`
|
|
64
|
+
// : ""
|
|
65
|
+
// }/*{.js,.ts}`,
|
|
66
|
+
// __dirname +
|
|
67
|
+
// `/views${
|
|
68
|
+
// process.env.DB_ENTITIES_ROUTE
|
|
69
|
+
// ? `/${process.env.DB_ENTITIES_ROUTE}`
|
|
70
|
+
// : ""
|
|
71
|
+
// }/*{.js,.ts}`,
|
|
72
|
+
// ],
|
|
53
73
|
subscribers: [],
|
|
54
74
|
migrations: [],
|
|
55
75
|
});
|
|
@@ -113,6 +133,17 @@ function getTimezoneOffset(timezone) {
|
|
|
113
133
|
return offset;
|
|
114
134
|
}
|
|
115
135
|
exports.getTimezoneOffset = getTimezoneOffset;
|
|
136
|
+
const getRepositoryByEntity = async (entity) => {
|
|
137
|
+
if (!connection || !connection.isInitialized) {
|
|
138
|
+
connection = createDataBaseSource();
|
|
139
|
+
await connection.initialize();
|
|
140
|
+
console.log("METADATA CARGADA:", connection.entityMetadatas.map((e) => e.name));
|
|
141
|
+
}
|
|
142
|
+
return connection
|
|
143
|
+
.getRepository(entity)
|
|
144
|
+
.extend(entities_views_routes_1.CustomRepository.prototype);
|
|
145
|
+
};
|
|
146
|
+
exports.getRepositoryByEntity = getRepositoryByEntity;
|
|
116
147
|
// export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
117
148
|
// entity: EntityTarget<T>,
|
|
118
149
|
// ): Promise<CustomRepository<T>> => {
|
|
@@ -124,11 +155,13 @@ exports.getTimezoneOffset = getTimezoneOffset;
|
|
|
124
155
|
// .getRepository(entity)
|
|
125
156
|
// .extend(CustomRepository.prototype) as CustomRepository<T>;
|
|
126
157
|
// };
|
|
127
|
-
const getRepositoryByEntity = async
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
158
|
+
// export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
159
|
+
// entity: EntityTarget<T>,
|
|
160
|
+
// ): Promise<CustomRepository<T>> => {
|
|
161
|
+
// if (!connection) {
|
|
162
|
+
// connection = createDataBaseSource();
|
|
163
|
+
// await connection.initialize();
|
|
164
|
+
// console.log(connection.entityMetadatas.map((e) => e.name));
|
|
165
|
+
// }
|
|
166
|
+
// return new CustomRepository<T>(entity, connection);
|
|
167
|
+
// };
|
package/package.json
CHANGED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export { BusinessTypeProduct } from "./entities/BusinessTypeProduct";
|
|
2
|
+
export { Category } from "./entities/Category";
|
|
3
|
+
export { ScheduleCategory } from "./entities/CategorySchedule";
|
|
4
|
+
export { City } from "./entities/City";
|
|
5
|
+
export { CodeRedemptionHistoryCompany } from "./entities/CodeRedemptionHistoryCompany";
|
|
6
|
+
export { CodeRedemptionHistoryUser } from "./entities/CodeRedemptionHistoryUser";
|
|
7
|
+
export { Company } from "./entities/Company";
|
|
8
|
+
export { Configuration } from "./entities/Configuration";
|
|
9
|
+
export { Country } from "./entities/Country";
|
|
10
|
+
export { Day } from "./entities/Day";
|
|
11
|
+
export { DiscountCodeCompany } from "./entities/DiscountCodeCompany";
|
|
12
|
+
export { DiscountCodeUser } from "./entities/DiscountCodeUser";
|
|
13
|
+
export { Local } from "./entities/Local";
|
|
14
|
+
export { LocalQualification } from "./entities/LocalQualification";
|
|
15
|
+
export { Master } from "./entities/Master";
|
|
16
|
+
export { MasterPermission } from "./entities/MasterPermission";
|
|
17
|
+
export { MasterRole } from "./entities/MasterRole";
|
|
18
|
+
export { Partner } from "./entities/Partner";
|
|
19
|
+
export { PartnerNotification } from "./entities/PartnerNotification";
|
|
20
|
+
export { PartnerPlatformSectionPermission } from "./entities/PartnerPlatformSectionPermission";
|
|
21
|
+
export { PartnerRole } from "./entities/PartnerRole";
|
|
22
|
+
export { PaymentMethod } from "./entities/PaymentMethod";
|
|
23
|
+
export { Plan } from "./entities/Plan";
|
|
24
|
+
export { Product } from "./entities/Product";
|
|
25
|
+
export { ProductGroup } from "./entities/ProductGroup";
|
|
26
|
+
export { ProductGroupComplement } from "./entities/productGroupComplement";
|
|
27
|
+
export { ProductIngredient } from "./entities/ProductIngredient";
|
|
28
|
+
export { ProductTopping } from "./entities/ProductTopping";
|
|
29
|
+
export { Region } from "./entities/Region";
|
|
30
|
+
export { Request } from "./entities/Request";
|
|
31
|
+
export { RequestProduct } from "./entities/RequestProduct";
|
|
32
|
+
export { RequestProductGroupComplement } from "./entities/RequestProductGroupComplement";
|
|
33
|
+
export { Square } from "./entities/Square";
|
|
34
|
+
export { TypeMeasureIngredient } from "./entities/TypeMeasureIngredient";
|
|
35
|
+
export { User } from "./entities/User";
|
|
36
|
+
export { UserAddress } from "./entities/UserAddress";
|
|
37
|
+
export { BusinessType } from "./entities/BusinessType";
|
|
38
|
+
export { AuthenticationCredential } from "./entities/AuthenticationCredential";
|
|
39
|
+
export { PosSystem } from "./entities/PosSystem";
|
|
40
|
+
export { VerifyLocal } from "./entities/VerifyLocal";
|
|
41
|
+
export { MasterNotification } from "./entities/MasterNotification";
|
|
42
|
+
export { LocalPlan } from "./entities/LocalPlan";
|
|
43
|
+
export { PartnerPlatformSection } from "./entities/PartnerPlatformSection";
|
|
44
|
+
export { PartnerPlatform } from "./entities/PartnerPlatform";
|
|
45
|
+
export { ServicePlan } from "./entities/ServicePlan";
|
|
46
|
+
export { Bank } from "./entities/Bank";
|
|
47
|
+
export { CategoryDate } from "./entities/CategoryDate";
|
|
48
|
+
export { ProductSchedule } from "./entities/ProductSchedule";
|
|
49
|
+
export { ProductDate } from "./entities/ProductDate";
|
|
50
|
+
export { ToppingImage } from "./entities/ToppingImage";
|
|
51
|
+
export { PartnerSession } from "./entities/PartnerSession";
|
|
52
|
+
export { RequestLocal } from "./entities/RequestLocal";
|
|
53
|
+
export { RequestLocalHistory } from "./entities/RequestLocalHistory";
|
|
54
|
+
export { UserPaymentMethod } from "./entities/UserPaymentMethod";
|
|
55
|
+
export { RequestLocalPayment } from "./entities/RequestLocalPayment";
|
|
56
|
+
export { ReceiptConfig } from "./entities/ReceiptConfig";
|
|
57
|
+
export { RequestPrint } from "./entities/RequestPrint";
|
|
58
|
+
export { LocalTableZone } from "./entities/LocalTableZone";
|
|
59
|
+
export { LocalTable } from "./entities/LocalTable";
|
|
60
|
+
export { LocalDecorationReserve } from "./entities/LocalDecorationReserve";
|
|
61
|
+
export { DecorationReserve } from "./entities/DecorationReserve";
|
|
62
|
+
export { LocalTableReservePayment } from "./entities/LocalTableReservePayment";
|
|
63
|
+
export { LocalReserve } from "./entities/LocalReserve";
|
|
64
|
+
export { LocalReserveStatus } from "./entities/LocalReserveStatus";
|
|
65
|
+
export { LocalTableReserve } from "./entities/LocalTableReserve";
|
|
66
|
+
export { RequestInvoice } from "./entities/RequestInvoice";
|
|
67
|
+
export { RequestInvoiceCategory } from "./entities/RequestInvoiceCategory";
|
|
68
|
+
export { RequestLocalTable } from "./entities/RequestLocalTable";
|
|
69
|
+
export { Gallery } from "./entities/Gallery";
|
|
70
|
+
export { ProductImage } from "./entities/ProductImage";
|
|
71
|
+
export { LocalPaymentMethod } from "./entities/LocalPaymentMethod";
|
|
72
|
+
export { VerificationCode } from "./entities/VerificationCode";
|
|
73
|
+
export { PartnerPlatformSectionPermissionAssociate } from "./entities/PartnerPlatformSectionPermissionAssociate";
|
|
74
|
+
export { MasterSession } from "./entities/MasterSession";
|
|
75
|
+
export { CountryHoliday } from "./entities/CountryHoliday";
|
|
76
|
+
|
|
77
|
+
export { LocalsCompany } from "./views/LocalsCompany";
|
|
78
|
+
export { VerifyLocals } from "./views/VerifyLocals";
|
|
79
|
+
export { MasterNotifications } from "./views/MasterNotifications";
|
|
80
|
+
export { ViewLocalsCompanies } from "./views/ViewLocalsCompanies";
|
|
81
|
+
export { Partners } from "./views/Partners";
|
|
82
|
+
export { DiscountsCodeUser } from "./views/DiscountsCodeUser";
|
|
83
|
+
export { PartnerNotifications } from "./views/PartnerNotifications";
|
|
84
|
+
export { LocalTableZonesFilter } from "./views/LocalTableZonesFilter";
|
|
85
|
+
export { LocalReserves } from "./views/LocalReserves";
|
|
86
|
+
export { LocalsCompanyInformationForTheMap } from "./views/LocalsCompanyInformationForTheMap";
|
|
87
|
+
export { LocalsCompanyInformationForTheTable } from "./views/LocalsCompanyInformationForTheTable";
|
|
@@ -1,96 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { Category } from "./entities/Category";
|
|
3
|
-
export { ScheduleCategory } from "./entities/CategorySchedule";
|
|
4
|
-
export { City } from "./entities/City";
|
|
5
|
-
export { CodeRedemptionHistoryCompany } from "./entities/CodeRedemptionHistoryCompany";
|
|
6
|
-
export { CodeRedemptionHistoryUser } from "./entities/CodeRedemptionHistoryUser";
|
|
7
|
-
export { Company } from "./entities/Company";
|
|
8
|
-
export { Configuration } from "./entities/Configuration";
|
|
9
|
-
export { Country } from "./entities/Country";
|
|
10
|
-
export { Day } from "./entities/Day";
|
|
11
|
-
export { DiscountCodeCompany } from "./entities/DiscountCodeCompany";
|
|
12
|
-
export { DiscountCodeUser } from "./entities/DiscountCodeUser";
|
|
13
|
-
export { Local } from "./entities/Local";
|
|
14
|
-
export { LocalQualification } from "./entities/LocalQualification";
|
|
15
|
-
export { Master } from "./entities/Master";
|
|
16
|
-
export { MasterPermission } from "./entities/MasterPermission";
|
|
17
|
-
export { MasterRole } from "./entities/MasterRole";
|
|
18
|
-
export { Partner } from "./entities/Partner";
|
|
19
|
-
export { PartnerNotification } from "./entities/PartnerNotification";
|
|
20
|
-
export { PartnerPlatformSectionPermission } from "./entities/PartnerPlatformSectionPermission";
|
|
21
|
-
export { PartnerRole } from "./entities/PartnerRole";
|
|
22
|
-
export { PaymentMethod } from "./entities/PaymentMethod";
|
|
23
|
-
export { Plan } from "./entities/Plan";
|
|
24
|
-
export { Product } from "./entities/Product";
|
|
25
|
-
export { ProductGroup } from "./entities/ProductGroup";
|
|
26
|
-
export { ProductGroupComplement } from "./entities/productGroupComplement";
|
|
27
|
-
export { ProductIngredient } from "./entities/ProductIngredient";
|
|
28
|
-
export { ProductTopping } from "./entities/ProductTopping";
|
|
29
|
-
export { Region } from "./entities/Region";
|
|
30
|
-
export { Request } from "./entities/Request";
|
|
31
|
-
export { RequestProduct } from "./entities/RequestProduct";
|
|
32
|
-
export { RequestProductGroupComplement } from "./entities/RequestProductGroupComplement";
|
|
33
|
-
export { Square } from "./entities/Square";
|
|
34
|
-
export { TypeMeasureIngredient } from "./entities/TypeMeasureIngredient";
|
|
35
|
-
export { User } from "./entities/User";
|
|
36
|
-
export { UserAddress } from "./entities/UserAddress";
|
|
37
|
-
export { BusinessType } from "./entities/BusinessType";
|
|
38
|
-
export { AuthenticationCredential } from "./entities/AuthenticationCredential";
|
|
39
|
-
export { PosSystem } from "./entities/PosSystem";
|
|
40
|
-
export { VerifyLocal } from "./entities/VerifyLocal";
|
|
41
|
-
export { MasterNotification } from "./entities/MasterNotification";
|
|
42
|
-
export { LocalPlan } from "./entities/LocalPlan";
|
|
43
|
-
export { PartnerPlatformSection } from "./entities/PartnerPlatformSection";
|
|
44
|
-
export { PartnerPlatform } from "./entities/PartnerPlatform";
|
|
45
|
-
export { ServicePlan } from "./entities/ServicePlan";
|
|
46
|
-
export { Bank } from "./entities/Bank";
|
|
47
|
-
export { CategoryDate } from "./entities/CategoryDate";
|
|
48
|
-
export { ProductSchedule } from "./entities/ProductSchedule";
|
|
49
|
-
export { ProductDate } from "./entities/ProductDate";
|
|
50
|
-
export { ToppingImage } from "./entities/ToppingImage";
|
|
51
|
-
export { PartnerSession } from "./entities/PartnerSession";
|
|
52
|
-
export { RequestLocal } from "./entities/RequestLocal";
|
|
53
|
-
export { RequestLocalHistory } from "./entities/RequestLocalHistory";
|
|
54
|
-
export { UserPaymentMethod } from "./entities/UserPaymentMethod";
|
|
55
|
-
export { RequestLocalPayment } from "./entities/RequestLocalPayment";
|
|
56
|
-
export { ReceiptConfig } from "./entities/ReceiptConfig";
|
|
57
|
-
export { RequestPrint } from "./entities/RequestPrint";
|
|
58
|
-
export { LocalTableZone } from "./entities/LocalTableZone";
|
|
59
|
-
export { LocalTable } from "./entities/LocalTable";
|
|
60
|
-
export { LocalDecorationReserve } from "./entities/LocalDecorationReserve";
|
|
61
|
-
export { DecorationReserve } from "./entities/DecorationReserve";
|
|
62
|
-
export { LocalTableReservePayment } from "./entities/LocalTableReservePayment";
|
|
63
|
-
export { LocalReserve } from "./entities/LocalReserve";
|
|
64
|
-
export { LocalReserveStatus } from "./entities/LocalReserveStatus";
|
|
65
|
-
export { LocalTableReserve } from "./entities/LocalTableReserve";
|
|
66
|
-
export { RequestInvoice } from "./entities/RequestInvoice";
|
|
67
|
-
export { RequestInvoiceCategory } from "./entities/RequestInvoiceCategory";
|
|
68
|
-
export { RequestLocalTable } from "./entities/RequestLocalTable";
|
|
69
|
-
export { Gallery } from "./entities/Gallery";
|
|
70
|
-
export { ProductImage } from "./entities/ProductImage";
|
|
71
|
-
export { LocalPaymentMethod } from "./entities/LocalPaymentMethod";
|
|
72
|
-
export { VerificationCode } from "./entities/VerificationCode";
|
|
73
|
-
export { PartnerPlatformSectionPermissionAssociate } from "./entities/PartnerPlatformSectionPermissionAssociate";
|
|
74
|
-
export { MasterSession } from "./entities/MasterSession";
|
|
75
|
-
export { CountryHoliday } from "./entities/CountryHoliday";
|
|
76
|
-
|
|
77
|
-
export { LocalsCompany } from "./views/LocalsCompany";
|
|
78
|
-
export { VerifyLocals } from "./views/VerifyLocals";
|
|
79
|
-
export { MasterNotifications } from "./views/MasterNotifications";
|
|
80
|
-
export { ViewLocalsCompanies } from "./views/ViewLocalsCompanies";
|
|
81
|
-
export { Partners } from "./views/Partners";
|
|
82
|
-
export { DiscountsCodeUser } from "./views/DiscountsCodeUser";
|
|
83
|
-
export { PartnerNotifications } from "./views/PartnerNotifications";
|
|
84
|
-
export { LocalTableZonesFilter } from "./views/LocalTableZonesFilter";
|
|
85
|
-
export { LocalReserves } from "./views/LocalReserves";
|
|
86
|
-
export { LocalsCompanyInformationForTheMap } from "./views/LocalsCompanyInformationForTheMap";
|
|
87
|
-
export { LocalsCompanyInformationForTheTable } from "./views/LocalsCompanyInformationForTheTable";
|
|
1
|
+
export * from "./entities.index";
|
|
88
2
|
|
|
89
3
|
export { getDiscountsCodeCompanyInformation } from "./filters/DiscountsCodeCompanyInformation";
|
|
90
4
|
export { getDiscountsCodeUserInformation } from "./filters/DiscountsCodeUserInformation";
|
|
91
5
|
export { getLocalsCompanyInformation } from "./filters/LocalsCompanyInformation";
|
|
92
6
|
export { getVerifyLocalsInformation } from "./filters/VerifyLocalsInformation";
|
|
93
7
|
export { getLocalReservesInformation } from "./filters/LocalReservesInformation";
|
|
8
|
+
export { getLocalsCompanyInformationTable } from "./filters/LocalsCompanyInformationForTheTable";
|
|
94
9
|
|
|
95
10
|
export { CustomRepository } from "./CustomRepository";
|
|
96
11
|
export * from "./utils";
|
package/src/index.ts
CHANGED
|
@@ -3,10 +3,11 @@ import { config } from "dotenv";
|
|
|
3
3
|
import { NextFunction, Request, Response } from "express";
|
|
4
4
|
import { resolve } from "path";
|
|
5
5
|
import { DataSource, EntityTarget, ObjectLiteral, Repository } from "typeorm";
|
|
6
|
-
import { CustomRepository } from ".";
|
|
7
6
|
import { IType } from "./interfaces";
|
|
8
7
|
import moment = require("moment-timezone");
|
|
8
|
+
import { CustomRepository } from "./entities.views.routes";
|
|
9
9
|
export * from "./entities.views.routes";
|
|
10
|
+
import * as EntitiesViewsRoutes from "./entities.index";
|
|
10
11
|
|
|
11
12
|
const asyncLocalStorage = new AsyncLocalStorage<Map<string, string>>();
|
|
12
13
|
|
|
@@ -17,6 +18,10 @@ let connection: DataSource | null = null;
|
|
|
17
18
|
export function createDataBaseSource(): DataSource {
|
|
18
19
|
if (!connection) {
|
|
19
20
|
config({ path: resolve(process.cwd(), ".env") });
|
|
21
|
+
|
|
22
|
+
console.log("ENTIDADES REGISTRADAS:");
|
|
23
|
+
console.log(Object.keys(EntitiesViewsRoutes));
|
|
24
|
+
|
|
20
25
|
connection = new DataSource({
|
|
21
26
|
type: process.env.DB_TYPE as unknown as IType,
|
|
22
27
|
// dateStrings: true,
|
|
@@ -28,20 +33,21 @@ export function createDataBaseSource(): DataSource {
|
|
|
28
33
|
database: process.env.DB_DATABASE,
|
|
29
34
|
synchronize: process.env.DB_SYNCHRONIZE === "true",
|
|
30
35
|
timezone: "Z", // Configura la zona horaria a UTC
|
|
31
|
-
entities:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
entities: Object.values(EntitiesViewsRoutes),
|
|
37
|
+
// entities: [
|
|
38
|
+
// __dirname +
|
|
39
|
+
// `/entities${
|
|
40
|
+
// process.env.DB_ENTITIES_ROUTE
|
|
41
|
+
// ? `/${process.env.DB_ENTITIES_ROUTE}`
|
|
42
|
+
// : ""
|
|
43
|
+
// }/*{.js,.ts}`,
|
|
44
|
+
// __dirname +
|
|
45
|
+
// `/views${
|
|
46
|
+
// process.env.DB_ENTITIES_ROUTE
|
|
47
|
+
// ? `/${process.env.DB_ENTITIES_ROUTE}`
|
|
48
|
+
// : ""
|
|
49
|
+
// }/*{.js,.ts}`,
|
|
50
|
+
// ],
|
|
45
51
|
subscribers: [],
|
|
46
52
|
migrations: [],
|
|
47
53
|
});
|
|
@@ -116,6 +122,22 @@ export function getTimezoneOffset(timezone: string) {
|
|
|
116
122
|
return offset;
|
|
117
123
|
}
|
|
118
124
|
|
|
125
|
+
export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
126
|
+
entity: EntityTarget<T>,
|
|
127
|
+
): Promise<CustomRepository<T>> => {
|
|
128
|
+
if (!connection || !connection.isInitialized) {
|
|
129
|
+
connection = createDataBaseSource();
|
|
130
|
+
await connection.initialize();
|
|
131
|
+
console.log(
|
|
132
|
+
"METADATA CARGADA:",
|
|
133
|
+
connection.entityMetadatas.map((e) => e.name),
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return connection
|
|
138
|
+
.getRepository(entity)
|
|
139
|
+
.extend(CustomRepository.prototype) as CustomRepository<T>;
|
|
140
|
+
};
|
|
119
141
|
// export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
120
142
|
// entity: EntityTarget<T>,
|
|
121
143
|
// ): Promise<CustomRepository<T>> => {
|
|
@@ -127,13 +149,15 @@ export function getTimezoneOffset(timezone: string) {
|
|
|
127
149
|
// .getRepository(entity)
|
|
128
150
|
// .extend(CustomRepository.prototype) as CustomRepository<T>;
|
|
129
151
|
// };
|
|
130
|
-
export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
131
|
-
|
|
132
|
-
): Promise<CustomRepository<T>> => {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
152
|
+
// export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
153
|
+
// entity: EntityTarget<T>,
|
|
154
|
+
// ): Promise<CustomRepository<T>> => {
|
|
155
|
+
// if (!connection) {
|
|
156
|
+
// connection = createDataBaseSource();
|
|
157
|
+
// await connection.initialize();
|
|
137
158
|
|
|
138
|
-
|
|
139
|
-
}
|
|
159
|
+
// console.log(connection.entityMetadatas.map((e) => e.name));
|
|
160
|
+
// }
|
|
161
|
+
|
|
162
|
+
// return new CustomRepository<T>(entity, connection);
|
|
163
|
+
// };
|