@reachu/database 1.0.22 → 1.0.24
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/entity/index.d.ts +10 -10
- package/dist/entity/index.js +19 -19
- package/dist/entity/index.js.map +1 -1
- package/dist/entity/modules/templates/AuthInfo.d.ts +2 -2
- package/dist/entity/modules/templates/AuthInfo.js +6 -5
- package/dist/entity/modules/templates/AuthInfo.js.map +1 -1
- package/dist/entity/modules/templates/AuthMethod.d.ts +2 -2
- package/dist/entity/modules/templates/AuthMethod.js +3 -3
- package/dist/entity/modules/templates/AuthMethod.js.map +1 -1
- package/dist/entity/modules/templates/EndpointTemplateEcommerce.d.ts +10 -0
- package/dist/entity/modules/templates/{EndpointTemplateChannel.js → EndpointTemplateEcommerce.js} +14 -14
- package/dist/entity/modules/templates/EndpointTemplateEcommerce.js.map +1 -0
- package/dist/entity/modules/templates/TemplateEcommerce.d.ts +28 -0
- package/dist/entity/modules/templates/TemplateEcommerce.js +130 -0
- package/dist/entity/modules/templates/TemplateEcommerce.js.map +1 -0
- package/dist/entity/modules/templates/UserTemplateEcommerce.d.ts +13 -0
- package/dist/entity/modules/templates/{UserTemplateChannel.js → UserTemplateEcommerce.js} +16 -16
- package/dist/entity/modules/templates/UserTemplateEcommerce.js.map +1 -0
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.d.ts +2 -2
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js +3 -3
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js.map +1 -1
- package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariant.d.ts → schemeOrder/TemplateEcommerceSchemeConfigOrder.d.ts} +3 -3
- package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariant.js → schemeOrder/TemplateEcommerceSchemeConfigOrder.js} +14 -14
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.js.map +1 -0
- package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariantMapped.d.ts → schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.d.ts} +3 -3
- package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariantMapped.js → schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js} +14 -14
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js.map +1 -0
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.d.ts +2 -2
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js +3 -3
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js.map +1 -1
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.d.ts +11 -0
- package/dist/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProduct.js → TemplateEcommerceSchemeConfigProduct.js} +13 -13
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.js.map +1 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.d.ts +11 -0
- package/dist/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProductMapped.js → TemplateEcommerceSchemeConfigProductMapped.js} +13 -13
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.js.map +1 -0
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.d.ts +2 -2
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js +3 -3
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js.map +1 -1
- package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrder.d.ts → schemeVariant/TemplateEcommerceSchemeConfigVariant.d.ts} +3 -3
- package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrder.js → schemeVariant/TemplateEcommerceSchemeConfigVariant.js} +14 -14
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.js.map +1 -0
- package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrderMapped.d.ts → schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.d.ts} +3 -3
- package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrderMapped.js → schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js} +14 -14
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js.map +1 -0
- package/dist/migrations/1681258240525-template-channel-update-2.d.ts +6 -0
- package/dist/migrations/1681258240525-template-channel-update-2.js +33 -0
- package/dist/migrations/1681258240525-template-channel-update-2.js.map +1 -0
- package/dist/migrations/1681485048240-template-ecommerce.d.ts +6 -0
- package/dist/migrations/1681485048240-template-ecommerce.js +86 -0
- package/dist/migrations/1681485048240-template-ecommerce.js.map +1 -0
- package/dist/repositories/index.d.ts +2 -2
- package/dist/repositories/index.js +10 -10
- package/dist/repositories/index.js.map +1 -1
- package/dist/repositories/templates/index.d.ts +18 -18
- package/dist/repositories/templates/index.js +64 -64
- package/dist/repositories/templates/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +172 -148
- package/package.json +3 -3
- package/src/entity/index.ts +18 -18
- package/src/entity/modules/templates/AuthInfo.ts +10 -13
- package/src/entity/modules/templates/AuthMethod.ts +4 -4
- package/src/entity/modules/templates/{EndpointTemplateChannel.ts → EndpointTemplateEcommerce.ts} +6 -5
- package/src/entity/modules/templates/TemplateEcommerce.ts +154 -0
- package/src/entity/modules/templates/{UserTemplateChannel.ts → UserTemplateEcommerce.ts} +10 -10
- package/src/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.ts +4 -4
- package/src/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariant.ts → schemeOrder/TemplateEcommerceSchemeConfigOrder.ts} +5 -6
- package/src/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariantMapped.ts → schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.ts} +6 -6
- package/src/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.ts +4 -4
- package/src/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProduct.ts → TemplateEcommerceSchemeConfigProduct.ts} +6 -5
- package/src/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProductMapped.ts → TemplateEcommerceSchemeConfigProductMapped.ts} +6 -5
- package/src/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.ts +4 -5
- package/src/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrder.ts → schemeVariant/TemplateEcommerceSchemeConfigVariant.ts} +6 -6
- package/src/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrderMapped.ts → schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.ts} +6 -5
- package/src/migrations/1681258240525-template-channel-update-2.ts +18 -0
- package/src/migrations/1681485048240-template-ecommerce.ts +71 -0
- package/src/repositories/index.ts +18 -18
- package/src/repositories/templates/index.ts +27 -27
- package/dist/entity/modules/templates/EndpointTemplateChannel.d.ts +0 -10
- package/dist/entity/modules/templates/EndpointTemplateChannel.js.map +0 -1
- package/dist/entity/modules/templates/TemplateChannel.d.ts +0 -28
- package/dist/entity/modules/templates/TemplateChannel.js +0 -130
- package/dist/entity/modules/templates/TemplateChannel.js.map +0 -1
- package/dist/entity/modules/templates/UserTemplateChannel.d.ts +0 -13
- package/dist/entity/modules/templates/UserTemplateChannel.js.map +0 -1
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.js.map +0 -1
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.js.map +0 -1
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.d.ts +0 -11
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.js.map +0 -1
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.d.ts +0 -11
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.js.map +0 -1
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.js.map +0 -1
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.js.map +0 -1
- package/src/entity/modules/templates/TemplateChannel.ts +0 -154
package/dist/entity/index.d.ts
CHANGED
|
@@ -73,16 +73,16 @@ import ProductAttribute from './ProductAttribute';
|
|
|
73
73
|
import CategoryImages from './CategoryImages';
|
|
74
74
|
import AuthInfo from './modules/templates/AuthInfo';
|
|
75
75
|
import AuthMethod from './modules/templates/AuthMethod';
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
76
|
+
import EndpointTemplateEcommerce from './modules/templates/EndpointTemplateEcommerce';
|
|
77
|
+
import TemplateEcommerce from './modules/templates/TemplateEcommerce';
|
|
78
|
+
import UserTemplateEcommerce from './modules/templates/UserTemplateEcommerce';
|
|
79
79
|
import ReachuSchemeConfigOrder from './modules/templates/schemeOrder/ReachuSchemeConfigOrder';
|
|
80
|
-
import
|
|
81
|
-
import
|
|
80
|
+
import TemplateEcommerceSchemeConfigOrder from './modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder';
|
|
81
|
+
import TemplateEcommerceSchemeConfigOrderMapped from './modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped';
|
|
82
82
|
import ReachuSchemeConfigProduct from './modules/templates/schemeProduct/ReachuSchemeConfigProduct';
|
|
83
|
-
import
|
|
84
|
-
import
|
|
83
|
+
import TemplateEcommerceSchemeConfigProduct from './modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct';
|
|
84
|
+
import TemplateEcommerceSchemeConfigProductMapped from './modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped';
|
|
85
85
|
import ReachuSchemeConfigVariant from './modules/templates/schemeVariant/ReachuSchemeConfigVariant';
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
export { CustomVariant, CustomProduct, CustomProductImage, Cart, CartItem, Checkout, CheckoutBillingAddress, CheckoutShippingAddress, PriceData, ProductShipping, Shipping, ShippingCountry, Address, ApiCredential, AuditedModel, BankAccount, Business, BusinessProducts, CardRegistration, Category, Channel, Check, CheckoutMetadata, Contact, Country, Courier, FlatRate, FlatRateCountry, Fulfillment, Image, ImportedProduct, MagentoConnection, MetricActiveUser, Notification, Option, Order, OrderCustomer, OrderItem, OrderShipping, OrderTracking, Payment, PaymentShopify, Permission, Price, Product, Request, Return, ReturnAddress, Role, RolePermission, ShippingPackage, ShopifyConnection, Subcategory, User, UserRole, Variant, Wallet, WooConnection, UserTokenWolt, UserSettings, PaymentMethod, Collection, CollectionItem, CollectionShared, ChannelGroup, ChannelUser, ChannelUserProductSync, UserChannelApiKey, Currency, ExchangeRate, Attribute, ProductAttribute, CategoryImages, AuthInfo, AuthMethod,
|
|
86
|
+
import TemplateEcommerceSchemeConfigVariant from './modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant';
|
|
87
|
+
import TemplateEcommerceSchemeConfigVariantMapped from './modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped';
|
|
88
|
+
export { CustomVariant, CustomProduct, CustomProductImage, Cart, CartItem, Checkout, CheckoutBillingAddress, CheckoutShippingAddress, PriceData, ProductShipping, Shipping, ShippingCountry, Address, ApiCredential, AuditedModel, BankAccount, Business, BusinessProducts, CardRegistration, Category, Channel, Check, CheckoutMetadata, Contact, Country, Courier, FlatRate, FlatRateCountry, Fulfillment, Image, ImportedProduct, MagentoConnection, MetricActiveUser, Notification, Option, Order, OrderCustomer, OrderItem, OrderShipping, OrderTracking, Payment, PaymentShopify, Permission, Price, Product, Request, Return, ReturnAddress, Role, RolePermission, ShippingPackage, ShopifyConnection, Subcategory, User, UserRole, Variant, Wallet, WooConnection, UserTokenWolt, UserSettings, PaymentMethod, Collection, CollectionItem, CollectionShared, ChannelGroup, ChannelUser, ChannelUserProductSync, UserChannelApiKey, Currency, ExchangeRate, Attribute, ProductAttribute, CategoryImages, AuthInfo, AuthMethod, EndpointTemplateEcommerce, TemplateEcommerce, UserTemplateEcommerce, TemplateEcommerceSchemeConfigOrder, TemplateEcommerceSchemeConfigOrderMapped, ReachuSchemeConfigOrder, TemplateEcommerceSchemeConfigProduct, TemplateEcommerceSchemeConfigProductMapped, ReachuSchemeConfigProduct, TemplateEcommerceSchemeConfigVariant, TemplateEcommerceSchemeConfigVariantMapped, ReachuSchemeConfigVariant, };
|
package/dist/entity/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.RolePermission = exports.Role = exports.ReturnAddress = exports.Return = exports.Request = exports.Product = exports.Price = exports.Permission = exports.PaymentShopify = exports.Payment = exports.OrderTracking = exports.OrderShipping = exports.OrderItem = exports.OrderCustomer = exports.Order = exports.Option = exports.Notification = exports.MetricActiveUser = exports.MagentoConnection = exports.ImportedProduct = exports.Image = exports.Fulfillment = exports.FlatRateCountry = exports.FlatRate = exports.Courier = exports.Country = exports.Contact = exports.CheckoutMetadata = exports.Check = exports.Channel = exports.Category = exports.CardRegistration = exports.BusinessProducts = exports.Business = exports.BankAccount = exports.AuditedModel = exports.ApiCredential = exports.Address = exports.ShippingCountry = exports.Shipping = exports.ProductShipping = exports.PriceData = exports.CheckoutShippingAddress = exports.CheckoutBillingAddress = exports.Checkout = exports.CartItem = exports.Cart = exports.CustomProductImage = exports.CustomProduct = exports.CustomVariant = void 0;
|
|
7
|
-
exports.
|
|
7
|
+
exports.ReachuSchemeConfigVariant = exports.TemplateEcommerceSchemeConfigVariantMapped = exports.TemplateEcommerceSchemeConfigVariant = exports.ReachuSchemeConfigProduct = exports.TemplateEcommerceSchemeConfigProductMapped = exports.TemplateEcommerceSchemeConfigProduct = exports.ReachuSchemeConfigOrder = exports.TemplateEcommerceSchemeConfigOrderMapped = exports.TemplateEcommerceSchemeConfigOrder = exports.UserTemplateEcommerce = exports.TemplateEcommerce = exports.EndpointTemplateEcommerce = exports.AuthMethod = exports.AuthInfo = exports.CategoryImages = exports.ProductAttribute = exports.Attribute = exports.ExchangeRate = exports.Currency = exports.UserChannelApiKey = exports.ChannelUserProductSync = exports.ChannelUser = exports.ChannelGroup = exports.CollectionShared = exports.CollectionItem = exports.Collection = exports.PaymentMethod = exports.UserSettings = exports.UserTokenWolt = exports.WooConnection = exports.Wallet = exports.Variant = exports.UserRole = exports.User = exports.Subcategory = exports.ShopifyConnection = exports.ShippingPackage = void 0;
|
|
8
8
|
const Address_1 = __importDefault(require("./Address"));
|
|
9
9
|
exports.Address = Address_1.default;
|
|
10
10
|
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
@@ -155,28 +155,28 @@ const AuthInfo_1 = __importDefault(require("./modules/templates/AuthInfo"));
|
|
|
155
155
|
exports.AuthInfo = AuthInfo_1.default;
|
|
156
156
|
const AuthMethod_1 = __importDefault(require("./modules/templates/AuthMethod"));
|
|
157
157
|
exports.AuthMethod = AuthMethod_1.default;
|
|
158
|
-
const
|
|
159
|
-
exports.
|
|
160
|
-
const
|
|
161
|
-
exports.
|
|
162
|
-
const
|
|
163
|
-
exports.
|
|
158
|
+
const EndpointTemplateEcommerce_1 = __importDefault(require("./modules/templates/EndpointTemplateEcommerce"));
|
|
159
|
+
exports.EndpointTemplateEcommerce = EndpointTemplateEcommerce_1.default;
|
|
160
|
+
const TemplateEcommerce_1 = __importDefault(require("./modules/templates/TemplateEcommerce"));
|
|
161
|
+
exports.TemplateEcommerce = TemplateEcommerce_1.default;
|
|
162
|
+
const UserTemplateEcommerce_1 = __importDefault(require("./modules/templates/UserTemplateEcommerce"));
|
|
163
|
+
exports.UserTemplateEcommerce = UserTemplateEcommerce_1.default;
|
|
164
164
|
const ReachuSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/ReachuSchemeConfigOrder"));
|
|
165
165
|
exports.ReachuSchemeConfigOrder = ReachuSchemeConfigOrder_1.default;
|
|
166
|
-
const
|
|
167
|
-
exports.
|
|
168
|
-
const
|
|
169
|
-
exports.
|
|
166
|
+
const TemplateEcommerceSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder"));
|
|
167
|
+
exports.TemplateEcommerceSchemeConfigOrder = TemplateEcommerceSchemeConfigOrder_1.default;
|
|
168
|
+
const TemplateEcommerceSchemeConfigOrderMapped_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped"));
|
|
169
|
+
exports.TemplateEcommerceSchemeConfigOrderMapped = TemplateEcommerceSchemeConfigOrderMapped_1.default;
|
|
170
170
|
const ReachuSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/ReachuSchemeConfigProduct"));
|
|
171
171
|
exports.ReachuSchemeConfigProduct = ReachuSchemeConfigProduct_1.default;
|
|
172
|
-
const
|
|
173
|
-
exports.
|
|
174
|
-
const
|
|
175
|
-
exports.
|
|
172
|
+
const TemplateEcommerceSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct"));
|
|
173
|
+
exports.TemplateEcommerceSchemeConfigProduct = TemplateEcommerceSchemeConfigProduct_1.default;
|
|
174
|
+
const TemplateEcommerceSchemeConfigProductMapped_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped"));
|
|
175
|
+
exports.TemplateEcommerceSchemeConfigProductMapped = TemplateEcommerceSchemeConfigProductMapped_1.default;
|
|
176
176
|
const ReachuSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/ReachuSchemeConfigVariant"));
|
|
177
177
|
exports.ReachuSchemeConfigVariant = ReachuSchemeConfigVariant_1.default;
|
|
178
|
-
const
|
|
179
|
-
exports.
|
|
180
|
-
const
|
|
181
|
-
exports.
|
|
178
|
+
const TemplateEcommerceSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant"));
|
|
179
|
+
exports.TemplateEcommerceSchemeConfigVariant = TemplateEcommerceSchemeConfigVariant_1.default;
|
|
180
|
+
const TemplateEcommerceSchemeConfigVariantMapped_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped"));
|
|
181
|
+
exports.TemplateEcommerceSchemeConfigVariantMapped = TemplateEcommerceSchemeConfigVariantMapped_1.default;
|
|
182
182
|
//# sourceMappingURL=index.js.map
|
package/dist/entity/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;AAAA,wDAAgC;AAgH9B,kBAhHK,iBAAO,CAgHL;AA/GT,oEAA4C;AAgH1C,wBAhHK,uBAAa,CAgHL;AA/Gf,kEAA0C;AAgHxC,uBAhHK,sBAAY,CAgHL;AA/Gd,gEAAwC;AAgHtC,sBAhHK,qBAAW,CAgHL;AA/Gb,0DAAkC;AAgHhC,mBAhHK,kBAAQ,CAgHL;AA/GV,0EAAkD;AAgHhD,2BAhHK,0BAAgB,CAgHL;AA/GlB,0EAAkD;AAgHhD,2BAhHK,0BAAgB,CAgHL;AA/GlB,0DAAkC;AAgHhC,mBAhHK,kBAAQ,CAgHL;AA/GV,wDAAgC;AAgH9B,kBAhHK,iBAAO,CAgHL;AA/GT,oDAA4B;AAgH1B,gBAhHK,eAAK,CAgHL;AA/GP,0EAAkD;AAgHhD,2BAhHK,0BAAgB,CAgHL;AA/GlB,wDAAgC;AAgH9B,kBAhHK,iBAAO,CAgHL;AA/GT,wDAAgC;AAgH9B,kBAhHK,iBAAO,CAgHL;AA/GT,wDAAgC;AAgH9B,kBAhHK,iBAAO,CAgHL;AA/GT,0DAAkC;AAgHhC,mBAhHK,kBAAQ,CAgHL;AA/GV,wEAAgD;AAgH9C,0BAhHK,yBA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Aa,CA4BL;AA3Bf,mDAAgD;AA4B9C,8FA5BO,6BAAa,OA4BP;AA3Bf,8EAAsD;AA4BpD,6BA5BK,4BAAkB,CA4BL;AA1BpB,4DAAoC;AA8FlC,oBA9FK,mBAAS,CA8FL;AA7FX,0EAAkD;AA8FhD,2BA9FK,0BAAgB,CA8FL;AA7FlB,sEAA8C;AA8F5C,yBA9FK,wBAAc,CA8FL;AA3FhB,4EAAoD;AA4FlD,mBA5FK,kBAAQ,CA4FL;AA3FV,gFAAwD;AA4FtD,qBA5FK,oBAAU,CA4FL;AA3FZ,8GAAsF;AA4FpF,oCA5FK,mCAAyB,CA4FL;AA3F3B,8FAAsE;AA4FpE,4BA5FK,2BAAiB,CA4FL;AA3FnB,sGAA8E;AA4F5E,gCA5FK,+BAAqB,CA4FL;AA1FvB,sHAA8F;AA6F5F,kCA7FK,iCAAuB,CA6FL;AA5FzB,4IAAoH;AA0FlH,6CA1FK,4CAAkC,CA0FL;AAzFpC,wJAAgI;AA0F9H,mDA1FK,kDAAwC,CA0FL;AAxF1C,4HAAoG;AA4FlG,oCA5FK,mCAAyB,CA4FL;AA3F3B,kJAA0H;AAyFxH,+CAzFK,8CAAoC,CAyFL;AAxFtC,8JAAsI;AAyFpI,qDAzFK,oDAA0C,CAyFL;AAvF5C,4HAAoG;AA2FlG,oCA3FK,mCAAyB,CA2FL;AA1F3B,kJAA0H;AAwFxH,+CAxFK,8CAAoC,CAwFL;AAvFtC,8JAAsI;AAwFpI,qDAxFK,oDAA0C,CAwFL"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import AuditedModel from '../../AuditedModel';
|
|
2
|
-
import
|
|
2
|
+
import UserTemplateEcommerce from './UserTemplateEcommerce';
|
|
3
3
|
export default class AuthInfo extends AuditedModel {
|
|
4
4
|
id: number;
|
|
5
5
|
deletedAt: Date;
|
|
@@ -8,5 +8,5 @@ export default class AuthInfo extends AuditedModel {
|
|
|
8
8
|
basic: string;
|
|
9
9
|
publicKey: string;
|
|
10
10
|
privateKey: string;
|
|
11
|
-
|
|
11
|
+
userTemplateEcommerce: UserTemplateEcommerce[];
|
|
12
12
|
}
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const
|
|
17
|
+
const UserTemplateEcommerce_1 = __importDefault(require("./UserTemplateEcommerce"));
|
|
18
18
|
let AuthInfo = class AuthInfo extends AuditedModel_1.default {
|
|
19
19
|
};
|
|
20
20
|
__decorate([
|
|
@@ -46,10 +46,11 @@ __decorate([
|
|
|
46
46
|
__metadata("design:type", String)
|
|
47
47
|
], AuthInfo.prototype, "privateKey", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
typeorm_1.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
typeorm_1.OneToMany(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.authInfo, {
|
|
50
|
+
cascade: true,
|
|
51
|
+
}),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], AuthInfo.prototype, "userTemplateEcommerce", void 0);
|
|
53
54
|
AuthInfo = __decorate([
|
|
54
55
|
typeorm_1.Entity()
|
|
55
56
|
], AuthInfo);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthInfo.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/AuthInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AuthInfo.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/AuthInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA8F;AAC9F,sEAA8C;AAC9C,oFAA4D;AAG5D,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,sBAAY;CA8BjD,CAAA;AA5BC;IADC,gCAAsB,EAAE;;oCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACxB;AAGd;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACvB;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACxB;AAGd;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACnB;AASnB;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,+BAAqB,EAC3B,CAAC,qBAA4C,EAAE,EAAE,CAAC,qBAAqB,CAAC,QAAQ,EAChF;QACE,OAAO,EAAE,IAAI;KACd,CACF;;uDAC8C;AA7B5B,QAAQ;IAD5B,gBAAM,EAAE;GACY,QAAQ,CA8B5B;kBA9BoB,QAAQ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import AuditedModel from '../../AuditedModel';
|
|
2
|
-
import
|
|
2
|
+
import TemplateEcommerce from './TemplateEcommerce';
|
|
3
3
|
export default class AuthMethod extends AuditedModel {
|
|
4
4
|
id: number;
|
|
5
5
|
deletedAt: Date;
|
|
6
6
|
name: string;
|
|
7
|
-
|
|
7
|
+
templateEcommerce: TemplateEcommerce[];
|
|
8
8
|
}
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const
|
|
17
|
+
const TemplateEcommerce_1 = __importDefault(require("./TemplateEcommerce"));
|
|
18
18
|
let AuthMethod = class AuthMethod extends AuditedModel_1.default {
|
|
19
19
|
};
|
|
20
20
|
__decorate([
|
|
@@ -30,11 +30,11 @@ __decorate([
|
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], AuthMethod.prototype, "name", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
typeorm_1.OneToMany(() =>
|
|
33
|
+
typeorm_1.OneToMany(() => TemplateEcommerce_1.default, (templateEcommerce) => templateEcommerce.authMethod, {
|
|
34
34
|
cascade: true,
|
|
35
35
|
}),
|
|
36
36
|
__metadata("design:type", Array)
|
|
37
|
-
], AuthMethod.prototype, "
|
|
37
|
+
], AuthMethod.prototype, "templateEcommerce", void 0);
|
|
38
38
|
AuthMethod = __decorate([
|
|
39
39
|
typeorm_1.Entity()
|
|
40
40
|
], AuthMethod);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthMethod.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/AuthMethod.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA8F;AAC9F,sEAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"AuthMethod.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/AuthMethod.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA8F;AAC9F,sEAA8C;AAC9C,4EAAoD;AAGpD,IAAqB,UAAU,GAA/B,MAAqB,UAAW,SAAQ,sBAAY;CAkBnD,CAAA;AAhBC;IADC,gCAAsB,EAAE;;sCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;6CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wCAC1B;AASb;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,2BAAiB,EACvB,CAAC,iBAAoC,EAAE,EAAE,CAAC,iBAAiB,CAAC,UAAU,EACtE;QACE,OAAO,EAAE,IAAI;KACd,CACF;;qDACsC;AAjBpB,UAAU;IAD9B,gBAAM,EAAE;GACY,UAAU,CAkB9B;kBAlBoB,UAAU"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import AuditedModel from '../../AuditedModel';
|
|
2
|
+
import UserTemplateEcommerce from './UserTemplateEcommerce';
|
|
3
|
+
export default class EndpointTemplateEcommerce extends AuditedModel {
|
|
4
|
+
id: number;
|
|
5
|
+
deletedAt: Date;
|
|
6
|
+
url: string;
|
|
7
|
+
connection: boolean;
|
|
8
|
+
response: string;
|
|
9
|
+
userTemplateEcommerce: UserTemplateEcommerce;
|
|
10
|
+
}
|
package/dist/entity/modules/templates/{EndpointTemplateChannel.js → EndpointTemplateEcommerce.js}
RENAMED
|
@@ -14,36 +14,36 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const
|
|
18
|
-
let
|
|
17
|
+
const UserTemplateEcommerce_1 = __importDefault(require("./UserTemplateEcommerce"));
|
|
18
|
+
let EndpointTemplateEcommerce = class EndpointTemplateEcommerce extends AuditedModel_1.default {
|
|
19
19
|
};
|
|
20
20
|
__decorate([
|
|
21
21
|
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
22
|
__metadata("design:type", Number)
|
|
23
|
-
],
|
|
23
|
+
], EndpointTemplateEcommerce.prototype, "id", void 0);
|
|
24
24
|
__decorate([
|
|
25
25
|
typeorm_1.DeleteDateColumn(),
|
|
26
26
|
__metadata("design:type", Date)
|
|
27
|
-
],
|
|
27
|
+
], EndpointTemplateEcommerce.prototype, "deletedAt", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
typeorm_1.Column('varchar', { nullable: false }),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
|
-
],
|
|
31
|
+
], EndpointTemplateEcommerce.prototype, "url", void 0);
|
|
32
32
|
__decorate([
|
|
33
33
|
typeorm_1.Column({ type: 'boolean', default: false }),
|
|
34
34
|
__metadata("design:type", Boolean)
|
|
35
|
-
],
|
|
35
|
+
], EndpointTemplateEcommerce.prototype, "connection", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
typeorm_1.Column('varchar', { length: '21844', nullable: true }),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
39
|
+
], EndpointTemplateEcommerce.prototype, "response", void 0);
|
|
40
40
|
__decorate([
|
|
41
|
-
typeorm_1.ManyToOne(() =>
|
|
41
|
+
typeorm_1.ManyToOne(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.endpointTemplateEcommerce, { eager: true, onDelete: 'CASCADE' }),
|
|
42
42
|
typeorm_1.JoinColumn(),
|
|
43
|
-
__metadata("design:type",
|
|
44
|
-
],
|
|
45
|
-
|
|
43
|
+
__metadata("design:type", UserTemplateEcommerce_1.default)
|
|
44
|
+
], EndpointTemplateEcommerce.prototype, "userTemplateEcommerce", void 0);
|
|
45
|
+
EndpointTemplateEcommerce = __decorate([
|
|
46
46
|
typeorm_1.Entity()
|
|
47
|
-
],
|
|
48
|
-
exports.default =
|
|
49
|
-
//# sourceMappingURL=
|
|
47
|
+
], EndpointTemplateEcommerce);
|
|
48
|
+
exports.default = EndpointTemplateEcommerce;
|
|
49
|
+
//# sourceMappingURL=EndpointTemplateEcommerce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EndpointTemplateEcommerce.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/EndpointTemplateEcommerce.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,sEAA8C;AAC9C,oFAA4D;AAG5D,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,sBAAY;CAwBlE,CAAA;AAtBC;IADC,gCAAsB,EAAE;;qDACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;4DAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sDAC3B;AAGZ;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6DACxB;AAGpB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACtC;AASjB;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,+BAAqB,EAC3B,CAAC,qBAA4C,EAAE,EAAE,CAC/C,qBAAqB,CAAC,yBAAyB,EACjD,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CACrC;IACA,oBAAU,EAAE;8BACU,+BAAqB;wEAAC;AAvB1B,yBAAyB;IAD7C,gBAAM,EAAE;GACY,yBAAyB,CAwB7C;kBAxBoB,yBAAyB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import AuditedModel from '../../AuditedModel';
|
|
2
|
+
import UserTemplateEcommerce from './UserTemplateEcommerce';
|
|
3
|
+
import ReachuSchemeConfigProduct from './schemeProduct/ReachuSchemeConfigProduct';
|
|
4
|
+
import TemplateEcommerceSchemeConfigProduct from './schemeProduct/TemplateEcommerceSchemeConfigProduct';
|
|
5
|
+
import TemplateEcommerceSchemeConfigProductMapped from './schemeProduct/TemplateEcommerceSchemeConfigProductMapped';
|
|
6
|
+
import ReachuSchemeConfigVariant from './schemeVariant/ReachuSchemeConfigVariant';
|
|
7
|
+
import TemplateEcommerceSchemeConfigVariant from './schemeVariant/TemplateEcommerceSchemeConfigVariant';
|
|
8
|
+
import TemplateEcommerceSchemeConfigVariantMapped from './schemeVariant/TemplateEcommerceSchemeConfigVariantMapped';
|
|
9
|
+
import ReachuSchemeConfigOrder from './schemeOrder/ReachuSchemeConfigOrder';
|
|
10
|
+
import TemplateEcommerceSchemeConfigOrder from './schemeOrder/TemplateEcommerceSchemeConfigOrder';
|
|
11
|
+
import TemplateEcommerceSchemeConfigOrderMapped from './schemeOrder/TemplateEcommerceSchemeConfigOrderMapped';
|
|
12
|
+
import AuthMethod from './AuthMethod';
|
|
13
|
+
export default class TemplateEcommerce extends AuditedModel {
|
|
14
|
+
id: number;
|
|
15
|
+
deletedAt: Date;
|
|
16
|
+
name: string;
|
|
17
|
+
authMethod: AuthMethod;
|
|
18
|
+
userTemplateEcommerce: UserTemplateEcommerce[];
|
|
19
|
+
reachuSchemeConfigProduct: ReachuSchemeConfigProduct;
|
|
20
|
+
templateEcommerceSchemeConfigProduct: TemplateEcommerceSchemeConfigProduct;
|
|
21
|
+
templateEcommerceSchemeConfigProductMapped: TemplateEcommerceSchemeConfigProductMapped;
|
|
22
|
+
reachuSchemeConfigVariant: ReachuSchemeConfigVariant;
|
|
23
|
+
templateEcommerceSchemeConfigVariant: TemplateEcommerceSchemeConfigVariant;
|
|
24
|
+
templateEcommerceSchemeConfigVariantMapped: TemplateEcommerceSchemeConfigVariantMapped;
|
|
25
|
+
reachuSchemeConfigOrder: ReachuSchemeConfigOrder;
|
|
26
|
+
templateEcommerceSchemeConfigOrder: TemplateEcommerceSchemeConfigOrder;
|
|
27
|
+
templateEcommerceSchemeConfigOrderMapped: TemplateEcommerceSchemeConfigOrderMapped;
|
|
28
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
+
const UserTemplateEcommerce_1 = __importDefault(require("./UserTemplateEcommerce"));
|
|
18
|
+
const ReachuSchemeConfigProduct_1 = __importDefault(require("./schemeProduct/ReachuSchemeConfigProduct"));
|
|
19
|
+
const TemplateEcommerceSchemeConfigProduct_1 = __importDefault(require("./schemeProduct/TemplateEcommerceSchemeConfigProduct"));
|
|
20
|
+
const TemplateEcommerceSchemeConfigProductMapped_1 = __importDefault(require("./schemeProduct/TemplateEcommerceSchemeConfigProductMapped"));
|
|
21
|
+
const ReachuSchemeConfigVariant_1 = __importDefault(require("./schemeVariant/ReachuSchemeConfigVariant"));
|
|
22
|
+
const TemplateEcommerceSchemeConfigVariant_1 = __importDefault(require("./schemeVariant/TemplateEcommerceSchemeConfigVariant"));
|
|
23
|
+
const TemplateEcommerceSchemeConfigVariantMapped_1 = __importDefault(require("./schemeVariant/TemplateEcommerceSchemeConfigVariantMapped"));
|
|
24
|
+
const ReachuSchemeConfigOrder_1 = __importDefault(require("./schemeOrder/ReachuSchemeConfigOrder"));
|
|
25
|
+
const TemplateEcommerceSchemeConfigOrder_1 = __importDefault(require("./schemeOrder/TemplateEcommerceSchemeConfigOrder"));
|
|
26
|
+
const TemplateEcommerceSchemeConfigOrderMapped_1 = __importDefault(require("./schemeOrder/TemplateEcommerceSchemeConfigOrderMapped"));
|
|
27
|
+
const AuthMethod_1 = __importDefault(require("./AuthMethod"));
|
|
28
|
+
let TemplateEcommerce = class TemplateEcommerce extends AuditedModel_1.default {
|
|
29
|
+
};
|
|
30
|
+
__decorate([
|
|
31
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], TemplateEcommerce.prototype, "id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
typeorm_1.DeleteDateColumn(),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], TemplateEcommerce.prototype, "deletedAt", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
typeorm_1.Column('varchar', { nullable: false }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], TemplateEcommerce.prototype, "name", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
typeorm_1.ManyToOne(() => AuthMethod_1.default, (authMethod) => authMethod.templateEcommerce, {
|
|
44
|
+
eager: true,
|
|
45
|
+
onDelete: 'CASCADE',
|
|
46
|
+
}),
|
|
47
|
+
typeorm_1.JoinColumn(),
|
|
48
|
+
__metadata("design:type", AuthMethod_1.default)
|
|
49
|
+
], TemplateEcommerce.prototype, "authMethod", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
typeorm_1.OneToMany(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.templateEcommerce, { cascade: true }),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], TemplateEcommerce.prototype, "userTemplateEcommerce", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
typeorm_1.ManyToOne(() => ReachuSchemeConfigProduct_1.default, (reachuSchemeConfigProduct) => reachuSchemeConfigProduct.templateEcommerce, {
|
|
56
|
+
eager: true,
|
|
57
|
+
onDelete: 'CASCADE',
|
|
58
|
+
}),
|
|
59
|
+
typeorm_1.JoinColumn(),
|
|
60
|
+
__metadata("design:type", ReachuSchemeConfigProduct_1.default)
|
|
61
|
+
], TemplateEcommerce.prototype, "reachuSchemeConfigProduct", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigProduct_1.default, (templateEcommerceSchemeConfigProduct) => templateEcommerceSchemeConfigProduct.templateEcommerce, {
|
|
64
|
+
eager: true,
|
|
65
|
+
onDelete: 'CASCADE',
|
|
66
|
+
}),
|
|
67
|
+
typeorm_1.JoinColumn(),
|
|
68
|
+
__metadata("design:type", TemplateEcommerceSchemeConfigProduct_1.default)
|
|
69
|
+
], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigProduct", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigProductMapped_1.default, (templateEcommerceSchemeConfigProductMapped) => templateEcommerceSchemeConfigProductMapped.templateEcommerce, {
|
|
72
|
+
eager: true,
|
|
73
|
+
onDelete: 'CASCADE',
|
|
74
|
+
}),
|
|
75
|
+
typeorm_1.JoinColumn(),
|
|
76
|
+
__metadata("design:type", TemplateEcommerceSchemeConfigProductMapped_1.default)
|
|
77
|
+
], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigProductMapped", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
typeorm_1.ManyToOne(() => ReachuSchemeConfigVariant_1.default, (reachuSchemeConfigVariant) => reachuSchemeConfigVariant.templateEcommerce, {
|
|
80
|
+
eager: true,
|
|
81
|
+
onDelete: 'CASCADE',
|
|
82
|
+
}),
|
|
83
|
+
typeorm_1.JoinColumn(),
|
|
84
|
+
__metadata("design:type", ReachuSchemeConfigVariant_1.default)
|
|
85
|
+
], TemplateEcommerce.prototype, "reachuSchemeConfigVariant", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigVariant_1.default, (templateEcommerceSchemeConfigVariant) => templateEcommerceSchemeConfigVariant.templateEcommerce, {
|
|
88
|
+
eager: true,
|
|
89
|
+
onDelete: 'CASCADE',
|
|
90
|
+
}),
|
|
91
|
+
typeorm_1.JoinColumn(),
|
|
92
|
+
__metadata("design:type", TemplateEcommerceSchemeConfigVariant_1.default)
|
|
93
|
+
], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigVariant", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigVariantMapped_1.default, (templateEcommerceSchemeConfigVariantMapped) => templateEcommerceSchemeConfigVariantMapped.templateEcommerce, {
|
|
96
|
+
eager: true,
|
|
97
|
+
onDelete: 'CASCADE',
|
|
98
|
+
}),
|
|
99
|
+
typeorm_1.JoinColumn(),
|
|
100
|
+
__metadata("design:type", TemplateEcommerceSchemeConfigVariantMapped_1.default)
|
|
101
|
+
], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigVariantMapped", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
typeorm_1.ManyToOne(() => ReachuSchemeConfigOrder_1.default, (reachuSchemeConfigOrder) => reachuSchemeConfigOrder.templateEcommerce, {
|
|
104
|
+
eager: true,
|
|
105
|
+
onDelete: 'CASCADE',
|
|
106
|
+
}),
|
|
107
|
+
typeorm_1.JoinColumn(),
|
|
108
|
+
__metadata("design:type", ReachuSchemeConfigOrder_1.default)
|
|
109
|
+
], TemplateEcommerce.prototype, "reachuSchemeConfigOrder", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigOrder_1.default, (templateEcommerceSchemeConfigOrder) => templateEcommerceSchemeConfigOrder.templateEcommerce, {
|
|
112
|
+
eager: true,
|
|
113
|
+
onDelete: 'CASCADE',
|
|
114
|
+
}),
|
|
115
|
+
typeorm_1.JoinColumn(),
|
|
116
|
+
__metadata("design:type", TemplateEcommerceSchemeConfigOrder_1.default)
|
|
117
|
+
], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigOrder", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigOrderMapped_1.default, (templateEcommerceSchemeConfigOrderMapped) => templateEcommerceSchemeConfigOrderMapped.templateEcommerce, {
|
|
120
|
+
eager: true,
|
|
121
|
+
onDelete: 'CASCADE',
|
|
122
|
+
}),
|
|
123
|
+
typeorm_1.JoinColumn(),
|
|
124
|
+
__metadata("design:type", TemplateEcommerceSchemeConfigOrderMapped_1.default)
|
|
125
|
+
], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigOrderMapped", void 0);
|
|
126
|
+
TemplateEcommerce = __decorate([
|
|
127
|
+
typeorm_1.Entity()
|
|
128
|
+
], TemplateEcommerce);
|
|
129
|
+
exports.default = TemplateEcommerce;
|
|
130
|
+
//# sourceMappingURL=TemplateEcommerce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateEcommerce.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/TemplateEcommerce.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,sEAA8C;AAC9C,oFAA4D;AAC5D,0GAAkF;AAClF,gIAAwG;AACxG,4IAAoH;AACpH,0GAAkF;AAClF,gIAAwG;AACxG,4IAAoH;AACpH,oGAA4E;AAC5E,0HAAkG;AAClG,sIAA8G;AAC9G,8DAAsC;AAGtC,IAAqB,iBAAiB,GAAtC,MAAqB,iBAAkB,SAAQ,sBAAY;CAkI1D,CAAA;AAhIC;IADC,gCAAsB,EAAE;;6CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;oDAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+CAC1B;AAOb;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,oBAAU,EAAE,CAAC,UAAsB,EAAE,EAAE,CAAC,UAAU,CAAC,iBAAiB,EAAE;QACrF,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,oBAAU,EAAE;8BACD,oBAAU;qDAAC;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U,EAAE;8BACyB,8CAAoC;+EAAC;AAY3E;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,oDAA0C,EAChD,CAAC,0CAAsF,EAAE,EAAE,CACzF,0CAA0C,CAAC,iBAAiB,EAC9D;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BAC+B,oDAA0C;qFAAC;AAWvF;IATC,mBAAS,CACR,GAAG,EAAE,CAAC,iCAAuB,EAC7B,CAAC,uBAAgD,EAAE,EAAE,CAAC,uBAAuB,CAAC,iBAAiB,EAC/F;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACY,iCAAuB;kEAAC;AAYjD;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,4CAAkC,EACxC,CAAC,kCAAsE,EAAE,EAAE,CACzE,kCAAkC,CAAC,iBAAiB,EACtD;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACuB,4CAAkC;6EAAC;AAYvE;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,kDAAwC,EAC9C,CAAC,wCAAkF,EAAE,EAAE,CACrF,wCAAwC,CAAC,iBAAiB,EAC5D;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BAC6B,kDAAwC;mFAAC;AAjIhE,iBAAiB;IADrC,gBAAM,EAAE;GACY,iBAAiB,CAkIrC;kBAlIoB,iBAAiB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import User from '../../User';
|
|
2
|
+
import AuditedModel from '../../AuditedModel';
|
|
3
|
+
import EndpointTemplateEcommerce from './EndpointTemplateEcommerce';
|
|
4
|
+
import AuthInfo from './AuthInfo';
|
|
5
|
+
import TemplateEcommerce from './TemplateEcommerce';
|
|
6
|
+
export default class UserTemplateEcommerce extends AuditedModel {
|
|
7
|
+
id: number;
|
|
8
|
+
deletedAt: Date;
|
|
9
|
+
user: User;
|
|
10
|
+
endpointTemplateEcommerce: EndpointTemplateEcommerce[];
|
|
11
|
+
authInfo: AuthInfo;
|
|
12
|
+
templateEcommerce: TemplateEcommerce;
|
|
13
|
+
}
|
|
@@ -15,43 +15,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const User_1 = __importDefault(require("../../User"));
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
17
|
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
18
|
-
const
|
|
18
|
+
const EndpointTemplateEcommerce_1 = __importDefault(require("./EndpointTemplateEcommerce"));
|
|
19
19
|
const AuthInfo_1 = __importDefault(require("./AuthInfo"));
|
|
20
|
-
const
|
|
21
|
-
let
|
|
20
|
+
const TemplateEcommerce_1 = __importDefault(require("./TemplateEcommerce"));
|
|
21
|
+
let UserTemplateEcommerce = class UserTemplateEcommerce extends AuditedModel_1.default {
|
|
22
22
|
};
|
|
23
23
|
__decorate([
|
|
24
24
|
typeorm_1.PrimaryGeneratedColumn(),
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
|
-
],
|
|
26
|
+
], UserTemplateEcommerce.prototype, "id", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
typeorm_1.DeleteDateColumn(),
|
|
29
29
|
__metadata("design:type", Date)
|
|
30
|
-
],
|
|
30
|
+
], UserTemplateEcommerce.prototype, "deletedAt", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
33
33
|
typeorm_1.JoinColumn(),
|
|
34
34
|
__metadata("design:type", User_1.default)
|
|
35
|
-
],
|
|
35
|
+
], UserTemplateEcommerce.prototype, "user", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
-
typeorm_1.OneToMany(() =>
|
|
37
|
+
typeorm_1.OneToMany(() => EndpointTemplateEcommerce_1.default, (endpointTemplateEcommerce) => endpointTemplateEcommerce.userTemplateEcommerce, { cascade: true }),
|
|
38
38
|
__metadata("design:type", Array)
|
|
39
|
-
],
|
|
39
|
+
], UserTemplateEcommerce.prototype, "endpointTemplateEcommerce", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
typeorm_1.OneToOne(() => AuthInfo_1.default, { eager: true }),
|
|
42
42
|
typeorm_1.JoinColumn(),
|
|
43
43
|
__metadata("design:type", AuthInfo_1.default)
|
|
44
|
-
],
|
|
44
|
+
], UserTemplateEcommerce.prototype, "authInfo", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
typeorm_1.ManyToOne(() =>
|
|
46
|
+
typeorm_1.ManyToOne(() => TemplateEcommerce_1.default, (templateEcommerce) => templateEcommerce.userTemplateEcommerce, {
|
|
47
47
|
eager: true,
|
|
48
48
|
onDelete: 'CASCADE',
|
|
49
49
|
}),
|
|
50
50
|
typeorm_1.JoinColumn(),
|
|
51
|
-
__metadata("design:type",
|
|
52
|
-
],
|
|
53
|
-
|
|
51
|
+
__metadata("design:type", TemplateEcommerce_1.default)
|
|
52
|
+
], UserTemplateEcommerce.prototype, "templateEcommerce", void 0);
|
|
53
|
+
UserTemplateEcommerce = __decorate([
|
|
54
54
|
typeorm_1.Entity()
|
|
55
|
-
],
|
|
56
|
-
exports.default =
|
|
57
|
-
//# sourceMappingURL=
|
|
55
|
+
], UserTemplateEcommerce);
|
|
56
|
+
exports.default = UserTemplateEcommerce;
|
|
57
|
+
//# sourceMappingURL=UserTemplateEcommerce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserTemplateEcommerce.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/UserTemplateEcommerce.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sDAA8B;AAC9B,qCASiB;AACjB,sEAA8C;AAC9C,4FAAoE;AACpE,0DAAkC;AAClC,4EAAoD;AAGpD,IAAqB,qBAAqB,GAA1C,MAAqB,qBAAsB,SAAQ,sBAAY;CAiC9D,CAAA;AA/BC;IADC,gCAAsB,EAAE;;iDACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;wDAAC;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;mDAAC;AAQX;IANC,mBAAS,CACR,GAAG,EAAE,CAAC,mCAAyB,EAC/B,CAAC,yBAAoD,EAAE,EAAE,CACvD,yBAAyB,CAAC,qBAAqB,EACjD,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;;wEACsD;AAIvD;IAFC,kBAAQ,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzC,oBAAU,EAAE;8BACH,kBAAQ;uDAAC;AAWnB;IATC,mBAAS,CACR,GAAG,EAAE,CAAC,2BAAiB,EACvB,CAAC,iBAAoC,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,EACjF;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACM,2BAAiB;gEAAC;AAhClB,qBAAqB;IADzC,gBAAM,EAAE;GACY,qBAAqB,CAiCzC;kBAjCoB,qBAAqB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import User from '../../../User';
|
|
2
2
|
import AuditedModel from '../../../AuditedModel';
|
|
3
|
-
import
|
|
3
|
+
import TemplateEcommerce from '../TemplateEcommerce';
|
|
4
4
|
export default class ReachuSchemeConfigOrder extends AuditedModel {
|
|
5
5
|
id: number;
|
|
6
6
|
deletedAt: Date;
|
|
@@ -8,5 +8,5 @@ export default class ReachuSchemeConfigOrder extends AuditedModel {
|
|
|
8
8
|
url: string;
|
|
9
9
|
version: number;
|
|
10
10
|
user: User;
|
|
11
|
-
|
|
11
|
+
templateEcommerce: TemplateEcommerce[];
|
|
12
12
|
}
|
|
@@ -15,7 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const User_1 = __importDefault(require("../../../User"));
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
17
|
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
-
const
|
|
18
|
+
const TemplateEcommerce_1 = __importDefault(require("../TemplateEcommerce"));
|
|
19
19
|
let ReachuSchemeConfigOrder = class ReachuSchemeConfigOrder extends AuditedModel_1.default {
|
|
20
20
|
};
|
|
21
21
|
__decorate([
|
|
@@ -44,11 +44,11 @@ __decorate([
|
|
|
44
44
|
__metadata("design:type", User_1.default)
|
|
45
45
|
], ReachuSchemeConfigOrder.prototype, "user", void 0);
|
|
46
46
|
__decorate([
|
|
47
|
-
typeorm_1.OneToMany(() =>
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateEcommerce_1.default, (templateEcommerce) => templateEcommerce.reachuSchemeConfigOrder, {
|
|
48
48
|
cascade: true,
|
|
49
49
|
}),
|
|
50
50
|
__metadata("design:type", Array)
|
|
51
|
-
], ReachuSchemeConfigOrder.prototype, "
|
|
51
|
+
], ReachuSchemeConfigOrder.prototype, "templateEcommerce", void 0);
|
|
52
52
|
ReachuSchemeConfigOrder = __decorate([
|
|
53
53
|
typeorm_1.Entity()
|
|
54
54
|
], ReachuSchemeConfigOrder);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReachuSchemeConfigOrder.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCAQiB;AACjB,yEAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"ReachuSchemeConfigOrder.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCAQiB;AACjB,yEAAiD;AACjD,6EAAqD;AAGrD,IAAqB,uBAAuB,GAA5C,MAAqB,uBAAwB,SAAQ,sBAAY;CA4BhE,CAAA;AA1BC;IADC,gCAAsB,EAAE;;mDACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;0DAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;qDAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,2BAAiB,EACvB,CAAC,iBAAoC,EAAE,EAAE,CAAC,iBAAiB,CAAC,uBAAuB,EACnF;QACE,OAAO,EAAE,IAAI;KACd,CACF;;kEACsC;AA3BpB,uBAAuB;IAD3C,gBAAM,EAAE;GACY,uBAAuB,CA4B3C;kBA5BoB,uBAAuB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import User from '../../../User';
|
|
2
2
|
import AuditedModel from '../../../AuditedModel';
|
|
3
|
-
import
|
|
4
|
-
export default class
|
|
3
|
+
import TemplateEcommerce from '../TemplateEcommerce';
|
|
4
|
+
export default class TemplateEcommerceSchemeConfigOrder extends AuditedModel {
|
|
5
5
|
id: number;
|
|
6
6
|
deletedAt: Date;
|
|
7
7
|
name: string;
|
|
8
8
|
url: string;
|
|
9
9
|
version: number;
|
|
10
10
|
user: User;
|
|
11
|
-
|
|
11
|
+
templateEcommerce: TemplateEcommerce[];
|
|
12
12
|
}
|