@reachu/database 1.0.158 → 1.0.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entity/Ecom-user.d.ts +17 -0
- package/dist/entity/Ecom-user.js +77 -0
- package/dist/entity/Ecom-user.js.map +1 -0
- package/dist/entity/ShopifyConnection.js +1 -1
- package/dist/entity/ShopifyConnection.js.map +1 -1
- package/dist/entity/User.d.ts +0 -1
- package/dist/entity/User.js +0 -5
- package/dist/entity/User.js.map +1 -1
- package/dist/entity/index.d.ts +2 -1
- package/dist/entity/index.js +3 -1
- package/dist/entity/index.js.map +1 -1
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.d.ts +6 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.js +29 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.js.map +1 -0
- package/dist/migrations/1707768053927-shopify-supplier-delete.d.ts +6 -0
- package/dist/migrations/1707768053927-shopify-supplier-delete.js +33 -0
- package/dist/migrations/1707768053927-shopify-supplier-delete.js.map +1 -0
- package/dist/repositories/index.d.ts +3 -0
- package/dist/repositories/index.js +8 -1
- package/dist/repositories/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +58 -7
- package/package.json +3 -3
- package/src/entity/Ecom-user.ts +65 -0
- package/src/entity/ShopifyConnection.ts +1 -1
- package/src/entity/User.ts +0 -4
- package/src/entity/index.ts +4 -0
- package/src/migrations/1706273488135-promote_to_production_26_01_2024.ts +14 -0
- package/src/migrations/1707768053927-shopify-supplier-delete.ts +18 -0
- package/src/repositories/index.ts +6 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import AuditedModel from './AuditedModel';
|
|
2
|
+
import { MagentoConnection } from './MagentoConnection.entity';
|
|
3
|
+
import ApiCredential from './ApiCredential';
|
|
4
|
+
import User from './User';
|
|
5
|
+
import ShopifyConnection from './ShopifyConnection';
|
|
6
|
+
import WooConnection from './WooConnection';
|
|
7
|
+
export default class EcomUser extends AuditedModel {
|
|
8
|
+
deletedAt: Date;
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
user: User;
|
|
13
|
+
magentoConnection: MagentoConnection;
|
|
14
|
+
shopifyConnection: ShopifyConnection;
|
|
15
|
+
wooConnection: WooConnection;
|
|
16
|
+
apiCredential: ApiCredential;
|
|
17
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 MagentoConnection_entity_1 = require("./MagentoConnection.entity");
|
|
18
|
+
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
19
|
+
const User_1 = __importDefault(require("./User"));
|
|
20
|
+
const ShopifyConnection_1 = __importDefault(require("./ShopifyConnection"));
|
|
21
|
+
const WooConnection_1 = __importDefault(require("./WooConnection"));
|
|
22
|
+
let EcomUser = class EcomUser extends AuditedModel_1.default {
|
|
23
|
+
};
|
|
24
|
+
__decorate([
|
|
25
|
+
typeorm_1.DeleteDateColumn(),
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], EcomUser.prototype, "deletedAt", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], EcomUser.prototype, "id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], EcomUser.prototype, "name", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
typeorm_1.Column('boolean', { nullable: true, default: true }),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], EcomUser.prototype, "active", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { onDelete: 'CASCADE' }),
|
|
42
|
+
typeorm_1.JoinColumn(),
|
|
43
|
+
__metadata("design:type", User_1.default)
|
|
44
|
+
], EcomUser.prototype, "user", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
typeorm_1.ManyToOne(() => MagentoConnection_entity_1.MagentoConnection, (magentoConnection) => magentoConnection.id, {
|
|
47
|
+
nullable: true,
|
|
48
|
+
}),
|
|
49
|
+
typeorm_1.JoinColumn(),
|
|
50
|
+
__metadata("design:type", MagentoConnection_entity_1.MagentoConnection)
|
|
51
|
+
], EcomUser.prototype, "magentoConnection", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
typeorm_1.ManyToOne(() => ShopifyConnection_1.default, (shopifyConnection) => shopifyConnection.id, {
|
|
54
|
+
nullable: true,
|
|
55
|
+
}),
|
|
56
|
+
typeorm_1.JoinColumn(),
|
|
57
|
+
__metadata("design:type", ShopifyConnection_1.default)
|
|
58
|
+
], EcomUser.prototype, "shopifyConnection", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
typeorm_1.ManyToOne(() => WooConnection_1.default, (wooConnection) => wooConnection.id, {
|
|
61
|
+
nullable: true,
|
|
62
|
+
}),
|
|
63
|
+
typeorm_1.JoinColumn(),
|
|
64
|
+
__metadata("design:type", WooConnection_1.default)
|
|
65
|
+
], EcomUser.prototype, "wooConnection", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
typeorm_1.ManyToOne(() => ApiCredential_1.default, (apiCredential) => apiCredential.id, {
|
|
68
|
+
nullable: true,
|
|
69
|
+
}),
|
|
70
|
+
typeorm_1.JoinColumn(),
|
|
71
|
+
__metadata("design:type", ApiCredential_1.default)
|
|
72
|
+
], EcomUser.prototype, "apiCredential", void 0);
|
|
73
|
+
EcomUser = __decorate([
|
|
74
|
+
typeorm_1.Entity()
|
|
75
|
+
], EcomUser);
|
|
76
|
+
exports.default = EcomUser;
|
|
77
|
+
//# sourceMappingURL=Ecom-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ecom-user.js","sourceRoot":"","sources":["../../src/entity/Ecom-user.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AAEjB,kEAA0C;AAE1C,yEAA+D;AAE/D,oEAA4C;AAC5C,kDAA0B;AAC1B,4EAAoD;AACpD,oEAA4C;AAI5C,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,sBAAY;CA2CjD,CAAA;AAzCC;IADC,0BAAgB,EAAE;8BACR,IAAI;2CAAC;AAGhB;IADC,gCAAsB,EAAE;;oCACd;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wCACrC;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACjE,oBAAU,EAAE;8BACP,cAAI;sCAAA;AAOV;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,4CAAiB,EAAE,CAAC,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACM,4CAAiB;mDAAC;AAMrC;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,2BAAiB,EAAE,CAAC,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACM,2BAAiB;mDAAC;AAMrC;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,uBAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;QACnE,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACE,uBAAa;+CAAC;AAQ7B;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,uBAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;QACnE,QAAQ,EAAE,IAAI;KACf,CAAC;IAED,oBAAU,EAAE;8BACE,uBAAa;+CAAC;AA1CV,QAAQ;IAD5B,gBAAM,EAAE;GACY,QAAQ,CA2C5B;kBA3CoB,QAAQ"}
|
|
@@ -35,7 +35,7 @@ __decorate([
|
|
|
35
35
|
__metadata("design:type", User_1.default)
|
|
36
36
|
], ShopifyConnection.prototype, "reseller", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
typeorm_1.ManyToOne(() => User_1.default, (user) => user.
|
|
38
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { onDelete: 'CASCADE', nullable: true }),
|
|
39
39
|
typeorm_1.JoinColumn({ name: 'supplier_id', referencedColumnName: 'id' }),
|
|
40
40
|
__metadata("design:type", User_1.default)
|
|
41
41
|
], ShopifyConnection.prototype, "supplier", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShopifyConnection.js","sourceRoot":"","sources":["../../src/entity/ShopifyConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCASiB;AACjB,kDAA0B;AAC1B,kEAA0C;AAI1C,IAAqB,iBAAiB,GAAtC,MAAqB,iBAAkB,SAAQ,sBAAY;CAmC1D,CAAA;AAjCC;IADC,gCAAsB,EAAE;;6CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;oDAAC;AAGhB;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2DAClB;AAI1B;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9F,oBAAU,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;8BACtD,cAAI;mDAAC;AAIf;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"ShopifyConnection.js","sourceRoot":"","sources":["../../src/entity/ShopifyConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCASiB;AACjB,kDAA0B;AAC1B,kEAA0C;AAI1C,IAAqB,iBAAiB,GAAtC,MAAqB,iBAAkB,SAAQ,sBAAY;CAmC1D,CAAA;AAjCC;IADC,gCAAsB,EAAE;;6CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;oDAAC;AAGhB;IADC,gBAAM,CAA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BAnCoB,iBAAiB"}
|
package/dist/entity/User.d.ts
CHANGED
|
@@ -59,7 +59,6 @@ export default class User extends AuditedModel {
|
|
|
59
59
|
settings: UserSettings;
|
|
60
60
|
woo: WooConnection;
|
|
61
61
|
shopifyReseller: ShopifyConnection;
|
|
62
|
-
shopifySupplier: ShopifyConnection;
|
|
63
62
|
magento: MagentoConnection;
|
|
64
63
|
shippingPackage: ShippingPackage;
|
|
65
64
|
termsAndConditions: boolean;
|
package/dist/entity/User.js
CHANGED
|
@@ -211,11 +211,6 @@ __decorate([
|
|
|
211
211
|
typeorm_1.JoinColumn(),
|
|
212
212
|
__metadata("design:type", ShopifyConnection_1.default)
|
|
213
213
|
], User.prototype, "shopifyReseller", void 0);
|
|
214
|
-
__decorate([
|
|
215
|
-
typeorm_1.OneToOne(() => ShopifyConnection_1.default, (connection) => connection.supplier, { eager: true }),
|
|
216
|
-
typeorm_1.JoinColumn(),
|
|
217
|
-
__metadata("design:type", ShopifyConnection_1.default)
|
|
218
|
-
], User.prototype, "shopifySupplier", void 0);
|
|
219
214
|
__decorate([
|
|
220
215
|
typeorm_1.OneToOne(() => MagentoConnection_entity_1.MagentoConnection, (connection) => connection.user, { eager: true }),
|
|
221
216
|
typeorm_1.JoinColumn(),
|
package/dist/entity/User.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../src/entity/User.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAWiB;AACjB,kEAA0C;AAC1C,0DAAkC;AAClC,wDAAgC;AAChC,wDAAgC;AAChC,0DAAkC;AAClC,wEAAgD;AAChD,oDAA4B;AAC5B,oEAA4C;AAC5C,0DAAkC;AAClC,4EAAoD;AACpD,2CAAwC;AAExC,oEAA4C;AAC5C,yEAA+D;AAC/D,0DAAkC;AAClC,kEAA0C;AAC1C,2EAAmD;AACnD,wFAAgE;AAChE,0FAAkE;AAGlE,IAAqB,IAAI,GAAzB,MAAqB,IAA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AAI;IADxB,gBAAM,EAAE;GACY,IAAI,CA0OxB;kBA1OoB,IAAI"}
|
package/dist/entity/index.d.ts
CHANGED
|
@@ -100,4 +100,5 @@ import DiscountCart from './modules/discount/DiscountCart';
|
|
|
100
100
|
import DiscountProduct from './modules/discount/DiscountProduct';
|
|
101
101
|
import DiscountType from './modules/discount/DiscountType';
|
|
102
102
|
import MagentoBulk from './MagentoBulk';
|
|
103
|
-
|
|
103
|
+
import EcomUser from './Ecom-user';
|
|
104
|
+
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, 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, Discount, DiscountCart, DiscountProduct, DiscountType, ProductCategory, ProductDigital, EnvType, MagentoBulk, EcomUser };
|
package/dist/entity/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
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
7
|
exports.ProductDigital = exports.ProductCategory = exports.DiscountType = exports.DiscountProduct = exports.DiscountCart = exports.Discount = 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.WooConnection = exports.Wallet = exports.Variant = exports.UserRole = exports.User = exports.Subcategory = exports.ShopifyConnection = exports.ShippingPackage = exports.RolePermission = void 0;
|
|
8
|
-
exports.MagentoBulk = exports.EnvType = void 0;
|
|
8
|
+
exports.EcomUser = exports.MagentoBulk = exports.EnvType = void 0;
|
|
9
9
|
const Address_1 = __importDefault(require("./Address"));
|
|
10
10
|
exports.Address = Address_1.default;
|
|
11
11
|
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
@@ -210,4 +210,6 @@ const DiscountType_1 = __importDefault(require("./modules/discount/DiscountType"
|
|
|
210
210
|
exports.DiscountType = DiscountType_1.default;
|
|
211
211
|
const MagentoBulk_1 = __importDefault(require("./MagentoBulk"));
|
|
212
212
|
exports.MagentoBulk = MagentoBulk_1.default;
|
|
213
|
+
const Ecom_user_1 = __importDefault(require("./Ecom-user"));
|
|
214
|
+
exports.EcomUser = Ecom_user_1.default;
|
|
213
215
|
//# sourceMappingURL=index.js.map
|
package/dist/entity/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,wDAAgC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,wDAAgC;AAwI9B,kBAxIK,iBAAO,CAwIL;AAvIT,oEAA4C;AAwI1C,wBAxIK,uBAAa,CAwIL;AAvIf,kEAA0C;AAwIxC,uBAxIK,sBAAY,CAwIL;AAvId,gEAAwC;AAwItC,sBAxIK,qBAAW,CAwIL;AAvIb,0DAAkC;AAwIhC,mBAxIK,kBAAQ,CAwIL;AAvIV,0EAAkD;AAwIhD,2BAxIK,0BAAgB,CAwIL;AAv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uB,CAiHL;AAhHzB,4IAAoH;AA8GlH,6CA9GK,4CAAkC,CA8GL;AA7GpC,wJAAgI;AA8G9H,mDA9GK,kDAAwC,CA8GL;AA5G1C,4HAAoG;AAgHlG,oCAhHK,mCAAyB,CAgHL;AA/G3B,kJAA0H;AA6GxH,+CA7GK,8CAAoC,CA6GL;AA5GtC,8JAAsI;AA6GpI,qDA7GK,oDAA0C,CA6GL;AA3G5C,4HAAoG;AA+GlG,oCA/GK,mCAAyB,CA+GL;AA9G3B,kJAA0H;AA4GxH,+CA5GK,8CAAoC,CA4GL;AA3GtC,8JAAsI;AA4GpI,qDA5GK,oDAA0C,CA4GL;AAzG5C,wEAAgD;AA2G9C,eA3GK,cAAI,CA2GL;AA1GN,wFAAgE;AA2G9D,uBA3GK,sBAAY,CA2GL;AA1Gd,0FAAkE;AA2GhE,wBA3GK,uBAAa,CA2GL;AAzGf,4DAAoC;AA2GlC,oBA3GK,mBAAS,CA2GL;AA1GX,8DAAsC;AA2GpC,qBA3GK,oBAAU,CA2GL;AAxGZ,2EAAmD;AAyGjD,mBAzGK,kBAAQ,CAyGL;AAxGV,mFAA2D;AAyGzD,uBAzGK,sBAAY,CAyGL;AAxGd,yFAAiE;AAyG/D,0BAzGK,yBAAe,CAyGL;AAxGjB,mFAA2D;AAyGzD,uBAzGK,sBAAY,CAyGL;AAvGd,gEAAwC;AA2GtC,sBA3GK,qBAAW,CA2GL;AAzGb,4DAAmC;AA0GjC,mBA1GK,mBAAQ,CA0GL"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class promoteToProduction260120241706273488135 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.promoteToProduction260120241706273488135 = void 0;
|
|
13
|
+
class promoteToProduction260120241706273488135 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'promoteToProduction260120241706273488135';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.promoteToProduction260120241706273488135 = promoteToProduction260120241706273488135;
|
|
29
|
+
//# sourceMappingURL=1706273488135-promote_to_production_26_01_2024.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1706273488135-promote_to_production_26_01_2024.js","sourceRoot":"","sources":["../../src/migrations/1706273488135-promote_to_production_26_01_2024.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,wCAAwC;IAArD;QACI,SAAI,GAAG,0CAA0C,CAAA;IAUrD,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wEAAwE,CAAC,CAAC;QACtG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACnF,CAAC;KAAA;CAEJ;AAXD,4FAWC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.shopifySupplierDelete1707768053927 = void 0;
|
|
13
|
+
class shopifySupplierDelete1707768053927 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'shopifySupplierDelete1707768053927';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`user\` DROP FOREIGN KEY \`FK_bb09b5baeed0eff98b89cb1ff57\``);
|
|
20
|
+
yield queryRunner.query(`DROP INDEX \`REL_bb09b5baeed0eff98b89cb1ff5\` ON \`user\``);
|
|
21
|
+
yield queryRunner.query(`ALTER TABLE \`user\` DROP COLUMN \`shopify_supplier_id\``);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
down(queryRunner) {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
yield queryRunner.query(`ALTER TABLE \`user\` ADD \`shopify_supplier_id\` int NULL`);
|
|
27
|
+
yield queryRunner.query(`CREATE UNIQUE INDEX \`REL_bb09b5baeed0eff98b89cb1ff5\` ON \`user\` (\`shopify_supplier_id\`)`);
|
|
28
|
+
yield queryRunner.query(`ALTER TABLE \`user\` ADD CONSTRAINT \`FK_bb09b5baeed0eff98b89cb1ff57\` FOREIGN KEY (\`shopify_supplier_id\`) REFERENCES \`shopify_connection\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.shopifySupplierDelete1707768053927 = shopifySupplierDelete1707768053927;
|
|
33
|
+
//# sourceMappingURL=1707768053927-shopify-supplier-delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1707768053927-shopify-supplier-delete.js","sourceRoot":"","sources":["../../src/migrations/1707768053927-shopify-supplier-delete.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,kCAAkC;IAA/C;QACI,SAAI,GAAG,oCAAoC,CAAA;IAc/C,CAAC;IAZgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,0EAA0E,CAAC,CAAC;YACpG,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;YACrF,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;QACxF,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;YACrF,MAAM,WAAW,CAAC,KAAK,CAAC,8FAA8F,CAAC,CAAC;YACxH,MAAM,WAAW,CAAC,KAAK,CAAC,gMAAgM,CAAC,CAAC;QAC9N,CAAC;KAAA;CAEJ;AAfD,gFAeC"}
|
|
@@ -58,6 +58,7 @@ import Connection from '../entity/Connection';
|
|
|
58
58
|
import ProductCategory from '../entity/ProductCategory';
|
|
59
59
|
import ProductDigital from '../entity/ProductDigital';
|
|
60
60
|
import EnvType from '../entity/EnvType';
|
|
61
|
+
import EcomUser from '../entity/Ecom-user';
|
|
61
62
|
import { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository } from './shopcart';
|
|
62
63
|
import { ProductShippingRepository, ShippingCountryRepository, ShippingRepository } from './shipping';
|
|
63
64
|
import { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository } from './templates';
|
|
@@ -187,6 +188,8 @@ export declare class EnvTypeRepository extends Repository<EnvType> {
|
|
|
187
188
|
}
|
|
188
189
|
export declare class MagentoBulkRepository extends Repository<MagentoBulk> {
|
|
189
190
|
}
|
|
191
|
+
export declare class EcomUserRepository extends Repository<EcomUser> {
|
|
192
|
+
}
|
|
190
193
|
export { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository, };
|
|
191
194
|
export { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository, };
|
|
192
195
|
export { DiscountRepository, DiscountCartRepository, DiscountProductRepository, DiscountTypeRepository, };
|
|
@@ -10,7 +10,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ChannelUserRepository = exports.ChannelGroupRepository = exports.CollectionSharedRepository = exports.CollectionItemRepository = exports.CollectionRepository = exports.PaymentMethodRepository = exports.UserSettingsRepository = 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.DiscountTypeRepository = exports.DiscountProductRepository = exports.DiscountCartRepository = exports.DiscountRepository = 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.MagentoBulkRepository = exports.EnvTypeRepository = exports.ProductDigitalRepository = exports.ProductCategoryRepository = exports.ConnectionRepository = exports.TranslateRepository = exports.EnvironmentConfigurationRepository = exports.ExchangeRateRepository = exports.CurrencyRepository = exports.UserChannelApiKeyRepository = exports.ChannelUserProductSyncRepository = void 0;
|
|
13
|
+
exports.UserCountPlanRepository = exports.SubscriptionRepository = exports.PlanRepository = exports.ShippingRepository = exports.ShippingCountryRepository = exports.ProductShippingRepository = exports.DiscountTypeRepository = exports.DiscountProductRepository = exports.DiscountCartRepository = exports.DiscountRepository = 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.EcomUserRepository = exports.MagentoBulkRepository = exports.EnvTypeRepository = exports.ProductDigitalRepository = exports.ProductCategoryRepository = exports.ConnectionRepository = exports.TranslateRepository = exports.EnvironmentConfigurationRepository = exports.ExchangeRateRepository = exports.CurrencyRepository = exports.UserChannelApiKeyRepository = exports.ChannelUserProductSyncRepository = 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"));
|
|
@@ -71,6 +71,7 @@ const Connection_1 = __importDefault(require("../entity/Connection"));
|
|
|
71
71
|
const ProductCategory_1 = __importDefault(require("../entity/ProductCategory"));
|
|
72
72
|
const ProductDigital_1 = __importDefault(require("../entity/ProductDigital"));
|
|
73
73
|
const EnvType_1 = __importDefault(require("../entity/EnvType"));
|
|
74
|
+
const Ecom_user_1 = __importDefault(require("../entity/Ecom-user"));
|
|
74
75
|
const shopcart_1 = require("./shopcart");
|
|
75
76
|
Object.defineProperty(exports, "CartItemRepository", { enumerable: true, get: function () { return shopcart_1.CartItemRepository; } });
|
|
76
77
|
Object.defineProperty(exports, "CartRepository", { enumerable: true, get: function () { return shopcart_1.CartRepository; } });
|
|
@@ -475,4 +476,10 @@ MagentoBulkRepository = __decorate([
|
|
|
475
476
|
typeorm_1.EntityRepository(entity_1.MagentoBulk)
|
|
476
477
|
], MagentoBulkRepository);
|
|
477
478
|
exports.MagentoBulkRepository = MagentoBulkRepository;
|
|
479
|
+
let EcomUserRepository = class EcomUserRepository extends typeorm_1.Repository {
|
|
480
|
+
};
|
|
481
|
+
EcomUserRepository = __decorate([
|
|
482
|
+
typeorm_1.EntityRepository(Ecom_user_1.default)
|
|
483
|
+
], EcomUserRepository);
|
|
484
|
+
exports.EcomUserRepository = EcomUserRepository;
|
|
478
485
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,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;AAC9C,gFAAwD;AACxD,8EAAsD;AACtD,gEAAwC;AAExC,yCAOoB;
|
|
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,gEA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;AAA9D,4DAAwB;AAGrC,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,oBAAmB;CAAG,CAAA;AAAhD,iBAAiB;IAD7B,0BAAgB,CAAC,iBAAO,CAAC;GACb,iBAAiB,CAA+B;AAAhD,8CAAiB;AAG9B,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,oBAAuB;CAAG,CAAA;AAAxD,qBAAqB;IADjC,0BAAgB,CAAC,oBAAW,CAAC;GACjB,qBAAqB,CAAmC;AAAxD,sDAAqB;AAGlC,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,oBAAoB;CAAG,CAAA;AAAlD,kBAAkB;IAD9B,0BAAgB,CAAC,mBAAQ,CAAC;GACd,kBAAkB,CAAgC;AAAlD,gDAAkB"}
|
|
@@ -1997,7 +1997,7 @@
|
|
|
1997
1997
|
"affectsGlobalScope": false
|
|
1998
1998
|
},
|
|
1999
1999
|
"../src/entity/shopifyconnection.ts": {
|
|
2000
|
-
"version": "
|
|
2000
|
+
"version": "82631ee5fc2ee8c8c4b67894354e79a47878c12d824e39e40d2ac71ba5143588",
|
|
2001
2001
|
"signature": "deaaa620213450b2c981971e6fa519cb8e39ada9d97973a431bc95bcb877e4ea",
|
|
2002
2002
|
"affectsGlobalScope": false
|
|
2003
2003
|
},
|
|
@@ -2582,8 +2582,8 @@
|
|
|
2582
2582
|
"affectsGlobalScope": false
|
|
2583
2583
|
},
|
|
2584
2584
|
"../src/entity/user.ts": {
|
|
2585
|
-
"version": "
|
|
2586
|
-
"signature": "
|
|
2585
|
+
"version": "6c376f3ac5b7427c790de0bb209f2e76fa5bc5dd4506a0c140c31a4ef58e2420",
|
|
2586
|
+
"signature": "6b9c7fe525963bcdeabe5fa5b626148b243f295646a9c830273fb29b8ecc5074",
|
|
2587
2587
|
"affectsGlobalScope": false
|
|
2588
2588
|
},
|
|
2589
2589
|
"../src/entity/apicredential.ts": {
|
|
@@ -2766,9 +2766,14 @@
|
|
|
2766
2766
|
"signature": "eef75decc3ee396bd73446abd46110c8c99c9f7e844cb59159e70f9635c5a07d",
|
|
2767
2767
|
"affectsGlobalScope": false
|
|
2768
2768
|
},
|
|
2769
|
+
"../src/entity/ecom-user.ts": {
|
|
2770
|
+
"version": "866c65d201022945a06e33cbfc8c733c7a353100155e17a34f729ca82acea7d6",
|
|
2771
|
+
"signature": "ab832c548d5dc95a2072d81daa5dd31628d2bd876b027864a9f65b1349277bb2",
|
|
2772
|
+
"affectsGlobalScope": false
|
|
2773
|
+
},
|
|
2769
2774
|
"../src/entity/index.ts": {
|
|
2770
|
-
"version": "
|
|
2771
|
-
"signature": "
|
|
2775
|
+
"version": "1f7e4a76685a00a1264d9f1be9717389a2778a9a3105b9914301c205ec87be9c",
|
|
2776
|
+
"signature": "cad4b41abc8d751f476473aa36ecca27c7022abda1468c7b789dd29c20438171",
|
|
2772
2777
|
"affectsGlobalScope": false
|
|
2773
2778
|
},
|
|
2774
2779
|
"../src/staticdata/productorigin.ts": {
|
|
@@ -2852,8 +2857,8 @@
|
|
|
2852
2857
|
"affectsGlobalScope": false
|
|
2853
2858
|
},
|
|
2854
2859
|
"../src/repositories/index.ts": {
|
|
2855
|
-
"version": "
|
|
2856
|
-
"signature": "
|
|
2860
|
+
"version": "f001caf93022e361d7b4e15febaac3f6f45101c19fb44a7fba81ee6cdc76cfaf",
|
|
2861
|
+
"signature": "4949840c8aaffd2f721335a16dc4e45560b3cd840ccbd2babac2c2d41cf7dab0",
|
|
2857
2862
|
"affectsGlobalScope": false
|
|
2858
2863
|
},
|
|
2859
2864
|
"../src/subscribers/productsubscriber.ts": {
|
|
@@ -3681,6 +3686,16 @@
|
|
|
3681
3686
|
"signature": "007d8e751c61af2379f7fe3379504e0ea850142546d0d88abfb00e5ce6d080c2",
|
|
3682
3687
|
"affectsGlobalScope": false
|
|
3683
3688
|
},
|
|
3689
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": {
|
|
3690
|
+
"version": "ef87a39901d132a6cc5c3abd8571e50e54cc896023974572daa5fc93ff569b82",
|
|
3691
|
+
"signature": "a72074750279cd9d5b59cbf8261bce9cdca5d78175126784d33d7a1fedfd3685",
|
|
3692
|
+
"affectsGlobalScope": false
|
|
3693
|
+
},
|
|
3694
|
+
"../src/migrations/1707768053927-shopify-supplier-delete.ts": {
|
|
3695
|
+
"version": "075290703e417df99c8ef668cab875c3485d31a67425c6bb507699986a3dfcd8",
|
|
3696
|
+
"signature": "23230908604546eb68260d29a50b83c10e1821357027a8b0b06bd4f6912c45b3",
|
|
3697
|
+
"affectsGlobalScope": false
|
|
3698
|
+
},
|
|
3684
3699
|
"../src/migrations/execute/index.ts": {
|
|
3685
3700
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3686
3701
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
@@ -5766,6 +5781,15 @@
|
|
|
5766
5781
|
"../src/entity/customproduct.ts",
|
|
5767
5782
|
"../src/entity/variant.ts"
|
|
5768
5783
|
],
|
|
5784
|
+
"../src/entity/ecom-user.ts": [
|
|
5785
|
+
"../node_modules/typeorm/index.d.ts",
|
|
5786
|
+
"../src/entity/apicredential.ts",
|
|
5787
|
+
"../src/entity/auditedmodel.ts",
|
|
5788
|
+
"../src/entity/magentoconnection.entity.ts",
|
|
5789
|
+
"../src/entity/shopifyconnection.ts",
|
|
5790
|
+
"../src/entity/user.ts",
|
|
5791
|
+
"../src/entity/wooconnection.ts"
|
|
5792
|
+
],
|
|
5769
5793
|
"../src/entity/environmentconfiguration.ts": [
|
|
5770
5794
|
"../node_modules/typeorm/index.d.ts",
|
|
5771
5795
|
"../src/entity/auditedmodel.ts"
|
|
@@ -5836,6 +5860,7 @@
|
|
|
5836
5860
|
"../src/entity/customproduct.ts",
|
|
5837
5861
|
"../src/entity/customproductimage.ts",
|
|
5838
5862
|
"../src/entity/customvariant.ts",
|
|
5863
|
+
"../src/entity/ecom-user.ts",
|
|
5839
5864
|
"../src/entity/environmentconfiguration.ts",
|
|
5840
5865
|
"../src/entity/envtype.ts",
|
|
5841
5866
|
"../src/entity/exchangerate.ts",
|
|
@@ -6796,6 +6821,12 @@
|
|
|
6796
6821
|
"../src/migrations/1704739930074-test-origin-req.ts": [
|
|
6797
6822
|
"../node_modules/typeorm/index.d.ts"
|
|
6798
6823
|
],
|
|
6824
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": [
|
|
6825
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6826
|
+
],
|
|
6827
|
+
"../src/migrations/1707768053927-shopify-supplier-delete.ts": [
|
|
6828
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6829
|
+
],
|
|
6799
6830
|
"../src/migrations/execute/index.ts": [
|
|
6800
6831
|
"../src/config/connect.ts"
|
|
6801
6832
|
],
|
|
@@ -6842,6 +6873,7 @@
|
|
|
6842
6873
|
"../src/entity/customproduct.ts",
|
|
6843
6874
|
"../src/entity/customproductimage.ts",
|
|
6844
6875
|
"../src/entity/customvariant.ts",
|
|
6876
|
+
"../src/entity/ecom-user.ts",
|
|
6845
6877
|
"../src/entity/environmentconfiguration.ts",
|
|
6846
6878
|
"../src/entity/envtype.ts",
|
|
6847
6879
|
"../src/entity/exchangerate.ts",
|
|
@@ -8850,6 +8882,14 @@
|
|
|
8850
8882
|
"../src/entity/customproduct.ts",
|
|
8851
8883
|
"../src/entity/variant.ts"
|
|
8852
8884
|
],
|
|
8885
|
+
"../src/entity/ecom-user.ts": [
|
|
8886
|
+
"../src/entity/apicredential.ts",
|
|
8887
|
+
"../src/entity/auditedmodel.ts",
|
|
8888
|
+
"../src/entity/magentoconnection.entity.ts",
|
|
8889
|
+
"../src/entity/shopifyconnection.ts",
|
|
8890
|
+
"../src/entity/user.ts",
|
|
8891
|
+
"../src/entity/wooconnection.ts"
|
|
8892
|
+
],
|
|
8853
8893
|
"../src/entity/environmentconfiguration.ts": [
|
|
8854
8894
|
"../src/entity/auditedmodel.ts"
|
|
8855
8895
|
],
|
|
@@ -8909,6 +8949,7 @@
|
|
|
8909
8949
|
"../src/entity/customproduct.ts",
|
|
8910
8950
|
"../src/entity/customproductimage.ts",
|
|
8911
8951
|
"../src/entity/customvariant.ts",
|
|
8952
|
+
"../src/entity/ecom-user.ts",
|
|
8912
8953
|
"../src/entity/environmentconfiguration.ts",
|
|
8913
8954
|
"../src/entity/envtype.ts",
|
|
8914
8955
|
"../src/entity/exchangerate.ts",
|
|
@@ -9766,6 +9807,12 @@
|
|
|
9766
9807
|
"../src/migrations/1704739930074-test-origin-req.ts": [
|
|
9767
9808
|
"../node_modules/typeorm/index.d.ts"
|
|
9768
9809
|
],
|
|
9810
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": [
|
|
9811
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9812
|
+
],
|
|
9813
|
+
"../src/migrations/1707768053927-shopify-supplier-delete.ts": [
|
|
9814
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9815
|
+
],
|
|
9769
9816
|
"../src/migrations/index.ts": [
|
|
9770
9817
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9771
9818
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9809,6 +9856,7 @@
|
|
|
9809
9856
|
"../src/entity/customproduct.ts",
|
|
9810
9857
|
"../src/entity/customproductimage.ts",
|
|
9811
9858
|
"../src/entity/customvariant.ts",
|
|
9859
|
+
"../src/entity/ecom-user.ts",
|
|
9812
9860
|
"../src/entity/environmentconfiguration.ts",
|
|
9813
9861
|
"../src/entity/envtype.ts",
|
|
9814
9862
|
"../src/entity/exchangerate.ts",
|
|
@@ -10431,6 +10479,7 @@
|
|
|
10431
10479
|
"../src/entity/customproduct.ts",
|
|
10432
10480
|
"../src/entity/customproductimage.ts",
|
|
10433
10481
|
"../src/entity/customvariant.ts",
|
|
10482
|
+
"../src/entity/ecom-user.ts",
|
|
10434
10483
|
"../src/entity/environmentconfiguration.ts",
|
|
10435
10484
|
"../src/entity/envtype.ts",
|
|
10436
10485
|
"../src/entity/exchangerate.ts",
|
|
@@ -10661,6 +10710,8 @@
|
|
|
10661
10710
|
"../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts",
|
|
10662
10711
|
"../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts",
|
|
10663
10712
|
"../src/migrations/1704739930074-test-origin-req.ts",
|
|
10713
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts",
|
|
10714
|
+
"../src/migrations/1707768053927-shopify-supplier-delete.ts",
|
|
10664
10715
|
"../src/migrations/execute/index.ts",
|
|
10665
10716
|
"../src/migrations/index.ts",
|
|
10666
10717
|
"../src/repositories/discount/index.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reachu/database",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.160",
|
|
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.
|
|
25
|
-
"@reachu/utils": "1.0.
|
|
24
|
+
"@reachu/logger": "1.0.160",
|
|
25
|
+
"@reachu/utils": "1.0.160",
|
|
26
26
|
"dotenv": "8.0.0",
|
|
27
27
|
"express": "4.17.1",
|
|
28
28
|
"mysql2": "1.5.2",
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Entity,
|
|
3
|
+
PrimaryGeneratedColumn,
|
|
4
|
+
DeleteDateColumn,
|
|
5
|
+
ManyToOne,
|
|
6
|
+
JoinColumn,
|
|
7
|
+
OneToMany,
|
|
8
|
+
Column,
|
|
9
|
+
} from 'typeorm';
|
|
10
|
+
|
|
11
|
+
import AuditedModel from './AuditedModel';
|
|
12
|
+
|
|
13
|
+
import { MagentoConnection } from './MagentoConnection.entity';
|
|
14
|
+
|
|
15
|
+
import ApiCredential from './ApiCredential';
|
|
16
|
+
import User from './User';
|
|
17
|
+
import ShopifyConnection from './ShopifyConnection';
|
|
18
|
+
import WooConnection from './WooConnection';
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@Entity()
|
|
22
|
+
export default class EcomUser extends AuditedModel {
|
|
23
|
+
@DeleteDateColumn()
|
|
24
|
+
deletedAt: Date;
|
|
25
|
+
|
|
26
|
+
@PrimaryGeneratedColumn()
|
|
27
|
+
id: number;
|
|
28
|
+
|
|
29
|
+
@Column('varchar', { nullable: true })
|
|
30
|
+
name: string;
|
|
31
|
+
|
|
32
|
+
@Column('boolean', { nullable: true, default: true })
|
|
33
|
+
active: boolean;
|
|
34
|
+
|
|
35
|
+
@ManyToOne(() => User, (user) => user.id, { onDelete: 'CASCADE' })
|
|
36
|
+
@JoinColumn()
|
|
37
|
+
user: User
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@ManyToOne(() => MagentoConnection, (magentoConnection) => magentoConnection.id, {
|
|
41
|
+
nullable: true,
|
|
42
|
+
})
|
|
43
|
+
@JoinColumn()
|
|
44
|
+
magentoConnection: MagentoConnection;
|
|
45
|
+
|
|
46
|
+
@ManyToOne(() => ShopifyConnection, (shopifyConnection) => shopifyConnection.id, {
|
|
47
|
+
nullable: true,
|
|
48
|
+
})
|
|
49
|
+
@JoinColumn()
|
|
50
|
+
shopifyConnection: ShopifyConnection;
|
|
51
|
+
|
|
52
|
+
@ManyToOne(() => WooConnection, (wooConnection) => wooConnection.id, {
|
|
53
|
+
nullable: true,
|
|
54
|
+
})
|
|
55
|
+
@JoinColumn()
|
|
56
|
+
wooConnection: WooConnection;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
@ManyToOne(() => ApiCredential, (apiCredential) => apiCredential.id, {
|
|
60
|
+
nullable: true,
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
@JoinColumn()
|
|
64
|
+
apiCredential: ApiCredential;
|
|
65
|
+
}
|
|
@@ -27,7 +27,7 @@ export default class ShopifyConnection extends AuditedModel {
|
|
|
27
27
|
@JoinColumn({ name: 'reseller_id', referencedColumnName: 'id' })
|
|
28
28
|
reseller: User;
|
|
29
29
|
|
|
30
|
-
@ManyToOne(() => User, (user) => user.
|
|
30
|
+
@ManyToOne(() => User, (user) => user.id, { onDelete: 'CASCADE', nullable: true })
|
|
31
31
|
@JoinColumn({ name: 'supplier_id', referencedColumnName: 'id' })
|
|
32
32
|
supplier: User;
|
|
33
33
|
|
package/src/entity/User.ts
CHANGED
|
@@ -169,10 +169,6 @@ export default class User extends AuditedModel {
|
|
|
169
169
|
@JoinColumn()
|
|
170
170
|
shopifyReseller: ShopifyConnection;
|
|
171
171
|
|
|
172
|
-
@OneToOne(() => ShopifyConnection, (connection) => connection.supplier, { eager: true })
|
|
173
|
-
@JoinColumn()
|
|
174
|
-
shopifySupplier: ShopifyConnection;
|
|
175
|
-
|
|
176
172
|
@OneToOne(() => MagentoConnection, (connection) => connection.user, { eager: true })
|
|
177
173
|
@JoinColumn()
|
|
178
174
|
magento: MagentoConnection;
|
package/src/entity/index.ts
CHANGED
|
@@ -118,6 +118,9 @@ import DiscountType from './modules/discount/DiscountType';
|
|
|
118
118
|
|
|
119
119
|
import MagentoBulk from './MagentoBulk';
|
|
120
120
|
|
|
121
|
+
import EcomUser from './Ecom-user';
|
|
122
|
+
|
|
123
|
+
|
|
121
124
|
export {
|
|
122
125
|
CustomVariant,
|
|
123
126
|
CustomProduct,
|
|
@@ -221,4 +224,5 @@ export {
|
|
|
221
224
|
ProductDigital,
|
|
222
225
|
EnvType,
|
|
223
226
|
MagentoBulk,
|
|
227
|
+
EcomUser
|
|
224
228
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class promoteToProduction260120241706273488135 implements MigrationInterface {
|
|
4
|
+
name = 'promoteToProduction260120241706273488135'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class shopifySupplierDelete1707768053927 implements MigrationInterface {
|
|
4
|
+
name = 'shopifySupplierDelete1707768053927'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`user\` DROP FOREIGN KEY \`FK_bb09b5baeed0eff98b89cb1ff57\``);
|
|
8
|
+
await queryRunner.query(`DROP INDEX \`REL_bb09b5baeed0eff98b89cb1ff5\` ON \`user\``);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE \`user\` DROP COLUMN \`shopify_supplier_id\``);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
13
|
+
await queryRunner.query(`ALTER TABLE \`user\` ADD \`shopify_supplier_id\` int NULL`);
|
|
14
|
+
await queryRunner.query(`CREATE UNIQUE INDEX \`REL_bb09b5baeed0eff98b89cb1ff5\` ON \`user\` (\`shopify_supplier_id\`)`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE \`user\` ADD CONSTRAINT \`FK_bb09b5baeed0eff98b89cb1ff57\` FOREIGN KEY (\`shopify_supplier_id\`) REFERENCES \`shopify_connection\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
}
|
|
@@ -63,6 +63,9 @@ import ProductCategory from '../entity/ProductCategory';
|
|
|
63
63
|
import ProductDigital from '../entity/ProductDigital';
|
|
64
64
|
import EnvType from '../entity/EnvType';
|
|
65
65
|
|
|
66
|
+
import EcomUser from '../entity/Ecom-user';
|
|
67
|
+
|
|
68
|
+
|
|
66
69
|
import {
|
|
67
70
|
CartItemRepository,
|
|
68
71
|
CartRepository,
|
|
@@ -291,6 +294,9 @@ export class EnvTypeRepository extends Repository<EnvType> {}
|
|
|
291
294
|
@EntityRepository(MagentoBulk)
|
|
292
295
|
export class MagentoBulkRepository extends Repository<MagentoBulk> {}
|
|
293
296
|
|
|
297
|
+
@EntityRepository(EcomUser)
|
|
298
|
+
export class EcomUserRepository extends Repository<EcomUser> {}
|
|
299
|
+
|
|
294
300
|
export {
|
|
295
301
|
CartItemRepository,
|
|
296
302
|
CartRepository,
|