@reachu/database 1.0.89 → 1.0.91

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 (30) hide show
  1. package/dist/entity/index.d.ts +2 -1
  2. package/dist/entity/index.js +3 -1
  3. package/dist/entity/index.js.map +1 -1
  4. package/dist/entity/modules/templates/UserTemplateEcommerce.d.ts +2 -0
  5. package/dist/entity/modules/templates/UserTemplateEcommerce.js +5 -0
  6. package/dist/entity/modules/templates/UserTemplateEcommerce.js.map +1 -1
  7. package/dist/entity/modules/templates/WebhookTemplateEcommerce.d.ts +14 -0
  8. package/dist/entity/modules/templates/WebhookTemplateEcommerce.js +65 -0
  9. package/dist/entity/modules/templates/WebhookTemplateEcommerce.js.map +1 -0
  10. package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.d.ts +6 -0
  11. package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.js +35 -0
  12. package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.js.map +1 -0
  13. package/dist/migrations/1688489173526-add-webhook-template.d.ts +6 -0
  14. package/dist/migrations/1688489173526-add-webhook-template.js +31 -0
  15. package/dist/migrations/1688489173526-add-webhook-template.js.map +1 -0
  16. package/dist/repositories/index.d.ts +2 -2
  17. package/dist/repositories/index.js +2 -1
  18. package/dist/repositories/index.js.map +1 -1
  19. package/dist/repositories/templates/index.d.ts +3 -0
  20. package/dist/repositories/templates/index.js +8 -1
  21. package/dist/repositories/templates/index.js.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +55 -10
  23. package/package.json +3 -3
  24. package/src/entity/index.ts +2 -0
  25. package/src/entity/modules/templates/UserTemplateEcommerce.ts +9 -0
  26. package/src/entity/modules/templates/WebhookTemplateEcommerce.ts +49 -0
  27. package/src/migrations/1687997223199-migration-pre-develop-api-key-channel.ts +20 -0
  28. package/src/migrations/1688489173526-add-webhook-template.ts +16 -0
  29. package/src/repositories/index.ts +2 -0
  30. package/src/repositories/templates/index.ts +4 -0
@@ -78,6 +78,7 @@ import AuthMethod from './modules/templates/AuthMethod';
78
78
  import EndpointTemplateEcommerce from './modules/templates/EndpointTemplateEcommerce';
79
79
  import TemplateEcommerce from './modules/templates/TemplateEcommerce';
80
80
  import UserTemplateEcommerce from './modules/templates/UserTemplateEcommerce';
81
+ import WebhookTemplateEcommerce from './modules/templates/WebhookTemplateEcommerce';
81
82
  import ReachuSchemeConfigOrder from './modules/templates/schemeOrder/ReachuSchemeConfigOrder';
82
83
  import TemplateEcommerceSchemeConfigOrder from './modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder';
83
84
  import TemplateEcommerceSchemeConfigOrderMapped from './modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped';
@@ -92,4 +93,4 @@ import Subscription from './modules/subscriptions/Subscription';
92
93
  import UserCountPlan from './modules/subscriptions/UserCountPlan';
93
94
  import Translate from './Translate';
94
95
  import Connection from './Connection';
95
- 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, ExternalRequest, 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, Plan, Subscription, UserCountPlan, EnvironmentConfiguration, Translate, Connection, };
96
+ 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, ExternalRequest, 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, WebhookTemplateEcommerce, TemplateEcommerce, UserTemplateEcommerce, TemplateEcommerceSchemeConfigOrder, TemplateEcommerceSchemeConfigOrderMapped, ReachuSchemeConfigOrder, TemplateEcommerceSchemeConfigProduct, TemplateEcommerceSchemeConfigProductMapped, ReachuSchemeConfigProduct, TemplateEcommerceSchemeConfigVariant, TemplateEcommerceSchemeConfigVariantMapped, ReachuSchemeConfigVariant, Plan, Subscription, UserCountPlan, EnvironmentConfiguration, Translate, Connection, };
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Role = exports.ReturnAddress = exports.Return = exports.ExternalRequest = 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.Connection = exports.Translate = exports.EnvironmentConfiguration = exports.UserCountPlan = exports.Subscription = exports.Plan = 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 = exports.RolePermission = void 0;
7
+ exports.Connection = exports.Translate = exports.EnvironmentConfiguration = exports.UserCountPlan = exports.Subscription = exports.Plan = exports.ReachuSchemeConfigVariant = exports.TemplateEcommerceSchemeConfigVariantMapped = exports.TemplateEcommerceSchemeConfigVariant = exports.ReachuSchemeConfigProduct = exports.TemplateEcommerceSchemeConfigProductMapped = exports.TemplateEcommerceSchemeConfigProduct = exports.ReachuSchemeConfigOrder = exports.TemplateEcommerceSchemeConfigOrderMapped = exports.TemplateEcommerceSchemeConfigOrder = exports.UserTemplateEcommerce = exports.TemplateEcommerce = exports.WebhookTemplateEcommerce = 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 = exports.RolePermission = 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"));
@@ -165,6 +165,8 @@ const TemplateEcommerce_1 = __importDefault(require("./modules/templates/Templat
165
165
  exports.TemplateEcommerce = TemplateEcommerce_1.default;
166
166
  const UserTemplateEcommerce_1 = __importDefault(require("./modules/templates/UserTemplateEcommerce"));
167
167
  exports.UserTemplateEcommerce = UserTemplateEcommerce_1.default;
168
+ const WebhookTemplateEcommerce_1 = __importDefault(require("./modules/templates/WebhookTemplateEcommerce"));
169
+ exports.WebhookTemplateEcommerce = WebhookTemplateEcommerce_1.default;
168
170
  const ReachuSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/ReachuSchemeConfigOrder"));
169
171
  exports.ReachuSchemeConfigOrder = ReachuSchemeConfigOrder_1.default;
170
172
  const TemplateEcommerceSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schem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C,wJAAgI;AAoG9H,mDApGK,kDAAwC,CAoGL;AAlG1C,4HAAoG;AAsGlG,oCAtGK,mCAAyB,CAsGL;AArG3B,kJAA0H;AAmGxH,+CAnGK,8CAAoC,CAmGL;AAlGtC,8JAAsI;AAmGpI,qDAnGK,oDAA0C,CAmGL;AAjG5C,4HAAoG;AAqGlG,oCArGK,mCAAyB,CAqGL;AApG3B,kJAA0H;AAkGxH,+CAlGK,8CAAoC,CAkGL;AAjGtC,8JAAsI;AAkGpI,qDAlGK,oDAA0C,CAkGL;AA/F5C,wEAAgD;AAiG9C,eAjGK,cAAI,CAiGL;AAhGN,wFAAgE;AAiG9D,uBAjGK,sBAAY,CAiGL;AAhGd,0FAAkE;AAiGhE,wBAjGK,uBAAa,CAiGL;AA/Ff,4DAAoC;AAiGlC,oBAjGK,mBAAS,CAiGL;AAhGX,8DAAsC;AAiGpC,qBAjGK,oBAAU,CAiGL"}
@@ -3,11 +3,13 @@ import AuditedModel from '../../AuditedModel';
3
3
  import EndpointTemplateEcommerce from './EndpointTemplateEcommerce';
4
4
  import AuthInfo from './AuthInfo';
5
5
  import TemplateEcommerce from './TemplateEcommerce';
6
+ import WebhookTemplateEcommerce from './WebhookTemplateEcommerce';
6
7
  export default class UserTemplateEcommerce extends AuditedModel {
7
8
  id: number;
8
9
  deletedAt: Date;
9
10
  user: User;
10
11
  endpointTemplateEcommerce: EndpointTemplateEcommerce[];
12
+ webhookTemplateEcommerce: WebhookTemplateEcommerce[];
11
13
  authInfo: AuthInfo;
12
14
  templateEcommerce: TemplateEcommerce;
13
15
  }
@@ -18,6 +18,7 @@ const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
18
18
  const EndpointTemplateEcommerce_1 = __importDefault(require("./EndpointTemplateEcommerce"));
19
19
  const AuthInfo_1 = __importDefault(require("./AuthInfo"));
20
20
  const TemplateEcommerce_1 = __importDefault(require("./TemplateEcommerce"));
21
+ const WebhookTemplateEcommerce_1 = __importDefault(require("./WebhookTemplateEcommerce"));
21
22
  let UserTemplateEcommerce = class UserTemplateEcommerce extends AuditedModel_1.default {
22
23
  };
23
24
  __decorate([
@@ -37,6 +38,10 @@ __decorate([
37
38
  typeorm_1.OneToMany(() => EndpointTemplateEcommerce_1.default, (endpointTemplateEcommerce) => endpointTemplateEcommerce.userTemplateEcommerce, { cascade: true }),
38
39
  __metadata("design:type", Array)
39
40
  ], UserTemplateEcommerce.prototype, "endpointTemplateEcommerce", void 0);
41
+ __decorate([
42
+ typeorm_1.OneToMany(() => WebhookTemplateEcommerce_1.default, (webhookTemplateEcommerce) => webhookTemplateEcommerce.userTemplateEcommerce, { cascade: true }),
43
+ __metadata("design:type", Array)
44
+ ], UserTemplateEcommerce.prototype, "webhookTemplateEcommerce", void 0);
40
45
  __decorate([
41
46
  typeorm_1.OneToOne(() => AuthInfo_1.default),
42
47
  typeorm_1.JoinColumn(),
@@ -1 +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;CAgC9D,CAAA;AA9BC;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,QAAQ,EAAE,SAAS,EAAE,CAAC;IACvE,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,CAAC;IACxB,oBAAU,EAAE;8BACH,kBAAQ;uDAAC;AAUnB;IARC,mBAAS,CACR,GAAG,EAAE,CAAC,2BAAiB,EACvB,CAAC,iBAAoC,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,EACjF;QACE,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACM,2BAAiB;gEAAC;AA/BlB,qBAAqB;IADzC,gBAAM,EAAE;GACY,qBAAqB,CAgCzC;kBAhCoB,qBAAqB"}
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;AACpD,0FAAkE;AAGlE,IAAqB,qBAAqB,GAA1C,MAAqB,qBAAsB,SAAQ,sBAAY;CAwC9D,CAAA;AAtCC;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,QAAQ,EAAE,SAAS,EAAE,CAAC;IACvE,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;AAQvD;IANC,mBAAS,CACR,GAAG,EAAE,CAAC,kCAAwB,EAC9B,CAAC,wBAAkD,EAAE,EAAE,CACrD,wBAAwB,CAAC,qBAAqB,EAChD,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;;uEACoD;AAIrD;IAFC,kBAAQ,CAAC,GAAG,EAAE,CAAC,kBAAQ,CAAC;IACxB,oBAAU,EAAE;8BACH,kBAAQ;uDAAC;AAUnB;IARC,mBAAS,CACR,GAAG,EAAE,CAAC,2BAAiB,EACvB,CAAC,iBAAoC,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,EACjF;QACE,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACM,2BAAiB;gEAAC;AAvClB,qBAAqB;IADzC,gBAAM,EAAE;GACY,qBAAqB,CAwCzC;kBAxCoB,qBAAqB"}
@@ -0,0 +1,14 @@
1
+ import AuditedModel from '../../AuditedModel';
2
+ import UserTemplateEcommerce from './UserTemplateEcommerce';
3
+ export default class WebhookTemplateEcommerce extends AuditedModel {
4
+ id: number;
5
+ deletedAt: Date;
6
+ url: string;
7
+ connection: boolean;
8
+ response: string;
9
+ type: string;
10
+ urlParams: string;
11
+ body: string;
12
+ title: string;
13
+ userTemplateEcommerce: UserTemplateEcommerce;
14
+ }
@@ -0,0 +1,65 @@
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
+ let WebhookTemplateEcommerce = class WebhookTemplateEcommerce extends AuditedModel_1.default {
19
+ };
20
+ __decorate([
21
+ typeorm_1.PrimaryGeneratedColumn(),
22
+ __metadata("design:type", Number)
23
+ ], WebhookTemplateEcommerce.prototype, "id", void 0);
24
+ __decorate([
25
+ typeorm_1.DeleteDateColumn(),
26
+ __metadata("design:type", Date)
27
+ ], WebhookTemplateEcommerce.prototype, "deletedAt", void 0);
28
+ __decorate([
29
+ typeorm_1.Column('varchar', { nullable: false }),
30
+ __metadata("design:type", String)
31
+ ], WebhookTemplateEcommerce.prototype, "url", void 0);
32
+ __decorate([
33
+ typeorm_1.Column({ type: 'boolean', default: false }),
34
+ __metadata("design:type", Boolean)
35
+ ], WebhookTemplateEcommerce.prototype, "connection", void 0);
36
+ __decorate([
37
+ typeorm_1.Column('varchar', { length: '21844', nullable: true }),
38
+ __metadata("design:type", String)
39
+ ], WebhookTemplateEcommerce.prototype, "response", void 0);
40
+ __decorate([
41
+ typeorm_1.Column('varchar', { nullable: true }),
42
+ __metadata("design:type", String)
43
+ ], WebhookTemplateEcommerce.prototype, "type", void 0);
44
+ __decorate([
45
+ typeorm_1.Column('varchar', { nullable: true }),
46
+ __metadata("design:type", String)
47
+ ], WebhookTemplateEcommerce.prototype, "urlParams", void 0);
48
+ __decorate([
49
+ typeorm_1.Column('varchar', { length: '21844', nullable: true }),
50
+ __metadata("design:type", String)
51
+ ], WebhookTemplateEcommerce.prototype, "body", void 0);
52
+ __decorate([
53
+ typeorm_1.Column('varchar', { nullable: false }),
54
+ __metadata("design:type", String)
55
+ ], WebhookTemplateEcommerce.prototype, "title", void 0);
56
+ __decorate([
57
+ typeorm_1.ManyToOne(() => UserTemplateEcommerce_1.default, (userTemplateEcommerce) => userTemplateEcommerce.webhookTemplateEcommerce, { onDelete: 'CASCADE' }),
58
+ typeorm_1.JoinColumn(),
59
+ __metadata("design:type", UserTemplateEcommerce_1.default)
60
+ ], WebhookTemplateEcommerce.prototype, "userTemplateEcommerce", void 0);
61
+ WebhookTemplateEcommerce = __decorate([
62
+ typeorm_1.Entity()
63
+ ], WebhookTemplateEcommerce);
64
+ exports.default = WebhookTemplateEcommerce;
65
+ //# sourceMappingURL=WebhookTemplateEcommerce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookTemplateEcommerce.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/WebhookTemplateEcommerce.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,sEAA8C;AAC9C,oFAA4D;AAG5D,IAAqB,wBAAwB,GAA7C,MAAqB,wBAAyB,SAAQ,sBAAY;CAoCjE,CAAA;AAlCC;IADC,gCAAsB,EAAE;;oDACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2DAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;qDAC3B;AAGZ;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;4DACxB;AAGpB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACtC;AAGjB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1C;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACzB;AASd;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,+BAAqB,EAC3B,CAAC,qBAA4C,EAAE,EAAE,CAC/C,qBAAqB,CAAC,wBAAwB,EAChD,EAAE,QAAQ,EAAE,SAAS,EAAE,CACxB;IACA,oBAAU,EAAE;8BACU,+BAAqB;uEAAC;AAnC1B,wBAAwB;IAD5C,gBAAM,EAAE;GACY,wBAAwB,CAoC5C;kBApCoB,wBAAwB"}
@@ -0,0 +1,6 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class migrationPreDevelopApiKeyChannel1687997223199 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.migrationPreDevelopApiKeyChannel1687997223199 = void 0;
13
+ class migrationPreDevelopApiKeyChannel1687997223199 {
14
+ constructor() {
15
+ this.name = 'migrationPreDevelopApiKeyChannel1687997223199';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` DROP FOREIGN KEY \`FK_adc2206f21efb67f9f6425a4ce8\``);
20
+ yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` DROP COLUMN \`channel_user_id\``);
21
+ yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`user_channel_api_key_id\` int NULL`);
22
+ yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD CONSTRAINT \`FK_83f345b5912388def4fa4253040\` FOREIGN KEY (\`user_channel_api_key_id\`) REFERENCES \`user_channel_api_key\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
23
+ });
24
+ }
25
+ down(queryRunner) {
26
+ return __awaiter(this, void 0, void 0, function* () {
27
+ yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP FOREIGN KEY \`FK_83f345b5912388def4fa4253040\``);
28
+ yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`user_channel_api_key_id\``);
29
+ yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` ADD \`channel_user_id\` int NULL`);
30
+ yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` ADD CONSTRAINT \`FK_adc2206f21efb67f9f6425a4ce8\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`channel_user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
31
+ });
32
+ }
33
+ }
34
+ exports.migrationPreDevelopApiKeyChannel1687997223199 = migrationPreDevelopApiKeyChannel1687997223199;
35
+ //# sourceMappingURL=1687997223199-migration-pre-develop-api-key-channel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1687997223199-migration-pre-develop-api-key-channel.js","sourceRoot":"","sources":["../../src/migrations/1687997223199-migration-pre-develop-api-key-channel.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,6CAA6C;IAA1D;QACI,SAAI,GAAG,+CAA+C,CAAA;IAgB1D,CAAC;IAdgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,0FAA0F,CAAC,CAAC;YACpH,MAAM,WAAW,CAAC,KAAK,CAAC,sEAAsE,CAAC,CAAC;YAChG,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAC;YACjG,MAAM,WAAW,CAAC,KAAK,CAAC,8MAA8M,CAAC,CAAC;QAC5O,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,kFAAkF,CAAC,CAAC;YAC5G,MAAM,WAAW,CAAC,KAAK,CAAC,sEAAsE,CAAC,CAAC;YAChG,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAC;YACjG,MAAM,WAAW,CAAC,KAAK,CAAC,sMAAsM,CAAC,CAAC;QACpO,CAAC;KAAA;CAEJ;AAjBD,sGAiBC"}
@@ -0,0 +1,6 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class addWebhookTemplate1688489173526 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.addWebhookTemplate1688489173526 = void 0;
13
+ class addWebhookTemplate1688489173526 {
14
+ constructor() {
15
+ this.name = 'addWebhookTemplate1688489173526';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`CREATE TABLE \`webhook_template_ecommerce\` (\`created_at\` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), \`updated_at\` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6), \`id\` int NOT NULL AUTO_INCREMENT, \`deleted_at\` datetime(6) NULL, \`url\` varchar(255) NOT NULL, \`connection\` tinyint NOT NULL DEFAULT 0, \`response\` varchar(21844) NULL, \`type\` varchar(255) NULL, \`url_params\` varchar(255) NULL, \`body\` varchar(21844) NULL, \`title\` varchar(255) NOT NULL, \`user_template_ecommerce_id\` int NULL, PRIMARY KEY (\`id\`)) ENGINE=InnoDB`);
20
+ yield queryRunner.query(`ALTER TABLE \`webhook_template_ecommerce\` ADD CONSTRAINT \`FK_b05fbf9109c855ceedd94df1b09\` FOREIGN KEY (\`user_template_ecommerce_id\`) REFERENCES \`user_template_ecommerce\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
21
+ });
22
+ }
23
+ down(queryRunner) {
24
+ return __awaiter(this, void 0, void 0, function* () {
25
+ yield queryRunner.query(`ALTER TABLE \`webhook_template_ecommerce\` DROP FOREIGN KEY \`FK_b05fbf9109c855ceedd94df1b09\``);
26
+ yield queryRunner.query(`DROP TABLE \`webhook_template_ecommerce\``);
27
+ });
28
+ }
29
+ }
30
+ exports.addWebhookTemplate1688489173526 = addWebhookTemplate1688489173526;
31
+ //# sourceMappingURL=1688489173526-add-webhook-template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1688489173526-add-webhook-template.js","sourceRoot":"","sources":["../../src/migrations/1688489173526-add-webhook-template.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,+BAA+B;IAA5C;QACI,SAAI,GAAG,iCAAiC,CAAA;IAY5C,CAAC;IAVgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,4kBAA4kB,CAAC,CAAC;YACtmB,MAAM,WAAW,CAAC,KAAK,CAAC,gOAAgO,CAAC,CAAC;QAC9P,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,gGAAgG,CAAC,CAAC;YAC1H,MAAM,WAAW,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAC;QACzE,CAAC;KAAA;CAEJ;AAbD,0EAaC"}
@@ -58,7 +58,7 @@ import Translate from '../entity/Translate';
58
58
  import Connection from '../entity/Connection';
59
59
  import { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository } from './shopcart';
60
60
  import { ProductShippingRepository, ShippingCountryRepository, ShippingRepository } from './shipping';
61
- import { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository } from './templates';
61
+ import { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository } from './templates';
62
62
  import { PlanRepository, SubscriptionRepository, UserCountPlanRepository } from './subscriptions';
63
63
  import { Repository } from 'typeorm';
64
64
  export declare class CategoryImagesRepository extends Repository<CategoryImages> {
@@ -178,6 +178,6 @@ export declare class TranslateRepository extends Repository<Translate> {
178
178
  export declare class ConnectionRepository extends Repository<Connection> {
179
179
  }
180
180
  export { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository, };
181
- export { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository, };
181
+ export { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository, };
182
182
  export { ProductShippingRepository, ShippingCountryRepository, ShippingRepository };
183
183
  export { PlanRepository, SubscriptionRepository, UserCountPlanRepository };
@@ -10,7 +10,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ChannelGroupRepository = exports.CollectionSharedRepository = exports.CollectionItemRepository = exports.CollectionRepository = exports.PaymentMethodRepository = exports.UserSettingsRepository = exports.UserTokenWoltRepository = exports.WooConnectionRepository = exports.WalletRepository = exports.VariantRepository = exports.UserRoleRepository = exports.UserRepository = exports.SubcategoryRepository = exports.ShopifyConnectionRepository = exports.ShippingPackageRepository = exports.RolePermissionRepository = exports.RoleRepository = exports.ExternalRequestRepository = exports.RequestRepository = exports.ProductRepository = exports.PermissionRepository = exports.PaymentShopifyRepository = exports.PaymentRepository = exports.OrderTrackingRepository = exports.OrderShippingRepository = exports.OrderItemRepository = exports.OrderRepository = exports.OptionRepository = exports.NotificationRepository = exports.MetricActiveUserRepository = exports.MagentoConnectionRepository = exports.ImportedProductRepository = exports.ImageRepository = exports.FlatRateCountryRepository = exports.FlatRateRepository = exports.CourierRepository = exports.CountryRepository = exports.CheckoutMetadataRepository = exports.ChannelRepository = exports.CategoryRepository = exports.CardRegistrationRepository = exports.BusinessRepository = exports.BankAccountRepository = exports.ApiCredentialRepository = exports.CustomProductImageRepository = exports.CustomProductRepository = exports.CustomVariantRepository = exports.AttributeRepository = exports.ProductAttributeRepository = exports.CategoryImagesRepository = void 0;
13
- exports.UserCountPlanRepository = exports.SubscriptionRepository = exports.PlanRepository = exports.ShippingRepository = exports.ShippingCountryRepository = exports.ProductShippingRepository = exports.UserTemplateEcommerceRepository = exports.TemplateEcommerceSchemeConfigVariantRepository = exports.TemplateEcommerceSchemeConfigVariantMappedRepository = exports.TemplateEcommerceSchemeConfigProductRepository = exports.TemplateEcommerceSchemeConfigProductMappedRepository = exports.TemplateEcommerceSchemeConfigOrderRepository = exports.TemplateEcommerceSchemeConfigOrderMappedRepository = exports.TemplateEcommerceRepository = exports.ReachuSchemeConfigVariantRepository = exports.ReachuSchemeConfigProductRepository = exports.ReachuSchemeConfigOrderRepository = exports.EndpointTemplateEcommerceRepository = exports.AuthMethodRepository = exports.AuthInfoRepository = exports.PriceDataRepository = exports.CheckoutShippingAddressRepository = exports.CheckoutRepository = exports.CheckoutBillingAddressRepository = exports.CartRepository = exports.CartItemRepository = exports.ConnectionRepository = exports.TranslateRepository = exports.EnvironmentConfigurationRepository = exports.ExchangeRateRepository = exports.CurrencyRepository = exports.UserChannelApiKeyRepository = exports.ChannelUserProductSyncRepository = exports.ChannelUserRepository = void 0;
13
+ exports.UserCountPlanRepository = exports.SubscriptionRepository = exports.PlanRepository = exports.ShippingRepository = exports.ShippingCountryRepository = exports.ProductShippingRepository = exports.UserTemplateEcommerceRepository = exports.TemplateEcommerceSchemeConfigVariantRepository = exports.TemplateEcommerceSchemeConfigVariantMappedRepository = exports.TemplateEcommerceSchemeConfigProductRepository = exports.TemplateEcommerceSchemeConfigProductMappedRepository = exports.TemplateEcommerceSchemeConfigOrderRepository = exports.TemplateEcommerceSchemeConfigOrderMappedRepository = exports.TemplateEcommerceRepository = exports.ReachuSchemeConfigVariantRepository = exports.ReachuSchemeConfigProductRepository = exports.ReachuSchemeConfigOrderRepository = exports.WebhookTemplateEcommerceRepository = exports.EndpointTemplateEcommerceRepository = exports.AuthMethodRepository = exports.AuthInfoRepository = exports.PriceDataRepository = exports.CheckoutShippingAddressRepository = exports.CheckoutRepository = exports.CheckoutBillingAddressRepository = exports.CartRepository = exports.CartItemRepository = exports.ConnectionRepository = exports.TranslateRepository = exports.EnvironmentConfigurationRepository = exports.ExchangeRateRepository = exports.CurrencyRepository = exports.UserChannelApiKeyRepository = exports.ChannelUserProductSyncRepository = exports.ChannelUserRepository = void 0;
14
14
  const ApiCredential_1 = __importDefault(require("../entity/ApiCredential"));
15
15
  const BankAccount_1 = __importDefault(require("../entity/BankAccount"));
16
16
  const Business_1 = __importDefault(require("../entity/Business"));
@@ -84,6 +84,7 @@ const templates_1 = require("./templates");
84
84
  Object.defineProperty(exports, "AuthInfoRepository", { enumerable: true, get: function () { return templates_1.AuthInfoRepository; } });
85
85
  Object.defineProperty(exports, "AuthMethodRepository", { enumerable: true, get: function () { return templates_1.AuthMethodRepository; } });
86
86
  Object.defineProperty(exports, "EndpointTemplateEcommerceRepository", { enumerable: true, get: function () { return templates_1.EndpointTemplateEcommerceRepository; } });
87
+ Object.defineProperty(exports, "WebhookTemplateEcommerceRepository", { enumerable: true, get: function () { return templates_1.WebhookTemplateEcommerceRepository; } });
87
88
  Object.defineProperty(exports, "ReachuSchemeConfigOrderRepository", { enumerable: true, get: function () { return templates_1.ReachuSchemeConfigOrderRepository; } });
88
89
  Object.defineProperty(exports, "ReachuSchemeConfigProductRepository", { enumerable: true, get: function () { return templates_1.ReachuSchemeConfigProductRepository; } });
89
90
  Object.defineProperty(exports, "ReachuSchemeConfigVariantRepository", { enumerable: true, get: function () { return templates_1.ReachuSchemeConfigVariantRepository; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4EAAoD;AACpD,wEAAgD;AAChD,kEAA0C;AAC1C,kFAA0D;AAC1D,kEAA0C;AAC1C,gEAAwC;AACxC,kFAA0D;AAC1D,gEAAwC;AACxC,gEAAwC;AACxC,kEAA0C;AAC1C,gFAAwD;AACxD,4DAAoC;AACpC,gFAAwD;AACxD,iFAAuE;AACvE,kFAA0D;AAC1D,0EAAkD;AAClD,8DAAsC;AACtC,4DAAoC;AACpC,oEAA4C;AAC5C,4EAAoD;AACpD,4EAAoD;AACpD,gEAAwC;AACxC,8EAAsD;AACtD,sEAA8C;AAC9C,6DAAmD;AACnD,gEAAwC;AACxC,gFAAwD;AACxD,0DAAkC;AAClC,8EAAsD;AACtD,gFAAwD;AACxD,oFAA4D;AAC5D,wEAAgD;AAChD,0DAAkC;AAClC,kEAA0C;AAC1C,gEAAwC;AACxC,8DAAsC;AACtC,4EAAoD;AACpD,4EAAoD;AACpD,0EAAkD;AAClD,4EAAoD;AACpD,sEAA8C;AAC9C,8EAAsD;AACtD,kFAA0D;AAC1D,0EAAkD;AAClD,wEAAgD;AAChD,8FAAsE;AACtE,oFAA4D;AAC5D,kEAA0C;AAC1C,0EAAkD;AAElD,4EAAoD;AACpD,2DAAwD;AACxD,sFAA8D;AAE9D,oEAA4C;AAC5C,kFAA0D;AAC1D,8EAAsD;AAEtD,kGAA0E;AAE1E,oEAA4C;AAC5C,sEAA8C;AAE9C,yCAOoB;AA4MlB,mGAlNA,6BAAkB,OAkNA;AAClB,+FAlNA,yBAAc,OAk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CAAC;GAChB,oBAAoB,CAAkC;AAAtD,oDAAoB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4EAAoD;AACpD,wEAAgD;AAChD,kEAA0C;AAC1C,kFAA0D;AAC1D,kEAA0C;AAC1C,gEAAwC;AACxC,kFAA0D;AAC1D,gEAAwC;AACxC,gEAAwC;AACxC,kEAA0C;AAC1C,gFAAwD;AACxD,4DAAoC;AACpC,gFAAwD;AACxD,iFAAuE;AACvE,kFAA0D;AAC1D,0EAAkD;AAClD,8DAAsC;AACtC,4DAAoC;AACpC,oEAA4C;AAC5C,4EAAoD;AACpD,4EAAoD;AACpD,gEAAwC;AACxC,8EAAsD;AACtD,sEAA8C;AAC9C,6DAAmD;AACnD,gEAAwC;AACxC,gFAAwD;AACxD,0DAAkC;AAClC,8EAAsD;AACtD,gFAAwD;AACxD,oFAA4D;AAC5D,wEAAgD;AAChD,0DAAkC;AAClC,kEAA0C;AAC1C,gEAAwC;AACxC,8DAAsC;AACtC,4EAAoD;AACpD,4EAAoD;AACpD,0EAAkD;AAClD,4EAAoD;AACpD,sEAA8C;AAC9C,8EAAsD;AACtD,kFAA0D;AAC1D,0EAAkD;AAClD,wEAAgD;AAChD,8FAAsE;AACtE,oFAA4D;AAC5D,kEAA0C;AAC1C,0EAAkD;AAElD,4EAAoD;AACpD,2DAAwD;AACxD,sFAA8D;AAE9D,oEAA4C;AAC5C,kFAA0D;AAC1D,8EAAsD;AAEtD,kGAA0E;AAE1E,oEAA4C;AAC5C,sEAA8C;AAE9C,yCAOoB;AA6MlB,mGAnNA,6BAAkB,OAmNA;AAClB,+FAnNA,yBAAc,OAmNA;AACd,iHAnNA,2CAAgC,OAmNA;AAChC,mGAnNA,6BAAkB,OAmNA;AAClB,kHAnNA,4CAAiC,OAmNA;AACjC,oGAnNA,8BAAmB,OAmNA;AAhNrB,yCAIoB;AAiOX,0GApOP,oCAAyB,OAoOO;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pointTemplateEcommerce';
5
5
  import TemplateEcommerce from '../../entity/modules/templates/TemplateEcommerce';
6
6
  import UserTemplateEcommerce from '../../entity/modules/templates/UserTemplateEcommerce';
7
+ import WebhookTemplateEcommerce from '../../entity/modules/templates/WebhookTemplateEcommerce';
7
8
  import ReachuSchemeConfigOrder from '../../entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder';
8
9
  import TemplateEcommerceSchemeConfigOrder from '../../entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder';
9
10
  import TemplateEcommerceSchemeConfigOrderMapped from '../../entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped';
@@ -41,3 +42,5 @@ export declare class TemplateEcommerceSchemeConfigVariantRepository extends Repo
41
42
  }
42
43
  export declare class TemplateEcommerceSchemeConfigVariantMappedRepository extends Repository<TemplateEcommerceSchemeConfigVariantMapped> {
43
44
  }
45
+ export declare class WebhookTemplateEcommerceRepository extends Repository<WebhookTemplateEcommerce> {
46
+ }
@@ -9,13 +9,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  return (mod && mod.__esModule) ? mod : { "default": mod };
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.TemplateEcommerceSchemeConfigVariantMappedRepository = exports.TemplateEcommerceSchemeConfigVariantRepository = exports.ReachuSchemeConfigVariantRepository = exports.TemplateEcommerceSchemeConfigProductMappedRepository = exports.TemplateEcommerceSchemeConfigProductRepository = exports.ReachuSchemeConfigProductRepository = exports.TemplateEcommerceSchemeConfigOrderMappedRepository = exports.TemplateEcommerceSchemeConfigOrderRepository = exports.ReachuSchemeConfigOrderRepository = exports.UserTemplateEcommerceRepository = exports.TemplateEcommerceRepository = exports.EndpointTemplateEcommerceRepository = exports.AuthMethodRepository = exports.AuthInfoRepository = void 0;
12
+ exports.WebhookTemplateEcommerceRepository = exports.TemplateEcommerceSchemeConfigVariantMappedRepository = exports.TemplateEcommerceSchemeConfigVariantRepository = exports.ReachuSchemeConfigVariantRepository = exports.TemplateEcommerceSchemeConfigProductMappedRepository = exports.TemplateEcommerceSchemeConfigProductRepository = exports.ReachuSchemeConfigProductRepository = exports.TemplateEcommerceSchemeConfigOrderMappedRepository = exports.TemplateEcommerceSchemeConfigOrderRepository = exports.ReachuSchemeConfigOrderRepository = exports.UserTemplateEcommerceRepository = exports.TemplateEcommerceRepository = exports.EndpointTemplateEcommerceRepository = exports.AuthMethodRepository = exports.AuthInfoRepository = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const AuthInfo_1 = __importDefault(require("../../entity/modules//templates/AuthInfo"));
15
15
  const AuthMethod_1 = __importDefault(require("../../entity/modules/templates/AuthMethod"));
16
16
  const EndpointTemplateEcommerce_1 = __importDefault(require("../../entity/modules/templates/EndpointTemplateEcommerce"));
17
17
  const TemplateEcommerce_1 = __importDefault(require("../../entity/modules/templates/TemplateEcommerce"));
18
18
  const UserTemplateEcommerce_1 = __importDefault(require("../../entity/modules/templates/UserTemplateEcommerce"));
19
+ const WebhookTemplateEcommerce_1 = __importDefault(require("../../entity/modules/templates/WebhookTemplateEcommerce"));
19
20
  const ReachuSchemeConfigOrder_1 = __importDefault(require("../../entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder"));
20
21
  const TemplateEcommerceSchemeConfigOrder_1 = __importDefault(require("../../entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder"));
21
22
  const TemplateEcommerceSchemeConfigOrderMapped_1 = __importDefault(require("../../entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped"));
@@ -109,4 +110,10 @@ TemplateEcommerceSchemeConfigVariantMappedRepository = __decorate([
109
110
  typeorm_1.EntityRepository(TemplateEcommerceSchemeConfigVariantMapped_1.default)
110
111
  ], TemplateEcommerceSchemeConfigVariantMappedRepository);
111
112
  exports.TemplateEcommerceSchemeConfigVariantMappedRepository = TemplateEcommerceSchemeConfigVariantMappedRepository;
113
+ let WebhookTemplateEcommerceRepository = class WebhookTemplateEcommerceRepository extends typeorm_1.Repository {
114
+ };
115
+ WebhookTemplateEcommerceRepository = __decorate([
116
+ typeorm_1.EntityRepository(WebhookTemplateEcommerce_1.default)
117
+ ], WebhookTemplateEcommerceRepository);
118
+ exports.WebhookTemplateEcommerceRepository = WebhookTemplateEcommerceRepository;
112
119
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/repositories/templates/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuD;AACvD,wFAAgE;AAChE,2FAAmE;AACnE,yHAAiG;AACjG,yGAAiF;AACjF,iHAAyF;AAEzF,iIAAyG;AACzG,uJAA+H;AAC/H,mKAA2I;AAE3I,uIAA+G;AAC/G,6JAAqI;AACrI,yKAAiJ;AAEjJ,uIAA+G;AAC/G,6JAAqI;AACrI,yKAAiJ;AAGjJ,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,oBAAoB;CAAG,CAAA;AAAlD,kBAAkB;IAD9B,0BAAgB,CAAC,kBAAQ,CAAC;GACd,kBAAkB,CAAgC;AAAlD,gDAAkB;AAG/B,IAAa,oBAAoB,GAAjC,MAAa,oBAAqB,SAAQ,oBAAsB;CAAG,CAAA;AAAtD,oBAAoB;IADhC,0BAAgB,CAAC,oBAAU,CAAC;GAChB,oBAAoB,CAAkC;AAAtD,oDAAoB;AAGjC,IAAa,mCAAmC,GAAhD,MAAa,mCAAoC,SAAQ,oBAAqC;CAAG,CAAA;AAApF,mCAAmC;IAD/C,0BAAgB,CAAC,mCAAyB,CAAC;GAC/B,mCAAmC,CAAiD;AAApF,kFAAmC;AAGhD,IAAa,2BAA2B,GAAxC,MAAa,2BAA4B,SAAQ,oBAA6B;CAAG,CAAA;AAApE,2BAA2B;IADvC,0BAAgB,CAAC,2BAAiB,CAAC;GACvB,2BAA2B,CAAyC;AAApE,kEAA2B;AAGxC,IAAa,+BAA+B,GAA5C,MAAa,+BAAgC,SAAQ,oBAAiC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;AAApF,mCAAmC;IAD/C,0BAAgB,CAAC,mCAAyB,CAAC;GAC/B,mCAAmC,CAAiD;AAApF,kFAAmC;AAGhD,IAAa,8CAA8C,GAA3D,MAAa,8CAA+C,SAAQ,oBAAgD;CAAG,CAAA;AAA1G,8CAA8C;IAD1D,0BAAgB,CAAC,8CAAoC,CAAC;GAC1C,8CAA8C,CAA4D;AAA1G,wGAA8C;AAG3D,IAAa,oDAAoD,GAAjE,MAAa,oDAAqD,SAAQ,oBAAsD;CAAG,CAAA;AAAtH,oDAAoD;IADhE,0BAAgB,CAAC,oDAA0C,CAAC;GAChD,oDAAoD,CAAkE;AAAtH,oHAAoD;AAGjE,IAAa,kCAAkC,GAA/C,MAAa,kCAAmC,SAAQ,oBAAoC;CAAG,CAAA;AAAlF,kCAAkC;IAD9C,0BAAgB,CAAC,kCAAwB,CAAC;GAC9B,kCAAkC,CAAgD;AAAlF,gFAAkC"}
@@ -2706,9 +2706,14 @@
2706
2706
  "signature": "6a67837b865232d7582f049e46601a26c9467784ecce29739c01974128831377",
2707
2707
  "affectsGlobalScope": false
2708
2708
  },
2709
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts": {
2710
+ "version": "8b7d8bb064a0c60c40f40ba45fafa91da2417ac737faf224683abca734e3437c",
2711
+ "signature": "394905d06c8dd7fc867a560f0596ba131a1f97134a207479eca8a1e0f50fa2d1",
2712
+ "affectsGlobalScope": false
2713
+ },
2709
2714
  "../src/entity/modules/templates/usertemplateecommerce.ts": {
2710
- "version": "cc461ff321f8867c46b186a215f7408ef2426da7143cec41117235f49f155415",
2711
- "signature": "73db4688729aa8d3958e9477e696b53d2c60619c05bc9c8fe1ada36d5f82ad75",
2715
+ "version": "d479eadbdfd24c57aefba03ba60dfd3cdeb757350f32a919407668f98f62c9f6",
2716
+ "signature": "ed9db0182e69d861ed780a1352d2c2fee542b17785db65ee23dcdba949444a2d",
2712
2717
  "affectsGlobalScope": false
2713
2718
  },
2714
2719
  "../src/entity/modules/templates/authinfo.ts": {
@@ -2727,8 +2732,8 @@
2727
2732
  "affectsGlobalScope": false
2728
2733
  },
2729
2734
  "../src/entity/index.ts": {
2730
- "version": "13db4c3c473bc04dc93aa8ddb9a44ac983acadd0ed2141ceeb05f948d9532bb9",
2731
- "signature": "43bdb84697e363efcb00f448586063b8f6df5085542b5678470d8d00256ad628",
2735
+ "version": "d18e3d146fee1cf3ec35948463c64f6e5df9de479b19f95b225a71bbe73f5771",
2736
+ "signature": "a5bad58a4a97dcb70db89f2f1cfa4f6af93fd28e2e952fc9ef3275e7f0097827",
2732
2737
  "affectsGlobalScope": false
2733
2738
  },
2734
2739
  "../src/staticdata/productorigin.ts": {
@@ -2797,8 +2802,8 @@
2797
2802
  "affectsGlobalScope": false
2798
2803
  },
2799
2804
  "../src/repositories/templates/index.ts": {
2800
- "version": "2071156e68d64fec135d20c802a4304d7c9c23345577a0e88226d48553985161",
2801
- "signature": "fd822c40807b9622276013800239377094976c7abc6dd30837569da3097afee7",
2805
+ "version": "d758f006b9295ae17c5cb546aef90dee3f9a3f278e4e7dc8db8fef37b1382082",
2806
+ "signature": "6ac131ac4c0f68f7633bd98018a4da95244aeebd16304d7b2f3a90b5a1758b51",
2802
2807
  "affectsGlobalScope": false
2803
2808
  },
2804
2809
  "../src/repositories/subscriptions/index.ts": {
@@ -2807,8 +2812,8 @@
2807
2812
  "affectsGlobalScope": false
2808
2813
  },
2809
2814
  "../src/repositories/index.ts": {
2810
- "version": "e419a0cb55903a8f5a33feab8fa38c42c67e1b7bd10b6de7bd80082d5a435b9a",
2811
- "signature": "0cdbfe54d0ce92621786b9d23d144c29539e982a931daaa09c52e59cf1cb9556",
2815
+ "version": "08156ccf413c57517172f41086e6cf69d9eaf6a3ca30e7922589babe95b6f419",
2816
+ "signature": "31b4d779028a1f9f22dc052b4db468fd2f6726afdd3aae21db34797629655053",
2812
2817
  "affectsGlobalScope": false
2813
2818
  },
2814
2819
  "../src/subscribers/productsubscriber.ts": {
@@ -3341,11 +3346,21 @@
3341
3346
  "signature": "baa58422d01771e5b5edeeee96b69158016ba96be10abd66c1c6ed5617d25233",
3342
3347
  "affectsGlobalScope": false
3343
3348
  },
3349
+ "../src/migrations/1687997223199-migration-pre-develop-api-key-channel.ts": {
3350
+ "version": "caeed7baff55fdd193f807dc880c1696cae19d3332fed5831430e1b6d58a9de3",
3351
+ "signature": "7afc2151cbbaecae0e9690e1b90a00b9210ecce9b48dd187849ce68b8ed13673",
3352
+ "affectsGlobalScope": false
3353
+ },
3344
3354
  "../src/migrations/1688049065964-add-title-endpoint.ts": {
3345
3355
  "version": "59d47d888ab3c181b0cba9019fcb67081c68baf9a8624e765adb29a9990ca966",
3346
3356
  "signature": "06e95c632f07baf87755f449183c9093b760c51393e0114aea440e0d929c2823",
3347
3357
  "affectsGlobalScope": false
3348
3358
  },
3359
+ "../src/migrations/1688489173526-add-webhook-template.ts": {
3360
+ "version": "da51d4fdb2b4c4fd2b8162497d1cddfe4709c811bbc5d073236d3c63bfc15fb2",
3361
+ "signature": "8cd3f783cc6a2fd4f9fe1ae4da675196568d5f2a62545c4c91e12103646af565",
3362
+ "affectsGlobalScope": false
3363
+ },
3349
3364
  "../src/migrations/execute/index.ts": {
3350
3365
  "version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
3351
3366
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -5528,6 +5543,7 @@
5528
5543
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariantmapped.ts",
5529
5544
  "../src/entity/modules/templates/templateecommerce.ts",
5530
5545
  "../src/entity/modules/templates/usertemplateecommerce.ts",
5546
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts",
5531
5547
  "../src/entity/notification.ts",
5532
5548
  "../src/entity/option.ts",
5533
5549
  "../src/entity/order.ts",
@@ -5729,8 +5745,14 @@
5729
5745
  "../src/entity/modules/templates/authinfo.ts",
5730
5746
  "../src/entity/modules/templates/endpointtemplateecommerce.ts",
5731
5747
  "../src/entity/modules/templates/templateecommerce.ts",
5748
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts",
5732
5749
  "../src/entity/user.ts"
5733
5750
  ],
5751
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts": [
5752
+ "../node_modules/typeorm/index.d.ts",
5753
+ "../src/entity/auditedmodel.ts",
5754
+ "../src/entity/modules/templates/usertemplateecommerce.ts"
5755
+ ],
5734
5756
  "../src/entity/notification.ts": [
5735
5757
  "../node_modules/typeorm/index.d.ts",
5736
5758
  "../src/entity/auditedmodel.ts",
@@ -6219,9 +6241,15 @@
6219
6241
  "../src/migrations/1687993176652-add-info-to-auth-2.ts": [
6220
6242
  "../node_modules/typeorm/index.d.ts"
6221
6243
  ],
6244
+ "../src/migrations/1687997223199-migration-pre-develop-api-key-channel.ts": [
6245
+ "../node_modules/typeorm/index.d.ts"
6246
+ ],
6222
6247
  "../src/migrations/1688049065964-add-title-endpoint.ts": [
6223
6248
  "../node_modules/typeorm/index.d.ts"
6224
6249
  ],
6250
+ "../src/migrations/1688489173526-add-webhook-template.ts": [
6251
+ "../node_modules/typeorm/index.d.ts"
6252
+ ],
6225
6253
  "../src/migrations/execute/index.ts": [
6226
6254
  "../src/config/connect.ts"
6227
6255
  ],
@@ -6338,7 +6366,8 @@
6338
6366
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariant.ts",
6339
6367
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariantmapped.ts",
6340
6368
  "../src/entity/modules/templates/templateecommerce.ts",
6341
- "../src/entity/modules/templates/usertemplateecommerce.ts"
6369
+ "../src/entity/modules/templates/usertemplateecommerce.ts",
6370
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts"
6342
6371
  ],
6343
6372
  "../src/staticdata/index.ts": [
6344
6373
  "../src/staticdata/channelname.ts",
@@ -8351,6 +8380,7 @@
8351
8380
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariantmapped.ts",
8352
8381
  "../src/entity/modules/templates/templateecommerce.ts",
8353
8382
  "../src/entity/modules/templates/usertemplateecommerce.ts",
8383
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts",
8354
8384
  "../src/entity/notification.ts",
8355
8385
  "../src/entity/option.ts",
8356
8386
  "../src/entity/order.ts",
@@ -8521,8 +8551,13 @@
8521
8551
  "../src/entity/modules/templates/authinfo.ts",
8522
8552
  "../src/entity/modules/templates/endpointtemplateecommerce.ts",
8523
8553
  "../src/entity/modules/templates/templateecommerce.ts",
8554
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts",
8524
8555
  "../src/entity/user.ts"
8525
8556
  ],
8557
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts": [
8558
+ "../src/entity/auditedmodel.ts",
8559
+ "../src/entity/modules/templates/usertemplateecommerce.ts"
8560
+ ],
8526
8561
  "../src/entity/notification.ts": [
8527
8562
  "../src/entity/auditedmodel.ts",
8528
8563
  "../src/entity/order.ts",
@@ -8950,9 +8985,15 @@
8950
8985
  "../src/migrations/1687993176652-add-info-to-auth-2.ts": [
8951
8986
  "../node_modules/typeorm/index.d.ts"
8952
8987
  ],
8988
+ "../src/migrations/1687997223199-migration-pre-develop-api-key-channel.ts": [
8989
+ "../node_modules/typeorm/index.d.ts"
8990
+ ],
8953
8991
  "../src/migrations/1688049065964-add-title-endpoint.ts": [
8954
8992
  "../node_modules/typeorm/index.d.ts"
8955
8993
  ],
8994
+ "../src/migrations/1688489173526-add-webhook-template.ts": [
8995
+ "../node_modules/typeorm/index.d.ts"
8996
+ ],
8956
8997
  "../src/migrations/index.ts": [
8957
8998
  "../src/migrations/1628474597284-initialschema.ts",
8958
8999
  "../src/migrations/1630077596132-removemangopay.ts",
@@ -9066,7 +9107,8 @@
9066
9107
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariant.ts",
9067
9108
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariantmapped.ts",
9068
9109
  "../src/entity/modules/templates/templateecommerce.ts",
9069
- "../src/entity/modules/templates/usertemplateecommerce.ts"
9110
+ "../src/entity/modules/templates/usertemplateecommerce.ts",
9111
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts"
9070
9112
  ],
9071
9113
  "../src/staticdata/index.ts": [
9072
9114
  "../src/staticdata/channelname.ts",
@@ -9643,6 +9685,7 @@
9643
9685
  "../src/entity/modules/templates/schemevariant/templateecommerceschemeconfigvariantmapped.ts",
9644
9686
  "../src/entity/modules/templates/templateecommerce.ts",
9645
9687
  "../src/entity/modules/templates/usertemplateecommerce.ts",
9688
+ "../src/entity/modules/templates/webhooktemplateecommerce.ts",
9646
9689
  "../src/entity/notification.ts",
9647
9690
  "../src/entity/option.ts",
9648
9691
  "../src/entity/order.ts",
@@ -9769,7 +9812,9 @@
9769
9812
  "../src/migrations/1687909776321-migration-pre-develop-shopiffy-connection.ts",
9770
9813
  "../src/migrations/1687981491374-add-info-to-auth.ts",
9771
9814
  "../src/migrations/1687993176652-add-info-to-auth-2.ts",
9815
+ "../src/migrations/1687997223199-migration-pre-develop-api-key-channel.ts",
9772
9816
  "../src/migrations/1688049065964-add-title-endpoint.ts",
9817
+ "../src/migrations/1688489173526-add-webhook-template.ts",
9773
9818
  "../src/migrations/execute/index.ts",
9774
9819
  "../src/migrations/index.ts",
9775
9820
  "../src/repositories/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reachu/database",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "description": "reachu-database",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "author": "reachu",
22
22
  "license": "ISC",
23
23
  "dependencies": {
24
- "@reachu/logger": "1.0.89",
25
- "@reachu/utils": "1.0.89",
24
+ "@reachu/logger": "1.0.91",
25
+ "@reachu/utils": "1.0.91",
26
26
  "dotenv": "8.0.0",
27
27
  "express": "4.17.1",
28
28
  "mysql2": "1.5.2",
@@ -86,6 +86,7 @@ import AuthMethod from './modules/templates/AuthMethod';
86
86
  import EndpointTemplateEcommerce from './modules/templates/EndpointTemplateEcommerce';
87
87
  import TemplateEcommerce from './modules/templates/TemplateEcommerce';
88
88
  import UserTemplateEcommerce from './modules/templates/UserTemplateEcommerce';
89
+ import WebhookTemplateEcommerce from './modules/templates/WebhookTemplateEcommerce';
89
90
 
90
91
  import ReachuSchemeConfigOrder from './modules/templates/schemeOrder/ReachuSchemeConfigOrder';
91
92
  import TemplateEcommerceSchemeConfigOrder from './modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder';
@@ -185,6 +186,7 @@ export {
185
186
  AuthInfo,
186
187
  AuthMethod,
187
188
  EndpointTemplateEcommerce,
189
+ WebhookTemplateEcommerce,
188
190
  TemplateEcommerce,
189
191
  UserTemplateEcommerce,
190
192
  TemplateEcommerceSchemeConfigOrder,
@@ -13,6 +13,7 @@ import AuditedModel from '../../AuditedModel';
13
13
  import EndpointTemplateEcommerce from './EndpointTemplateEcommerce';
14
14
  import AuthInfo from './AuthInfo';
15
15
  import TemplateEcommerce from './TemplateEcommerce';
16
+ import WebhookTemplateEcommerce from './WebhookTemplateEcommerce';
16
17
 
17
18
  @Entity()
18
19
  export default class UserTemplateEcommerce extends AuditedModel {
@@ -34,6 +35,14 @@ export default class UserTemplateEcommerce extends AuditedModel {
34
35
  )
35
36
  endpointTemplateEcommerce: EndpointTemplateEcommerce[];
36
37
 
38
+ @OneToMany(
39
+ () => WebhookTemplateEcommerce,
40
+ (webhookTemplateEcommerce: WebhookTemplateEcommerce) =>
41
+ webhookTemplateEcommerce.userTemplateEcommerce,
42
+ { cascade: true },
43
+ )
44
+ webhookTemplateEcommerce: WebhookTemplateEcommerce[];
45
+
37
46
  @OneToOne(() => AuthInfo)
38
47
  @JoinColumn()
39
48
  authInfo: AuthInfo;
@@ -0,0 +1,49 @@
1
+ import {
2
+ Entity,
3
+ PrimaryGeneratedColumn,
4
+ Column,
5
+ DeleteDateColumn,
6
+ ManyToOne,
7
+ JoinColumn,
8
+ } from 'typeorm';
9
+ import AuditedModel from '../../AuditedModel';
10
+ import UserTemplateEcommerce from './UserTemplateEcommerce';
11
+
12
+ @Entity()
13
+ export default class WebhookTemplateEcommerce extends AuditedModel {
14
+ @PrimaryGeneratedColumn()
15
+ id: number;
16
+
17
+ @DeleteDateColumn()
18
+ deletedAt: Date;
19
+
20
+ @Column('varchar', { nullable: false })
21
+ url: string;
22
+
23
+ @Column({ type: 'boolean', default: false })
24
+ connection: boolean;
25
+
26
+ @Column('varchar', { length: '21844', nullable: true })
27
+ response: string;
28
+
29
+ @Column('varchar', { nullable: true })
30
+ type: string;
31
+
32
+ @Column('varchar', { nullable: true })
33
+ urlParams: string;
34
+
35
+ @Column('varchar', { length: '21844', nullable: true })
36
+ body: string;
37
+
38
+ @Column('varchar', { nullable: false })
39
+ title: string;
40
+
41
+ @ManyToOne(
42
+ () => UserTemplateEcommerce,
43
+ (userTemplateEcommerce: UserTemplateEcommerce) =>
44
+ userTemplateEcommerce.webhookTemplateEcommerce,
45
+ { onDelete: 'CASCADE' },
46
+ )
47
+ @JoinColumn()
48
+ userTemplateEcommerce: UserTemplateEcommerce;
49
+ }
@@ -0,0 +1,20 @@
1
+ import {MigrationInterface, QueryRunner} from "typeorm";
2
+
3
+ export class migrationPreDevelopApiKeyChannel1687997223199 implements MigrationInterface {
4
+ name = 'migrationPreDevelopApiKeyChannel1687997223199'
5
+
6
+ public async up(queryRunner: QueryRunner): Promise<void> {
7
+ await queryRunner.query(`ALTER TABLE \`user_channel_api_key\` DROP FOREIGN KEY \`FK_adc2206f21efb67f9f6425a4ce8\``);
8
+ await queryRunner.query(`ALTER TABLE \`user_channel_api_key\` DROP COLUMN \`channel_user_id\``);
9
+ await queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`user_channel_api_key_id\` int NULL`);
10
+ await queryRunner.query(`ALTER TABLE \`channel_user\` ADD CONSTRAINT \`FK_83f345b5912388def4fa4253040\` FOREIGN KEY (\`user_channel_api_key_id\`) REFERENCES \`user_channel_api_key\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
11
+ }
12
+
13
+ public async down(queryRunner: QueryRunner): Promise<void> {
14
+ await queryRunner.query(`ALTER TABLE \`channel_user\` DROP FOREIGN KEY \`FK_83f345b5912388def4fa4253040\``);
15
+ await queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`user_channel_api_key_id\``);
16
+ await queryRunner.query(`ALTER TABLE \`user_channel_api_key\` ADD \`channel_user_id\` int NULL`);
17
+ await queryRunner.query(`ALTER TABLE \`user_channel_api_key\` ADD CONSTRAINT \`FK_adc2206f21efb67f9f6425a4ce8\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`channel_user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
18
+ }
19
+
20
+ }
@@ -0,0 +1,16 @@
1
+ import {MigrationInterface, QueryRunner} from "typeorm";
2
+
3
+ export class addWebhookTemplate1688489173526 implements MigrationInterface {
4
+ name = 'addWebhookTemplate1688489173526'
5
+
6
+ public async up(queryRunner: QueryRunner): Promise<void> {
7
+ await queryRunner.query(`CREATE TABLE \`webhook_template_ecommerce\` (\`created_at\` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), \`updated_at\` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6), \`id\` int NOT NULL AUTO_INCREMENT, \`deleted_at\` datetime(6) NULL, \`url\` varchar(255) NOT NULL, \`connection\` tinyint NOT NULL DEFAULT 0, \`response\` varchar(21844) NULL, \`type\` varchar(255) NULL, \`url_params\` varchar(255) NULL, \`body\` varchar(21844) NULL, \`title\` varchar(255) NOT NULL, \`user_template_ecommerce_id\` int NULL, PRIMARY KEY (\`id\`)) ENGINE=InnoDB`);
8
+ await queryRunner.query(`ALTER TABLE \`webhook_template_ecommerce\` ADD CONSTRAINT \`FK_b05fbf9109c855ceedd94df1b09\` FOREIGN KEY (\`user_template_ecommerce_id\`) REFERENCES \`user_template_ecommerce\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
9
+ }
10
+
11
+ public async down(queryRunner: QueryRunner): Promise<void> {
12
+ await queryRunner.query(`ALTER TABLE \`webhook_template_ecommerce\` DROP FOREIGN KEY \`FK_b05fbf9109c855ceedd94df1b09\``);
13
+ await queryRunner.query(`DROP TABLE \`webhook_template_ecommerce\``);
14
+ }
15
+
16
+ }
@@ -80,6 +80,7 @@ import {
80
80
  AuthInfoRepository,
81
81
  AuthMethodRepository,
82
82
  EndpointTemplateEcommerceRepository,
83
+ WebhookTemplateEcommerceRepository,
83
84
  ReachuSchemeConfigOrderRepository,
84
85
  ReachuSchemeConfigProductRepository,
85
86
  ReachuSchemeConfigVariantRepository,
@@ -284,6 +285,7 @@ export {
284
285
  AuthInfoRepository,
285
286
  AuthMethodRepository,
286
287
  EndpointTemplateEcommerceRepository,
288
+ WebhookTemplateEcommerceRepository,
287
289
  ReachuSchemeConfigOrderRepository,
288
290
  ReachuSchemeConfigProductRepository,
289
291
  ReachuSchemeConfigVariantRepository,
@@ -4,6 +4,7 @@ import AuthMethod from '../../entity/modules/templates/AuthMethod';
4
4
  import EndpointTemplateEcommerce from '../../entity/modules/templates/EndpointTemplateEcommerce';
5
5
  import TemplateEcommerce from '../../entity/modules/templates/TemplateEcommerce';
6
6
  import UserTemplateEcommerce from '../../entity/modules/templates/UserTemplateEcommerce';
7
+ import WebhookTemplateEcommerce from '../../entity/modules/templates/WebhookTemplateEcommerce';
7
8
 
8
9
  import ReachuSchemeConfigOrder from '../../entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder';
9
10
  import TemplateEcommerceSchemeConfigOrder from '../../entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder';
@@ -58,3 +59,6 @@ export class TemplateEcommerceSchemeConfigVariantRepository extends Repository<T
58
59
 
59
60
  @EntityRepository(TemplateEcommerceSchemeConfigVariantMapped)
60
61
  export class TemplateEcommerceSchemeConfigVariantMappedRepository extends Repository<TemplateEcommerceSchemeConfigVariantMapped> {}
62
+
63
+ @EntityRepository(WebhookTemplateEcommerce)
64
+ export class WebhookTemplateEcommerceRepository extends Repository<WebhookTemplateEcommerce> {}