@reachu/database 1.0.148 → 1.0.150
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/ImportedProduct.d.ts +2 -0
- package/dist/entity/ImportedProduct.js +6 -0
- package/dist/entity/ImportedProduct.js.map +1 -1
- package/dist/entity/MagentoBulk.d.ts +9 -0
- package/dist/entity/MagentoBulk.js +45 -0
- package/dist/entity/MagentoBulk.js.map +1 -0
- package/dist/entity/Product.entity.d.ts +2 -0
- package/dist/entity/Product.entity.js +8 -0
- package/dist/entity/Product.entity.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/helpers/products/storage/search.d.ts +2 -0
- package/dist/migrations/1703602386185-magento-bulk.d.ts +6 -0
- package/dist/migrations/1703602386185-magento-bulk.js +31 -0
- package/dist/migrations/1703602386185-magento-bulk.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 +49 -14
- package/package.json +3 -3
- package/src/entity/ImportedProduct.ts +6 -0
- package/src/entity/MagentoBulk.ts +29 -0
- package/src/entity/Product.entity.ts +7 -0
- package/src/entity/index.ts +3 -0
- package/src/migrations/1703602386185-magento-bulk.ts +16 -0
- package/src/repositories/index.ts +4 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Product } from './Product.entity';
|
|
2
2
|
import User from './User';
|
|
3
3
|
import ChannelUser from './ChannelUser';
|
|
4
|
+
import MagentoBulk from './MagentoBulk';
|
|
4
5
|
export default class ImportedProduct {
|
|
5
6
|
id: number;
|
|
6
7
|
deletedAt: Date;
|
|
@@ -15,4 +16,5 @@ export default class ImportedProduct {
|
|
|
15
16
|
profileId?: string;
|
|
16
17
|
profileWooId?: string;
|
|
17
18
|
channelUser: ChannelUser;
|
|
19
|
+
magentoBulk: MagentoBulk[];
|
|
18
20
|
}
|
|
@@ -16,6 +16,7 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const Product_entity_1 = require("./Product.entity");
|
|
17
17
|
const User_1 = __importDefault(require("./User"));
|
|
18
18
|
const ChannelUser_1 = __importDefault(require("./ChannelUser"));
|
|
19
|
+
const MagentoBulk_1 = __importDefault(require("./MagentoBulk"));
|
|
19
20
|
let ImportedProduct = class ImportedProduct {
|
|
20
21
|
};
|
|
21
22
|
__decorate([
|
|
@@ -73,6 +74,11 @@ __decorate([
|
|
|
73
74
|
typeorm_1.JoinColumn(),
|
|
74
75
|
__metadata("design:type", ChannelUser_1.default)
|
|
75
76
|
], ImportedProduct.prototype, "channelUser", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
typeorm_1.OneToMany(() => MagentoBulk_1.default, (item) => item.importedProduct, { cascade: true }),
|
|
79
|
+
typeorm_1.JoinColumn(),
|
|
80
|
+
__metadata("design:type", Array)
|
|
81
|
+
], ImportedProduct.prototype, "magentoBulk", void 0);
|
|
76
82
|
ImportedProduct = __decorate([
|
|
77
83
|
typeorm_1.Entity()
|
|
78
84
|
], ImportedProduct);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportedProduct.js","sourceRoot":"","sources":["../../src/entity/ImportedProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ImportedProduct.js","sourceRoot":"","sources":["../../src/entity/ImportedProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,qDAA2C;AAC3C,kDAA0B;AAC1B,gEAAwC;AACxC,gEAAwC;AAGxC,IAAqB,eAAe,GAApC,MAAqB,eAAe;CA8CnC,CAAA;AA5CC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;kDAAC;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAA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IADnC,gBAAM,EAAE;GACY,eAAe,CA8CnC;kBA9CoB,eAAe"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 ImportedProduct_1 = __importDefault(require("./ImportedProduct"));
|
|
18
|
+
let MagentoBulk = class MagentoBulk extends AuditedModel_1.default {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], MagentoBulk.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
typeorm_1.DeleteDateColumn(),
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], MagentoBulk.prototype, "deletedAt", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], MagentoBulk.prototype, "uuid", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], MagentoBulk.prototype, "action", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
typeorm_1.ManyToOne(() => ImportedProduct_1.default, { nullable: true }),
|
|
38
|
+
typeorm_1.JoinColumn(),
|
|
39
|
+
__metadata("design:type", ImportedProduct_1.default)
|
|
40
|
+
], MagentoBulk.prototype, "importedProduct", void 0);
|
|
41
|
+
MagentoBulk = __decorate([
|
|
42
|
+
typeorm_1.Entity()
|
|
43
|
+
], MagentoBulk);
|
|
44
|
+
exports.default = MagentoBulk;
|
|
45
|
+
//# sourceMappingURL=MagentoBulk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MagentoBulk.js","sourceRoot":"","sources":["../../src/entity/MagentoBulk.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,kEAA0C;AAC1C,wEAAgD;AAGhD,IAAqB,WAAW,GAAhC,MAAqB,WAAY,SAAQ,sBAAY;CAgBpD,CAAA;AAdC;IADC,gCAAsB,EAAE;;uCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;8CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACxB;AAGd;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,yBAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACpD,oBAAU,EAAE;8BACK,yBAAe;oDAAC;AAff,WAAW;IAD/B,gBAAM,EAAE;GACY,WAAW,CAgB/B;kBAhBoB,WAAW"}
|
|
@@ -11,6 +11,7 @@ import { Price } from './Price.entity';
|
|
|
11
11
|
import ProductShipping from './modules/shipping/ProductShipping';
|
|
12
12
|
import { CustomProduct } from './CustomProduct';
|
|
13
13
|
import ProductAttribute from './ProductAttribute';
|
|
14
|
+
import ProductCategory from './ProductCategory';
|
|
14
15
|
export declare class Product extends AuditedModel {
|
|
15
16
|
id: number;
|
|
16
17
|
deletedAt: Date;
|
|
@@ -59,6 +60,7 @@ export declare class Product extends AuditedModel {
|
|
|
59
60
|
productAttribute: ProductAttribute[];
|
|
60
61
|
testOrigen: boolean;
|
|
61
62
|
demo: boolean;
|
|
63
|
+
productCategory: ProductCategory[];
|
|
62
64
|
convertNumerics(): void;
|
|
63
65
|
static getCacheKey(id: any, currency: any): string;
|
|
64
66
|
static invalidateCache(productId: any, removeCache: (key: any) => Promise<void>): Promise<void>;
|
|
@@ -39,6 +39,7 @@ const Price_entity_1 = require("./Price.entity");
|
|
|
39
39
|
const ProductShipping_1 = __importDefault(require("./modules/shipping/ProductShipping"));
|
|
40
40
|
const CustomProduct_1 = require("./CustomProduct");
|
|
41
41
|
const ProductAttribute_1 = __importDefault(require("./ProductAttribute"));
|
|
42
|
+
const ProductCategory_1 = __importDefault(require("./ProductCategory"));
|
|
42
43
|
let Product = Product_1 = class Product extends AuditedModel_1.default {
|
|
43
44
|
convertNumerics() {
|
|
44
45
|
const diff = (this.referralFee * this.publicPrice) / 100;
|
|
@@ -261,6 +262,13 @@ __decorate([
|
|
|
261
262
|
typeorm_1.Column('boolean', { default: false }),
|
|
262
263
|
__metadata("design:type", Boolean)
|
|
263
264
|
], Product.prototype, "demo", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
typeorm_1.OneToMany(() => ProductCategory_1.default, (productCategory) => productCategory.product, {
|
|
267
|
+
cascade: false,
|
|
268
|
+
}),
|
|
269
|
+
typeorm_1.JoinColumn(),
|
|
270
|
+
__metadata("design:type", Array)
|
|
271
|
+
], Product.prototype, "productCategory", void 0);
|
|
264
272
|
__decorate([
|
|
265
273
|
typeorm_1.AfterLoad(),
|
|
266
274
|
__metadata("design:type", Function),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.entity.js","sourceRoot":"","sources":["../../src/entity/Product.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAaiB;AACjB,kDAA0B;AAC1B,gEAAwC;AACxC,wDAAgC;AAChC,kEAA0C;AAC1C,sDAA8B;AAC9B,oDAA4B;AAC5B,wDAAgC;AAChC,0DAAkC;AAClC,wEAAgD;AAChD,2CAAwC;AACxC,qDAAoD;AACpD,iDAAuC;AACvC,yFAAiE;AACjE,mDAAgD;AAChD,0EAAkD;
|
|
1
|
+
{"version":3,"file":"Product.entity.js","sourceRoot":"","sources":["../../src/entity/Product.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAaiB;AACjB,kDAA0B;AAC1B,gEAAwC;AACxC,wDAAgC;AAChC,kEAA0C;AAC1C,sDAA8B;AAC9B,oDAA4B;AAC5B,wDAAgC;AAChC,0DAAkC;AAClC,wEAAgD;AAChD,2CAAwC;AACxC,qDAAoD;AACpD,iDAAuC;AACvC,yFAAiE;AACjE,mDAAgD;AAChD,0EAAkD;AAClD,wEAAgD;AAGhD,IAAa,OAAO,eAApB,MAAa,OAAQ,SAAQ,sBAAY;IAqKvC,eAAe;QACb,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,GAAG,CAAC;QACzD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;IACnE,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,EAAE,EAAE,QAAQ;QAC7B,OAAO,WAAW,EAAE,IAAI,QAAQ,EAAE,CAAC;IACrC,CAAC;IAED,MAAM,CAAO,eAAe,CA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BAAS,CAAC,GAAG,EAAE,CAAC,yBAAe,EAAE,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE;QAC/F,OAAO,EAAE,IAAI;KACd,CAAC;IACD,oBAAU,EAAE;;gDACsB;AAInC;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,6BAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACjG,oBAAU,EAAE;8BACE,6BAAa;8CAAC;AAQ7B;IANC,mBAAS,CACR,GAAG,EAAE,CAAC,0BAAgB,EACtB,CAAC,gBAAkC,EAAE,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAChE,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;IACA,oBAAU,EAAE;;iDACwB;AAGrC;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2CAClB;AAGpB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qCACxB;AAMd;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,yBAAe,EAAE,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE;QAC/F,OAAO,EAAE,KAAK;KACf,CAAC;IACD,oBAAU,EAAE;;gDACsB;AAGnC;IADC,mBAAS,EAAE;;;;8CAIX;AAxKU,OAAO;IADnB,gBAAM,EAAE;GACI,OAAO,CAgMnB;AAhMY,0BAAO"}
|
package/dist/entity/index.d.ts
CHANGED
|
@@ -99,4 +99,5 @@ import Discount from './modules/discount/Discount';
|
|
|
99
99
|
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
|
+
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, };
|
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.EnvType = void 0;
|
|
8
|
+
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"));
|
|
@@ -208,4 +208,6 @@ const DiscountProduct_1 = __importDefault(require("./modules/discount/DiscountPr
|
|
|
208
208
|
exports.DiscountProduct = DiscountProduct_1.default;
|
|
209
209
|
const DiscountType_1 = __importDefault(require("./modules/discount/DiscountType"));
|
|
210
210
|
exports.DiscountType = DiscountType_1.default;
|
|
211
|
+
const MagentoBulk_1 = __importDefault(require("./MagentoBulk"));
|
|
212
|
+
exports.MagentoBulk = MagentoBulk_1.default;
|
|
211
213
|
//# 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;AAqI9B,kBArIK,iBAAO,CAqIL;AApIT,oEAA4C;AAqI1C,wBArIK,uBAAa,CAqIL;AApIf,kEAA0C;AAqIxC,uBArIK,sBAAY,CAqIL;AApId,gEAAwC;AAqItC,sBArIK,qBAAW,CAqIL;AApIb,0DAAkC;AAqIhC,mBArIK,kBAAQ,CAqIL;AApIV,0EAAkD;AAqIhD,2BArIK,0BAAgB,CAqIL;AApIlB,0EAAkD;AAqIhD,2BArIK,0BAAgB,CAqIL;AApIlB,0DAAkC;AAqIhC,mBArIK,kBAAQ,CAqIL;AApIV,wDAAgC;AAqI9B,kBArIK,iBAAO,CAqIL;AApIT,oDAA4B;AAqI1B,gBArIK,eAAK,CAqIL;AApIP,0EAAkD;AAqIhD,2BArIK,0BAAgB,CAqIL;AApIlB,wDAAgC;AAqI9B,kBArIK,iBAAO,CAqIL;AApIT,wDAAgC;AAqI9B,kBArIK,iBAAO,CAqIL;AApIT,wDAAgC;AAqI9B,kBArIK,iBAAO,CA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xGK,sBAAY,CAwGL;AAvGd,0FAAkE;AAwGhE,wBAxGK,uBAAa,CAwGL;AAtGf,4DAAoC;AAwGlC,oBAxGK,mBAAS,CAwGL;AAvGX,8DAAsC;AAwGpC,qBAxGK,oBAAU,CAwGL;AArGZ,2EAAmD;AAsGjD,mBAtGK,kBAAQ,CAsGL;AArGV,mFAA2D;AAsGzD,uBAtGK,sBAAY,CAsGL;AArGd,yFAAiE;AAsG/D,0BAtGK,yBAAe,CAsGL;AArGjB,mFAA2D;AAsGzD,uBAtGK,sBAAY,CAsGL;AApGd,gEAAwC;AAwGtC,sBAxGK,qBAAW,CAwGL"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import ImportedProduct from '../../../entity/ImportedProduct';
|
|
2
|
+
import { ProductCategory } from '../../../entity';
|
|
2
3
|
export declare const find: (page?: number, size?: number, filters?: {}) => Promise<{
|
|
3
4
|
items: any;
|
|
4
5
|
total: any;
|
|
@@ -51,6 +52,7 @@ export declare const findById: (id: any, loggedUser: any) => Promise<{
|
|
|
51
52
|
productAttribute: import("../../../entity").ProductAttribute[];
|
|
52
53
|
testOrigen: boolean;
|
|
53
54
|
demo: boolean;
|
|
55
|
+
productCategory: ProductCategory[];
|
|
54
56
|
createdAt?: Date;
|
|
55
57
|
updatedAt?: Date;
|
|
56
58
|
}>;
|
|
@@ -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.magentoBulk1703602386185 = void 0;
|
|
13
|
+
class magentoBulk1703602386185 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'magentoBulk1703602386185';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`CREATE TABLE \`magento_bulk\` (\`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, \`uuid\` varchar(255) NULL, \`action\` varchar(255) NULL, \`imported_product_id\` int NULL, PRIMARY KEY (\`id\`)) ENGINE=InnoDB`);
|
|
20
|
+
yield queryRunner.query(`ALTER TABLE \`magento_bulk\` ADD CONSTRAINT \`FK_04a3ebffec96589609badc811e6\` FOREIGN KEY (\`imported_product_id\`) REFERENCES \`imported_product\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
down(queryRunner) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
yield queryRunner.query(`ALTER TABLE \`magento_bulk\` DROP FOREIGN KEY \`FK_04a3ebffec96589609badc811e6\``);
|
|
26
|
+
yield queryRunner.query(`DROP TABLE \`magento_bulk\``);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.magentoBulk1703602386185 = magentoBulk1703602386185;
|
|
31
|
+
//# sourceMappingURL=1703602386185-magento-bulk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1703602386185-magento-bulk.js","sourceRoot":"","sources":["../../src/migrations/1703602386185-magento-bulk.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,wBAAwB;IAArC;QACI,SAAI,GAAG,0BAA0B,CAAA;IAYrC,CAAC;IAVgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wYAAwY,CAAC,CAAC;YACla,MAAM,WAAW,CAAC,KAAK,CAAC,sMAAsM,CAAC,CAAC;QACpO,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,kFAAkF,CAAC,CAAC;YAC5G,MAAM,WAAW,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;QAC3D,CAAC;KAAA;CAEJ;AAbD,4DAaC"}
|
|
@@ -64,6 +64,7 @@ import { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepo
|
|
|
64
64
|
import { DiscountRepository, DiscountCartRepository, DiscountProductRepository, DiscountTypeRepository } from './discount';
|
|
65
65
|
import { PlanRepository, SubscriptionRepository, UserCountPlanRepository } from './subscriptions';
|
|
66
66
|
import { Repository } from 'typeorm';
|
|
67
|
+
import { MagentoBulk } from '../entity';
|
|
67
68
|
export declare class CategoryImagesRepository extends Repository<CategoryImages> {
|
|
68
69
|
}
|
|
69
70
|
export declare class ProductAttributeRepository extends Repository<ProductAttribute> {
|
|
@@ -184,6 +185,8 @@ export declare class ProductDigitalRepository extends Repository<ProductDigital>
|
|
|
184
185
|
}
|
|
185
186
|
export declare class EnvTypeRepository extends Repository<EnvType> {
|
|
186
187
|
}
|
|
188
|
+
export declare class MagentoBulkRepository extends Repository<MagentoBulk> {
|
|
189
|
+
}
|
|
187
190
|
export { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository, };
|
|
188
191
|
export { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository, };
|
|
189
192
|
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.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.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"));
|
|
@@ -108,6 +108,7 @@ Object.defineProperty(exports, "PlanRepository", { enumerable: true, get: functi
|
|
|
108
108
|
Object.defineProperty(exports, "SubscriptionRepository", { enumerable: true, get: function () { return subscriptions_1.SubscriptionRepository; } });
|
|
109
109
|
Object.defineProperty(exports, "UserCountPlanRepository", { enumerable: true, get: function () { return subscriptions_1.UserCountPlanRepository; } });
|
|
110
110
|
const typeorm_1 = require("typeorm");
|
|
111
|
+
const entity_1 = require("../entity");
|
|
111
112
|
let CategoryImagesRepository = class CategoryImagesRepository extends typeorm_1.Repository {
|
|
112
113
|
};
|
|
113
114
|
CategoryImagesRepository = __decorate([
|
|
@@ -468,4 +469,10 @@ EnvTypeRepository = __decorate([
|
|
|
468
469
|
typeorm_1.EntityRepository(EnvType_1.default)
|
|
469
470
|
], EnvTypeRepository);
|
|
470
471
|
exports.EnvTypeRepository = EnvTypeRepository;
|
|
472
|
+
let MagentoBulkRepository = class MagentoBulkRepository extends typeorm_1.Repository {
|
|
473
|
+
};
|
|
474
|
+
MagentoBulkRepository = __decorate([
|
|
475
|
+
typeorm_1.EntityRepository(entity_1.MagentoBulk)
|
|
476
|
+
], MagentoBulkRepository);
|
|
477
|
+
exports.MagentoBulkRepository = MagentoBulkRepository;
|
|
471
478
|
//# 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;AACp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CAAA;AAA9D,wBAAwB;IADpC,0BAAgB,CAAC,wBAAc,CAAC;GACpB,wBAAwB,CAAsC;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"}
|
|
@@ -2421,9 +2421,14 @@
|
|
|
2421
2421
|
"signature": "21e01b387406871f1f540b7722119f5bc2f9fe941fd3edacf95eee84db35dd50",
|
|
2422
2422
|
"affectsGlobalScope": false
|
|
2423
2423
|
},
|
|
2424
|
+
"../src/entity/magentobulk.ts": {
|
|
2425
|
+
"version": "132bbb21a7459533a69211dfc4edfcf607015448b1ae8d11c93dbb538affddaa",
|
|
2426
|
+
"signature": "e26188694b78934663e78f87f3f27fc878fec280f31dedb2f72c3dbf7ae0c70c",
|
|
2427
|
+
"affectsGlobalScope": false
|
|
2428
|
+
},
|
|
2424
2429
|
"../src/entity/importedproduct.ts": {
|
|
2425
|
-
"version": "
|
|
2426
|
-
"signature": "
|
|
2430
|
+
"version": "bad54721ea5016dc92d27eb3a73367d91f808504f98c6ba438a27d7219a25d39",
|
|
2431
|
+
"signature": "0cae2a58ab03f2e6a12e3d4469d87796c5cf3ee16218523b59289600c923c49e",
|
|
2427
2432
|
"affectsGlobalScope": false
|
|
2428
2433
|
},
|
|
2429
2434
|
"../src/staticdata/currency.ts": {
|
|
@@ -2496,9 +2501,14 @@
|
|
|
2496
2501
|
"signature": "ad4af02efb2513ca7f4195e57e966e7cdd7c36d89081c66eb3c7e429bbd3c027",
|
|
2497
2502
|
"affectsGlobalScope": false
|
|
2498
2503
|
},
|
|
2504
|
+
"../src/entity/productcategory.ts": {
|
|
2505
|
+
"version": "053ca7c6273ab6993decd9ce3aa559d58c9087f16a9bec46458c912a77be6de8",
|
|
2506
|
+
"signature": "416f9204d08d97b17fdf41693dbcbcfa003c5b1ae6e4e4d9986895d5dd5a93a9",
|
|
2507
|
+
"affectsGlobalScope": false
|
|
2508
|
+
},
|
|
2499
2509
|
"../src/entity/product.entity.ts": {
|
|
2500
|
-
"version": "
|
|
2501
|
-
"signature": "
|
|
2510
|
+
"version": "97ace5179a47f178d9614fc1d7ac6bedf7d9e756252490f8ed4c0c8d96fa1777",
|
|
2511
|
+
"signature": "4fbf38360e431ed686c5c47e72e5b2884d83307b088cb32c502958fa48cd9b7c",
|
|
2502
2512
|
"affectsGlobalScope": false
|
|
2503
2513
|
},
|
|
2504
2514
|
"../src/entity/paymentshopify.ts": {
|
|
@@ -2646,11 +2656,6 @@
|
|
|
2646
2656
|
"signature": "7fcdec100c9f2117182bee40540c09ef5c38cc643a1dca4a483fdf44f5059c40",
|
|
2647
2657
|
"affectsGlobalScope": false
|
|
2648
2658
|
},
|
|
2649
|
-
"../src/entity/productcategory.ts": {
|
|
2650
|
-
"version": "053ca7c6273ab6993decd9ce3aa559d58c9087f16a9bec46458c912a77be6de8",
|
|
2651
|
-
"signature": "416f9204d08d97b17fdf41693dbcbcfa003c5b1ae6e4e4d9986895d5dd5a93a9",
|
|
2652
|
-
"affectsGlobalScope": false
|
|
2653
|
-
},
|
|
2654
2659
|
"../src/entity/productdigital.ts": {
|
|
2655
2660
|
"version": "989b057359e066a2ce1c34f0aa91454059fc46e8f37175c6fe9ffaaf00e5650a",
|
|
2656
2661
|
"signature": "4c22461d61097d49110c56091273e5ab123a2073f8976b99375d34b8dc015a90",
|
|
@@ -2762,8 +2767,8 @@
|
|
|
2762
2767
|
"affectsGlobalScope": false
|
|
2763
2768
|
},
|
|
2764
2769
|
"../src/entity/index.ts": {
|
|
2765
|
-
"version": "
|
|
2766
|
-
"signature": "
|
|
2770
|
+
"version": "9969afdf430c24e2b23dd6b911ac234939210a2d3e5e3e0252e8c379ab1d7d91",
|
|
2771
|
+
"signature": "6a1e93af497029fce63c19d6768a20d4c05171fd8e0502a355d1ef6101466ce8",
|
|
2767
2772
|
"affectsGlobalScope": false
|
|
2768
2773
|
},
|
|
2769
2774
|
"../src/staticdata/productorigin.ts": {
|
|
@@ -2847,8 +2852,8 @@
|
|
|
2847
2852
|
"affectsGlobalScope": false
|
|
2848
2853
|
},
|
|
2849
2854
|
"../src/repositories/index.ts": {
|
|
2850
|
-
"version": "
|
|
2851
|
-
"signature": "
|
|
2855
|
+
"version": "1bd360ef85d94371b4fe663b06236f94e895a439e1e18996c2e8dde85f86da52",
|
|
2856
|
+
"signature": "811b05a7aa0428a611c05c58f1f1a2a827a652225b138b559a0212e4bff938d4",
|
|
2852
2857
|
"affectsGlobalScope": false
|
|
2853
2858
|
},
|
|
2854
2859
|
"../src/subscribers/productsubscriber.ts": {
|
|
@@ -2978,7 +2983,7 @@
|
|
|
2978
2983
|
},
|
|
2979
2984
|
"../src/helpers/products/storage/search.ts": {
|
|
2980
2985
|
"version": "86559e9248f12404f40e1178ba1f06be96eb2092c10fad478dbef4196a0f6df3",
|
|
2981
|
-
"signature": "
|
|
2986
|
+
"signature": "78196f963a5e88abcf91508292263209edb4fe130011eb36a11a551890cc49c6",
|
|
2982
2987
|
"affectsGlobalScope": false
|
|
2983
2988
|
},
|
|
2984
2989
|
"../src/helpers/products/storage/index.ts": {
|
|
@@ -3636,6 +3641,11 @@
|
|
|
3636
3641
|
"signature": "a53c93a166c4991611aa0c73731c5dae77e96569e2841ebb716c5b44d15c2adc",
|
|
3637
3642
|
"affectsGlobalScope": false
|
|
3638
3643
|
},
|
|
3644
|
+
"../src/migrations/1703602386185-magento-bulk.ts": {
|
|
3645
|
+
"version": "4e9fa4e6f82e996fe5f1928b43aa5c744000237144775dead0e4f0a1326f191c",
|
|
3646
|
+
"signature": "b7ed013058ad058892c10351170d8dd95777ac0ac5239634cf0cec0ce263f1ee",
|
|
3647
|
+
"affectsGlobalScope": false
|
|
3648
|
+
},
|
|
3639
3649
|
"../src/migrations/execute/index.ts": {
|
|
3640
3650
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3641
3651
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
@@ -5759,6 +5769,7 @@
|
|
|
5759
5769
|
"../src/entity/importedproduct.ts": [
|
|
5760
5770
|
"../node_modules/typeorm/index.d.ts",
|
|
5761
5771
|
"../src/entity/channeluser.ts",
|
|
5772
|
+
"../src/entity/magentobulk.ts",
|
|
5762
5773
|
"../src/entity/product.entity.ts",
|
|
5763
5774
|
"../src/entity/user.ts"
|
|
5764
5775
|
],
|
|
@@ -5799,6 +5810,7 @@
|
|
|
5799
5810
|
"../src/entity/fulfillment.ts",
|
|
5800
5811
|
"../src/entity/image.ts",
|
|
5801
5812
|
"../src/entity/importedproduct.ts",
|
|
5813
|
+
"../src/entity/magentobulk.ts",
|
|
5802
5814
|
"../src/entity/magentoconnection.entity.ts",
|
|
5803
5815
|
"../src/entity/metricactiveuser.ts",
|
|
5804
5816
|
"../src/entity/modules/discount/discount.ts",
|
|
@@ -5865,6 +5877,11 @@
|
|
|
5865
5877
|
"../src/entity/wallet.ts",
|
|
5866
5878
|
"../src/entity/wooconnection.ts"
|
|
5867
5879
|
],
|
|
5880
|
+
"../src/entity/magentobulk.ts": [
|
|
5881
|
+
"../node_modules/typeorm/index.d.ts",
|
|
5882
|
+
"../src/entity/auditedmodel.ts",
|
|
5883
|
+
"../src/entity/importedproduct.ts"
|
|
5884
|
+
],
|
|
5868
5885
|
"../src/entity/magentoconnection.entity.ts": [
|
|
5869
5886
|
"../node_modules/typeorm/index.d.ts",
|
|
5870
5887
|
"../src/entity/user.ts"
|
|
@@ -6143,6 +6160,7 @@
|
|
|
6143
6160
|
"../src/entity/option.ts",
|
|
6144
6161
|
"../src/entity/price.entity.ts",
|
|
6145
6162
|
"../src/entity/productattribute.ts",
|
|
6163
|
+
"../src/entity/productcategory.ts",
|
|
6146
6164
|
"../src/entity/subcategory.ts",
|
|
6147
6165
|
"../src/entity/user.ts",
|
|
6148
6166
|
"../src/entity/variant.ts",
|
|
@@ -6719,6 +6737,9 @@
|
|
|
6719
6737
|
"../src/migrations/1702310388602-order-channel-order-name-default.ts": [
|
|
6720
6738
|
"../node_modules/typeorm/index.d.ts"
|
|
6721
6739
|
],
|
|
6740
|
+
"../src/migrations/1703602386185-magento-bulk.ts": [
|
|
6741
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6742
|
+
],
|
|
6722
6743
|
"../src/migrations/execute/index.ts": [
|
|
6723
6744
|
"../src/config/connect.ts"
|
|
6724
6745
|
],
|
|
@@ -6773,6 +6794,7 @@
|
|
|
6773
6794
|
"../src/entity/flatratecountry.ts",
|
|
6774
6795
|
"../src/entity/image.ts",
|
|
6775
6796
|
"../src/entity/importedproduct.ts",
|
|
6797
|
+
"../src/entity/index.ts",
|
|
6776
6798
|
"../src/entity/magentoconnection.entity.ts",
|
|
6777
6799
|
"../src/entity/metricactiveuser.ts",
|
|
6778
6800
|
"../src/entity/notification.ts",
|
|
@@ -8799,6 +8821,7 @@
|
|
|
8799
8821
|
],
|
|
8800
8822
|
"../src/entity/importedproduct.ts": [
|
|
8801
8823
|
"../src/entity/channeluser.ts",
|
|
8824
|
+
"../src/entity/magentobulk.ts",
|
|
8802
8825
|
"../src/entity/product.entity.ts",
|
|
8803
8826
|
"../src/entity/user.ts"
|
|
8804
8827
|
],
|
|
@@ -8839,6 +8862,7 @@
|
|
|
8839
8862
|
"../src/entity/fulfillment.ts",
|
|
8840
8863
|
"../src/entity/image.ts",
|
|
8841
8864
|
"../src/entity/importedproduct.ts",
|
|
8865
|
+
"../src/entity/magentobulk.ts",
|
|
8842
8866
|
"../src/entity/magentoconnection.entity.ts",
|
|
8843
8867
|
"../src/entity/metricactiveuser.ts",
|
|
8844
8868
|
"../src/entity/modules/discount/discount.ts",
|
|
@@ -8905,6 +8929,10 @@
|
|
|
8905
8929
|
"../src/entity/wallet.ts",
|
|
8906
8930
|
"../src/entity/wooconnection.ts"
|
|
8907
8931
|
],
|
|
8932
|
+
"../src/entity/magentobulk.ts": [
|
|
8933
|
+
"../src/entity/auditedmodel.ts",
|
|
8934
|
+
"../src/entity/importedproduct.ts"
|
|
8935
|
+
],
|
|
8908
8936
|
"../src/entity/magentoconnection.entity.ts": [
|
|
8909
8937
|
"../src/entity/user.ts"
|
|
8910
8938
|
],
|
|
@@ -9127,6 +9155,7 @@
|
|
|
9127
9155
|
"../src/entity/option.ts",
|
|
9128
9156
|
"../src/entity/price.entity.ts",
|
|
9129
9157
|
"../src/entity/productattribute.ts",
|
|
9158
|
+
"../src/entity/productcategory.ts",
|
|
9130
9159
|
"../src/entity/subcategory.ts",
|
|
9131
9160
|
"../src/entity/user.ts",
|
|
9132
9161
|
"../src/entity/variant.ts"
|
|
@@ -9657,6 +9686,9 @@
|
|
|
9657
9686
|
"../src/migrations/1702310388602-order-channel-order-name-default.ts": [
|
|
9658
9687
|
"../node_modules/typeorm/index.d.ts"
|
|
9659
9688
|
],
|
|
9689
|
+
"../src/migrations/1703602386185-magento-bulk.ts": [
|
|
9690
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9691
|
+
],
|
|
9660
9692
|
"../src/migrations/index.ts": [
|
|
9661
9693
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9662
9694
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9708,6 +9740,7 @@
|
|
|
9708
9740
|
"../src/entity/flatratecountry.ts",
|
|
9709
9741
|
"../src/entity/image.ts",
|
|
9710
9742
|
"../src/entity/importedproduct.ts",
|
|
9743
|
+
"../src/entity/index.ts",
|
|
9711
9744
|
"../src/entity/magentoconnection.entity.ts",
|
|
9712
9745
|
"../src/entity/metricactiveuser.ts",
|
|
9713
9746
|
"../src/entity/notification.ts",
|
|
@@ -10331,6 +10364,7 @@
|
|
|
10331
10364
|
"../src/entity/image.ts",
|
|
10332
10365
|
"../src/entity/importedproduct.ts",
|
|
10333
10366
|
"../src/entity/index.ts",
|
|
10367
|
+
"../src/entity/magentobulk.ts",
|
|
10334
10368
|
"../src/entity/magentoconnection.entity.ts",
|
|
10335
10369
|
"../src/entity/metricactiveuser.ts",
|
|
10336
10370
|
"../src/entity/modules/discount/discount.ts",
|
|
@@ -10542,6 +10576,7 @@
|
|
|
10542
10576
|
"../src/migrations/1701969845764-promote_to_qa_07_12_23.ts",
|
|
10543
10577
|
"../src/migrations/1702302929376-order-item-varianttitle-nullable.ts",
|
|
10544
10578
|
"../src/migrations/1702310388602-order-channel-order-name-default.ts",
|
|
10579
|
+
"../src/migrations/1703602386185-magento-bulk.ts",
|
|
10545
10580
|
"../src/migrations/execute/index.ts",
|
|
10546
10581
|
"../src/migrations/index.ts",
|
|
10547
10582
|
"../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.150",
|
|
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.150",
|
|
25
|
+
"@reachu/utils": "1.0.150",
|
|
26
26
|
"dotenv": "8.0.0",
|
|
27
27
|
"express": "4.17.1",
|
|
28
28
|
"mysql2": "1.5.2",
|
|
@@ -5,10 +5,12 @@ import {
|
|
|
5
5
|
JoinColumn,
|
|
6
6
|
Column,
|
|
7
7
|
DeleteDateColumn,
|
|
8
|
+
OneToMany,
|
|
8
9
|
} from 'typeorm';
|
|
9
10
|
import { Product } from './Product.entity';
|
|
10
11
|
import User from './User';
|
|
11
12
|
import ChannelUser from './ChannelUser';
|
|
13
|
+
import MagentoBulk from './MagentoBulk';
|
|
12
14
|
|
|
13
15
|
@Entity()
|
|
14
16
|
export default class ImportedProduct {
|
|
@@ -53,4 +55,8 @@ export default class ImportedProduct {
|
|
|
53
55
|
@ManyToOne(() => ChannelUser, { nullable: true })
|
|
54
56
|
@JoinColumn()
|
|
55
57
|
channelUser: ChannelUser;
|
|
58
|
+
|
|
59
|
+
@OneToMany(() => MagentoBulk, (item: MagentoBulk) => item.importedProduct, { cascade: true })
|
|
60
|
+
@JoinColumn()
|
|
61
|
+
magentoBulk: MagentoBulk[];
|
|
56
62
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Entity,
|
|
3
|
+
PrimaryGeneratedColumn,
|
|
4
|
+
ManyToOne,
|
|
5
|
+
JoinColumn,
|
|
6
|
+
Column,
|
|
7
|
+
DeleteDateColumn,
|
|
8
|
+
} from 'typeorm';
|
|
9
|
+
import AuditedModel from './AuditedModel';
|
|
10
|
+
import ImportedProduct from './ImportedProduct';
|
|
11
|
+
|
|
12
|
+
@Entity()
|
|
13
|
+
export default class MagentoBulk extends AuditedModel {
|
|
14
|
+
@PrimaryGeneratedColumn()
|
|
15
|
+
id: number;
|
|
16
|
+
|
|
17
|
+
@DeleteDateColumn()
|
|
18
|
+
deletedAt: Date;
|
|
19
|
+
|
|
20
|
+
@Column('varchar', { nullable: true })
|
|
21
|
+
uuid?: string;
|
|
22
|
+
|
|
23
|
+
@Column('varchar', { nullable: true })
|
|
24
|
+
action?: string;
|
|
25
|
+
|
|
26
|
+
@ManyToOne(() => ImportedProduct, { nullable: true })
|
|
27
|
+
@JoinColumn()
|
|
28
|
+
importedProduct?: ImportedProduct;
|
|
29
|
+
}
|
|
@@ -27,6 +27,7 @@ import { Price } from './Price.entity';
|
|
|
27
27
|
import ProductShipping from './modules/shipping/ProductShipping';
|
|
28
28
|
import { CustomProduct } from './CustomProduct';
|
|
29
29
|
import ProductAttribute from './ProductAttribute';
|
|
30
|
+
import ProductCategory from './ProductCategory';
|
|
30
31
|
|
|
31
32
|
@Entity()
|
|
32
33
|
export class Product extends AuditedModel {
|
|
@@ -187,6 +188,12 @@ export class Product extends AuditedModel {
|
|
|
187
188
|
@Column('boolean', { default: false })
|
|
188
189
|
demo: boolean;
|
|
189
190
|
|
|
191
|
+
@OneToMany(() => ProductCategory, (productCategory: ProductCategory) => productCategory.product, {
|
|
192
|
+
cascade: false,
|
|
193
|
+
})
|
|
194
|
+
@JoinColumn()
|
|
195
|
+
productCategory: ProductCategory[];
|
|
196
|
+
|
|
190
197
|
@AfterLoad()
|
|
191
198
|
convertNumerics() {
|
|
192
199
|
const diff = (this.referralFee * this.publicPrice) / 100;
|
package/src/entity/index.ts
CHANGED
|
@@ -116,6 +116,8 @@ import DiscountCart from './modules/discount/DiscountCart';
|
|
|
116
116
|
import DiscountProduct from './modules/discount/DiscountProduct';
|
|
117
117
|
import DiscountType from './modules/discount/DiscountType';
|
|
118
118
|
|
|
119
|
+
import MagentoBulk from './MagentoBulk';
|
|
120
|
+
|
|
119
121
|
export {
|
|
120
122
|
CustomVariant,
|
|
121
123
|
CustomProduct,
|
|
@@ -218,4 +220,5 @@ export {
|
|
|
218
220
|
ProductCategory,
|
|
219
221
|
ProductDigital,
|
|
220
222
|
EnvType,
|
|
223
|
+
MagentoBulk,
|
|
221
224
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class magentoBulk1703602386185 implements MigrationInterface {
|
|
4
|
+
name = 'magentoBulk1703602386185'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`CREATE TABLE \`magento_bulk\` (\`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, \`uuid\` varchar(255) NULL, \`action\` varchar(255) NULL, \`imported_product_id\` int NULL, PRIMARY KEY (\`id\`)) ENGINE=InnoDB`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE \`magento_bulk\` ADD CONSTRAINT \`FK_04a3ebffec96589609badc811e6\` FOREIGN KEY (\`imported_product_id\`) REFERENCES \`imported_product\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
12
|
+
await queryRunner.query(`ALTER TABLE \`magento_bulk\` DROP FOREIGN KEY \`FK_04a3ebffec96589609badc811e6\``);
|
|
13
|
+
await queryRunner.query(`DROP TABLE \`magento_bulk\``);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
@@ -106,6 +106,7 @@ import {
|
|
|
106
106
|
import { PlanRepository, SubscriptionRepository, UserCountPlanRepository } from './subscriptions';
|
|
107
107
|
|
|
108
108
|
import { Repository, EntityRepository } from 'typeorm';
|
|
109
|
+
import { MagentoBulk } from '../entity';
|
|
109
110
|
|
|
110
111
|
@EntityRepository(CategoryImages)
|
|
111
112
|
export class CategoryImagesRepository extends Repository<CategoryImages> {}
|
|
@@ -287,6 +288,9 @@ export class ProductDigitalRepository extends Repository<ProductDigital> {}
|
|
|
287
288
|
@EntityRepository(EnvType)
|
|
288
289
|
export class EnvTypeRepository extends Repository<EnvType> {}
|
|
289
290
|
|
|
291
|
+
@EntityRepository(MagentoBulk)
|
|
292
|
+
export class MagentoBulkRepository extends Repository<MagentoBulk> {}
|
|
293
|
+
|
|
290
294
|
export {
|
|
291
295
|
CartItemRepository,
|
|
292
296
|
CartRepository,
|