@reachu/database 1.0.23 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/entity/index.d.ts +10 -10
  2. package/dist/entity/index.js +19 -19
  3. package/dist/entity/index.js.map +1 -1
  4. package/dist/entity/modules/templates/AuthInfo.d.ts +2 -2
  5. package/dist/entity/modules/templates/AuthInfo.js +3 -3
  6. package/dist/entity/modules/templates/AuthInfo.js.map +1 -1
  7. package/dist/entity/modules/templates/AuthMethod.d.ts +2 -2
  8. package/dist/entity/modules/templates/AuthMethod.js +3 -3
  9. package/dist/entity/modules/templates/AuthMethod.js.map +1 -1
  10. package/dist/entity/modules/templates/EndpointTemplateEcommerce.d.ts +10 -0
  11. package/dist/entity/modules/templates/{EndpointTemplateChannel.js → EndpointTemplateEcommerce.js} +14 -14
  12. package/dist/entity/modules/templates/EndpointTemplateEcommerce.js.map +1 -0
  13. package/dist/entity/modules/templates/TemplateEcommerce.d.ts +30 -0
  14. package/dist/entity/modules/templates/TemplateEcommerce.js +138 -0
  15. package/dist/entity/modules/templates/TemplateEcommerce.js.map +1 -0
  16. package/dist/entity/modules/templates/UserTemplateEcommerce.d.ts +13 -0
  17. package/dist/entity/modules/templates/{UserTemplateChannel.js → UserTemplateEcommerce.js} +16 -16
  18. package/dist/entity/modules/templates/UserTemplateEcommerce.js.map +1 -0
  19. package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.d.ts +2 -2
  20. package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js +3 -3
  21. package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js.map +1 -1
  22. package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariant.d.ts → schemeOrder/TemplateEcommerceSchemeConfigOrder.d.ts} +3 -3
  23. package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariant.js → schemeOrder/TemplateEcommerceSchemeConfigOrder.js} +14 -14
  24. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.js.map +1 -0
  25. package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariantMapped.d.ts → schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.d.ts} +3 -3
  26. package/dist/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariantMapped.js → schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js} +14 -14
  27. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js.map +1 -0
  28. package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.d.ts +2 -2
  29. package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js +3 -3
  30. package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js.map +1 -1
  31. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.d.ts +11 -0
  32. package/dist/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProduct.js → TemplateEcommerceSchemeConfigProduct.js} +13 -13
  33. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.js.map +1 -0
  34. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.d.ts +11 -0
  35. package/dist/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProductMapped.js → TemplateEcommerceSchemeConfigProductMapped.js} +13 -13
  36. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.js.map +1 -0
  37. package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.d.ts +2 -2
  38. package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js +3 -3
  39. package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js.map +1 -1
  40. package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrder.d.ts → schemeVariant/TemplateEcommerceSchemeConfigVariant.d.ts} +3 -3
  41. package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrder.js → schemeVariant/TemplateEcommerceSchemeConfigVariant.js} +14 -14
  42. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.js.map +1 -0
  43. package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrderMapped.d.ts → schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.d.ts} +3 -3
  44. package/dist/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrderMapped.js → schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js} +14 -14
  45. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js.map +1 -0
  46. package/dist/migrations/1681485048240-template-ecommerce.d.ts +6 -0
  47. package/dist/migrations/1681485048240-template-ecommerce.js +86 -0
  48. package/dist/migrations/1681485048240-template-ecommerce.js.map +1 -0
  49. package/dist/migrations/1681485990275-template-ecommerce-two.d.ts +6 -0
  50. package/dist/migrations/1681485990275-template-ecommerce-two.js +31 -0
  51. package/dist/migrations/1681485990275-template-ecommerce-two.js.map +1 -0
  52. package/dist/repositories/index.d.ts +2 -2
  53. package/dist/repositories/index.js +10 -10
  54. package/dist/repositories/index.js.map +1 -1
  55. package/dist/repositories/templates/index.d.ts +18 -18
  56. package/dist/repositories/templates/index.js +64 -64
  57. package/dist/repositories/templates/index.js.map +1 -1
  58. package/dist/tsconfig.tsbuildinfo +172 -148
  59. package/package.json +3 -3
  60. package/src/entity/index.ts +18 -18
  61. package/src/entity/modules/templates/AuthInfo.ts +4 -4
  62. package/src/entity/modules/templates/AuthMethod.ts +4 -4
  63. package/src/entity/modules/templates/{EndpointTemplateChannel.ts → EndpointTemplateEcommerce.ts} +6 -5
  64. package/src/entity/modules/templates/TemplateEcommerce.ts +160 -0
  65. package/src/entity/modules/templates/{UserTemplateChannel.ts → UserTemplateEcommerce.ts} +10 -10
  66. package/src/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.ts +4 -4
  67. package/src/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariant.ts → schemeOrder/TemplateEcommerceSchemeConfigOrder.ts} +5 -6
  68. package/src/entity/modules/templates/{schemeVariant/TemplateChannelSchemeConfigVariantMapped.ts → schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.ts} +6 -6
  69. package/src/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.ts +4 -4
  70. package/src/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProduct.ts → TemplateEcommerceSchemeConfigProduct.ts} +6 -5
  71. package/src/entity/modules/templates/schemeProduct/{TemplateChannelSchemeConfigProductMapped.ts → TemplateEcommerceSchemeConfigProductMapped.ts} +6 -5
  72. package/src/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.ts +4 -5
  73. package/src/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrder.ts → schemeVariant/TemplateEcommerceSchemeConfigVariant.ts} +6 -6
  74. package/src/entity/modules/templates/{schemeOrder/TemplateChannelSchemeConfigOrderMapped.ts → schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.ts} +6 -5
  75. package/src/migrations/1681485048240-template-ecommerce.ts +71 -0
  76. package/src/migrations/1681485990275-template-ecommerce-two.ts +16 -0
  77. package/src/repositories/index.ts +18 -18
  78. package/src/repositories/templates/index.ts +27 -27
  79. package/dist/entity/modules/templates/EndpointTemplateChannel.d.ts +0 -10
  80. package/dist/entity/modules/templates/EndpointTemplateChannel.js.map +0 -1
  81. package/dist/entity/modules/templates/TemplateChannel.d.ts +0 -28
  82. package/dist/entity/modules/templates/TemplateChannel.js +0 -130
  83. package/dist/entity/modules/templates/TemplateChannel.js.map +0 -1
  84. package/dist/entity/modules/templates/UserTemplateChannel.d.ts +0 -13
  85. package/dist/entity/modules/templates/UserTemplateChannel.js.map +0 -1
  86. package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.js.map +0 -1
  87. package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.js.map +0 -1
  88. package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.d.ts +0 -11
  89. package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.js.map +0 -1
  90. package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.d.ts +0 -11
  91. package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.js.map +0 -1
  92. package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.js.map +0 -1
  93. package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.js.map +0 -1
  94. package/src/entity/modules/templates/TemplateChannel.ts +0 -154
@@ -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 EndpointTemplateChannel from './modules/templates/EndpointTemplateChannel';
77
- import TemplateChannel from './modules/templates/TemplateChannel';
78
- import UserTemplateChannel from './modules/templates/UserTemplateChannel';
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 TemplateChannelSchemeConfigOrder from './modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder';
81
- import TemplateChannelSchemeConfigOrderMapped from './modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped';
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 TemplateChannelSchemeConfigProduct from './modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct';
84
- import TemplateChannelSchemeConfigProductMapped from './modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped';
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 TemplateChannelSchemeConfigVariant from './modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant';
87
- import TemplateChannelSchemeConfigVariantMapped from './modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped';
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, EndpointTemplateChannel, TemplateChannel, UserTemplateChannel, ReachuSchemeConfigOrder, TemplateChannelSchemeConfigOrder, TemplateChannelSchemeConfigOrderMapped, ReachuSchemeConfigProduct, TemplateChannelSchemeConfigProduct, TemplateChannelSchemeConfigProductMapped, ReachuSchemeConfigVariant, TemplateChannelSchemeConfigVariant, TemplateChannelSchemeConfigVariantMapped, };
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, };
@@ -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.TemplateChannelSchemeConfigVariantMapped = exports.TemplateChannelSchemeConfigVariant = exports.ReachuSchemeConfigVariant = exports.TemplateChannelSchemeConfigProductMapped = exports.TemplateChannelSchemeConfigProduct = exports.ReachuSchemeConfigProduct = exports.TemplateChannelSchemeConfigOrderMapped = exports.TemplateChannelSchemeConfigOrder = exports.ReachuSchemeConfigOrder = exports.UserTemplateChannel = exports.TemplateChannel = exports.EndpointTemplateChannel = 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;
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 EndpointTemplateChannel_1 = __importDefault(require("./modules/templates/EndpointTemplateChannel"));
159
- exports.EndpointTemplateChannel = EndpointTemplateChannel_1.default;
160
- const TemplateChannel_1 = __importDefault(require("./modules/templates/TemplateChannel"));
161
- exports.TemplateChannel = TemplateChannel_1.default;
162
- const UserTemplateChannel_1 = __importDefault(require("./modules/templates/UserTemplateChannel"));
163
- exports.UserTemplateChannel = UserTemplateChannel_1.default;
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 TemplateChannelSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder"));
167
- exports.TemplateChannelSchemeConfigOrder = TemplateChannelSchemeConfigOrder_1.default;
168
- const TemplateChannelSchemeConfigOrderMapped_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped"));
169
- exports.TemplateChannelSchemeConfigOrderMapped = TemplateChannelSchemeConfigOrderMapped_1.default;
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 TemplateChannelSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct"));
173
- exports.TemplateChannelSchemeConfigProduct = TemplateChannelSchemeConfigProduct_1.default;
174
- const TemplateChannelSchemeConfigProductMapped_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped"));
175
- exports.TemplateChannelSchemeConfigProductMapped = TemplateChannelSchemeConfigProductMapped_1.default;
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 TemplateChannelSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant"));
179
- exports.TemplateChannelSchemeConfigVariant = TemplateChannelSchemeConfigVariant_1.default;
180
- const TemplateChannelSchemeConfigVariantMapped_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped"));
181
- exports.TemplateChannelSchemeConfigVariantMapped = TemplateChannelSchemeConfigVariantMapped_1.default;
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
@@ -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,gEAA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;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 UserTemplateChannel from './UserTemplateChannel';
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
- userTemplateChannel: UserTemplateChannel[];
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 UserTemplateChannel_1 = __importDefault(require("./UserTemplateChannel"));
17
+ const UserTemplateEcommerce_1 = __importDefault(require("./UserTemplateEcommerce"));
18
18
  let AuthInfo = class AuthInfo extends AuditedModel_1.default {
19
19
  };
20
20
  __decorate([
@@ -46,11 +46,11 @@ __decorate([
46
46
  __metadata("design:type", String)
47
47
  ], AuthInfo.prototype, "privateKey", void 0);
48
48
  __decorate([
49
- typeorm_1.OneToMany(() => UserTemplateChannel_1.default, (userTemplateChannel) => userTemplateChannel.authInfo, {
49
+ typeorm_1.OneToMany(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.authInfo, {
50
50
  cascade: true,
51
51
  }),
52
52
  __metadata("design:type", Array)
53
- ], AuthInfo.prototype, "userTemplateChannel", void 0);
53
+ ], AuthInfo.prototype, "userTemplateEcommerce", void 0);
54
54
  AuthInfo = __decorate([
55
55
  typeorm_1.Entity()
56
56
  ], AuthInfo);
@@ -1 +1 @@
1
- {"version":3,"file":"AuthInfo.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/AuthInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA8F;AAC9F,sEAA8C;AAC9C,gFAAwD;AAGxD,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,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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 TemplateChannel from './TemplateChannel';
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
- templateChannel: TemplateChannel[];
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 TemplateChannel_1 = __importDefault(require("./TemplateChannel"));
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(() => TemplateChannel_1.default, (templateChannel) => templateChannel.authMethod, {
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, "templateChannel", void 0);
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,wEAAgD;AAGhD,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,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAChE;QACE,OAAO,EAAE,IAAI;KACd,CACF;;mDACkC;AAjBhB,UAAU;IAD9B,gBAAM,EAAE;GACY,UAAU,CAkB9B;kBAlBoB,UAAU"}
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
+ }
@@ -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 UserTemplateChannel_1 = __importDefault(require("./UserTemplateChannel"));
18
- let EndpointTemplateChannel = class EndpointTemplateChannel extends AuditedModel_1.default {
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
- ], EndpointTemplateChannel.prototype, "id", void 0);
23
+ ], EndpointTemplateEcommerce.prototype, "id", void 0);
24
24
  __decorate([
25
25
  typeorm_1.DeleteDateColumn(),
26
26
  __metadata("design:type", Date)
27
- ], EndpointTemplateChannel.prototype, "deletedAt", void 0);
27
+ ], EndpointTemplateEcommerce.prototype, "deletedAt", void 0);
28
28
  __decorate([
29
29
  typeorm_1.Column('varchar', { nullable: false }),
30
30
  __metadata("design:type", String)
31
- ], EndpointTemplateChannel.prototype, "url", void 0);
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
- ], EndpointTemplateChannel.prototype, "connection", void 0);
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
- ], EndpointTemplateChannel.prototype, "response", void 0);
39
+ ], EndpointTemplateEcommerce.prototype, "response", void 0);
40
40
  __decorate([
41
- typeorm_1.ManyToOne(() => UserTemplateChannel_1.default, (userTemplateChannel) => userTemplateChannel.endpointTemplateChannel, { eager: true, onDelete: 'CASCADE' }),
41
+ typeorm_1.ManyToOne(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.endpointTemplateEcommerce, { eager: true, onDelete: 'CASCADE' }),
42
42
  typeorm_1.JoinColumn(),
43
- __metadata("design:type", UserTemplateChannel_1.default)
44
- ], EndpointTemplateChannel.prototype, "userTemplateChannel", void 0);
45
- EndpointTemplateChannel = __decorate([
43
+ __metadata("design:type", UserTemplateEcommerce_1.default)
44
+ ], EndpointTemplateEcommerce.prototype, "userTemplateEcommerce", void 0);
45
+ EndpointTemplateEcommerce = __decorate([
46
46
  typeorm_1.Entity()
47
- ], EndpointTemplateChannel);
48
- exports.default = EndpointTemplateChannel;
49
- //# sourceMappingURL=EndpointTemplateChannel.js.map
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,30 @@
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
+ public: boolean;
18
+ image: string;
19
+ authMethod: AuthMethod;
20
+ userTemplateEcommerce: UserTemplateEcommerce[];
21
+ reachuSchemeConfigProduct: ReachuSchemeConfigProduct;
22
+ templateEcommerceSchemeConfigProduct: TemplateEcommerceSchemeConfigProduct;
23
+ templateEcommerceSchemeConfigProductMapped: TemplateEcommerceSchemeConfigProductMapped;
24
+ reachuSchemeConfigVariant: ReachuSchemeConfigVariant;
25
+ templateEcommerceSchemeConfigVariant: TemplateEcommerceSchemeConfigVariant;
26
+ templateEcommerceSchemeConfigVariantMapped: TemplateEcommerceSchemeConfigVariantMapped;
27
+ reachuSchemeConfigOrder: ReachuSchemeConfigOrder;
28
+ templateEcommerceSchemeConfigOrder: TemplateEcommerceSchemeConfigOrder;
29
+ templateEcommerceSchemeConfigOrderMapped: TemplateEcommerceSchemeConfigOrderMapped;
30
+ }
@@ -0,0 +1,138 @@
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.Column({ type: 'boolean', default: false }),
44
+ __metadata("design:type", Boolean)
45
+ ], TemplateEcommerce.prototype, "public", void 0);
46
+ __decorate([
47
+ typeorm_1.Column('varchar', { nullable: false }),
48
+ __metadata("design:type", String)
49
+ ], TemplateEcommerce.prototype, "image", void 0);
50
+ __decorate([
51
+ typeorm_1.ManyToOne(() => AuthMethod_1.default, (authMethod) => authMethod.templateEcommerce, {
52
+ eager: true,
53
+ onDelete: 'CASCADE',
54
+ }),
55
+ typeorm_1.JoinColumn(),
56
+ __metadata("design:type", AuthMethod_1.default)
57
+ ], TemplateEcommerce.prototype, "authMethod", void 0);
58
+ __decorate([
59
+ typeorm_1.OneToMany(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.templateEcommerce, { cascade: true }),
60
+ __metadata("design:type", Array)
61
+ ], TemplateEcommerce.prototype, "userTemplateEcommerce", void 0);
62
+ __decorate([
63
+ typeorm_1.ManyToOne(() => ReachuSchemeConfigProduct_1.default, (reachuSchemeConfigProduct) => reachuSchemeConfigProduct.templateEcommerce, {
64
+ eager: true,
65
+ onDelete: 'CASCADE',
66
+ }),
67
+ typeorm_1.JoinColumn(),
68
+ __metadata("design:type", ReachuSchemeConfigProduct_1.default)
69
+ ], TemplateEcommerce.prototype, "reachuSchemeConfigProduct", void 0);
70
+ __decorate([
71
+ typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigProduct_1.default, (templateEcommerceSchemeConfigProduct) => templateEcommerceSchemeConfigProduct.templateEcommerce, {
72
+ eager: true,
73
+ onDelete: 'CASCADE',
74
+ }),
75
+ typeorm_1.JoinColumn(),
76
+ __metadata("design:type", TemplateEcommerceSchemeConfigProduct_1.default)
77
+ ], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigProduct", void 0);
78
+ __decorate([
79
+ typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigProductMapped_1.default, (templateEcommerceSchemeConfigProductMapped) => templateEcommerceSchemeConfigProductMapped.templateEcommerce, {
80
+ eager: true,
81
+ onDelete: 'CASCADE',
82
+ }),
83
+ typeorm_1.JoinColumn(),
84
+ __metadata("design:type", TemplateEcommerceSchemeConfigProductMapped_1.default)
85
+ ], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigProductMapped", void 0);
86
+ __decorate([
87
+ typeorm_1.ManyToOne(() => ReachuSchemeConfigVariant_1.default, (reachuSchemeConfigVariant) => reachuSchemeConfigVariant.templateEcommerce, {
88
+ eager: true,
89
+ onDelete: 'CASCADE',
90
+ }),
91
+ typeorm_1.JoinColumn(),
92
+ __metadata("design:type", ReachuSchemeConfigVariant_1.default)
93
+ ], TemplateEcommerce.prototype, "reachuSchemeConfigVariant", void 0);
94
+ __decorate([
95
+ typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigVariant_1.default, (templateEcommerceSchemeConfigVariant) => templateEcommerceSchemeConfigVariant.templateEcommerce, {
96
+ eager: true,
97
+ onDelete: 'CASCADE',
98
+ }),
99
+ typeorm_1.JoinColumn(),
100
+ __metadata("design:type", TemplateEcommerceSchemeConfigVariant_1.default)
101
+ ], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigVariant", void 0);
102
+ __decorate([
103
+ typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigVariantMapped_1.default, (templateEcommerceSchemeConfigVariantMapped) => templateEcommerceSchemeConfigVariantMapped.templateEcommerce, {
104
+ eager: true,
105
+ onDelete: 'CASCADE',
106
+ }),
107
+ typeorm_1.JoinColumn(),
108
+ __metadata("design:type", TemplateEcommerceSchemeConfigVariantMapped_1.default)
109
+ ], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigVariantMapped", void 0);
110
+ __decorate([
111
+ typeorm_1.ManyToOne(() => ReachuSchemeConfigOrder_1.default, (reachuSchemeConfigOrder) => reachuSchemeConfigOrder.templateEcommerce, {
112
+ eager: true,
113
+ onDelete: 'CASCADE',
114
+ }),
115
+ typeorm_1.JoinColumn(),
116
+ __metadata("design:type", ReachuSchemeConfigOrder_1.default)
117
+ ], TemplateEcommerce.prototype, "reachuSchemeConfigOrder", void 0);
118
+ __decorate([
119
+ typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigOrder_1.default, (templateEcommerceSchemeConfigOrder) => templateEcommerceSchemeConfigOrder.templateEcommerce, {
120
+ eager: true,
121
+ onDelete: 'CASCADE',
122
+ }),
123
+ typeorm_1.JoinColumn(),
124
+ __metadata("design:type", TemplateEcommerceSchemeConfigOrder_1.default)
125
+ ], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigOrder", void 0);
126
+ __decorate([
127
+ typeorm_1.ManyToOne(() => TemplateEcommerceSchemeConfigOrderMapped_1.default, (templateEcommerceSchemeConfigOrderMapped) => templateEcommerceSchemeConfigOrderMapped.templateEcommerce, {
128
+ eager: true,
129
+ onDelete: 'CASCADE',
130
+ }),
131
+ typeorm_1.JoinColumn(),
132
+ __metadata("design:type", TemplateEcommerceSchemeConfigOrderMapped_1.default)
133
+ ], TemplateEcommerce.prototype, "templateEcommerceSchemeConfigOrderMapped", void 0);
134
+ TemplateEcommerce = __decorate([
135
+ typeorm_1.Entity()
136
+ ], TemplateEcommerce);
137
+ exports.default = TemplateEcommerce;
138
+ //# 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;CAwI1D,CAAA;AAtIC;IADC,gCAAsB,EAAE;;6CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;oDAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+CAC1B;AAGb;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;iDAC5B;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACzB;AAOd;IALC,mBAAS,C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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 EndpointTemplateChannel_1 = __importDefault(require("./EndpointTemplateChannel"));
18
+ const EndpointTemplateEcommerce_1 = __importDefault(require("./EndpointTemplateEcommerce"));
19
19
  const AuthInfo_1 = __importDefault(require("./AuthInfo"));
20
- const TemplateChannel_1 = __importDefault(require("./TemplateChannel"));
21
- let UserTemplateChannel = class UserTemplateChannel extends AuditedModel_1.default {
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
- ], UserTemplateChannel.prototype, "id", void 0);
26
+ ], UserTemplateEcommerce.prototype, "id", void 0);
27
27
  __decorate([
28
28
  typeorm_1.DeleteDateColumn(),
29
29
  __metadata("design:type", Date)
30
- ], UserTemplateChannel.prototype, "deletedAt", void 0);
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
- ], UserTemplateChannel.prototype, "user", void 0);
35
+ ], UserTemplateEcommerce.prototype, "user", void 0);
36
36
  __decorate([
37
- typeorm_1.OneToMany(() => EndpointTemplateChannel_1.default, (endpointTemplateChannel) => endpointTemplateChannel.userTemplateChannel, { cascade: true }),
37
+ typeorm_1.OneToMany(() => EndpointTemplateEcommerce_1.default, (endpointTemplateEcommerce) => endpointTemplateEcommerce.userTemplateEcommerce, { cascade: true }),
38
38
  __metadata("design:type", Array)
39
- ], UserTemplateChannel.prototype, "endpointTemplateChannel", void 0);
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
- ], UserTemplateChannel.prototype, "authInfo", void 0);
44
+ ], UserTemplateEcommerce.prototype, "authInfo", void 0);
45
45
  __decorate([
46
- typeorm_1.ManyToOne(() => TemplateChannel_1.default, (templateChannel) => templateChannel.userTemplateChannel, {
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", TemplateChannel_1.default)
52
- ], UserTemplateChannel.prototype, "templateChannel", void 0);
53
- UserTemplateChannel = __decorate([
51
+ __metadata("design:type", TemplateEcommerce_1.default)
52
+ ], UserTemplateEcommerce.prototype, "templateEcommerce", void 0);
53
+ UserTemplateEcommerce = __decorate([
54
54
  typeorm_1.Entity()
55
- ], UserTemplateChannel);
56
- exports.default = UserTemplateChannel;
57
- //# sourceMappingURL=UserTemplateChannel.js.map
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 TemplateChannel from '../TemplateChannel';
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
- templateChannel: TemplateChannel[];
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 TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
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(() => TemplateChannel_1.default, (templateChannel) => templateChannel.reachuSchemeConfigOrder, {
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, "templateChannel", void 0);
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,yEAAiD;AAGjD,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,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,uBAAuB,EAC7E;QACE,OAAO,EAAE,IAAI;KACd,CACF;;gEACkC;AA3BhB,uBAAuB;IAD3C,gBAAM,EAAE;GACY,uBAAuB,CA4B3C;kBA5BoB,uBAAuB"}
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 TemplateChannel from '../TemplateChannel';
4
- export default class TemplateChannelSchemeConfigVariant extends AuditedModel {
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
- templateChannel: TemplateChannel[];
11
+ templateEcommerce: TemplateEcommerce[];
12
12
  }