@reachu/database 1.0.149 → 1.0.152
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/index.d.ts +2 -1
- package/dist/entity/index.js +3 -1
- package/dist/entity/index.js.map +1 -1
- package/dist/migrations/1702403624303-promote_to_prod_12_12_23.d.ts +6 -0
- package/dist/migrations/1702403624303-promote_to_prod_12_12_23.js +67 -0
- package/dist/migrations/1702403624303-promote_to_prod_12_12_23.js.map +1 -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 +132 -53
- package/package.json +3 -3
- package/src/entity/ImportedProduct.ts +6 -0
- package/src/entity/MagentoBulk.ts +29 -0
- package/src/entity/index.ts +3 -0
- package/src/migrations/1702403624303-promote_to_prod_12_12_23.ts +52 -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,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AC5F,oBAAU,EAAE;;oDACc;AA7CR,eAAe;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"}
|
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,mBAr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AoC,CA0GL;AAzGtC,8JAAsI;AA0GpI,qDA1GK,oDAA0C,CA0GL;AAxG5C,4HAAoG;AA4GlG,oCA5GK,mCAAyB,CA4GL;AA3G3B,kJAA0H;AAyGxH,+CAzGK,8CAAoC,CAyGL;AAxGtC,8JAAsI;AAyGpI,qDAzGK,oDAA0C,CAyGL;AAtG5C,wEAAgD;AAwG9C,eAxGK,cAAI,CAwGL;AAvGN,wFAAgE;AAwG9D,uBAxGK,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"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.promoteToProd1212231702403624303 = void 0;
|
|
13
|
+
class promoteToProd1212231702403624303 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'promoteToProd1212231702403624303';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`CREATE TABLE \`env_type\` (\`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, \`type\` varchar(255) NOT NULL, PRIMARY KEY (\`id\`)) ENGINE=InnoDB`);
|
|
20
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_env\` tinyint NOT NULL DEFAULT 0`);
|
|
21
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_connections_id\` int NULL`);
|
|
22
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_collections_id\` int NULL`);
|
|
23
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_ecom_system_connection_id\` int NULL`);
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_products_id\` int NULL`);
|
|
25
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_channels_id\` int NULL`);
|
|
26
|
+
yield queryRunner.query(`ALTER TABLE \`collection\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
27
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
28
|
+
yield queryRunner.query(`ALTER TABLE \`product\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
29
|
+
yield queryRunner.query(`ALTER TABLE \`product\` ADD \`demo\` tinyint NOT NULL DEFAULT 0`);
|
|
30
|
+
yield queryRunner.query(`ALTER TABLE \`order\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
31
|
+
yield queryRunner.query(`ALTER TABLE \`connection\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
32
|
+
yield queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NULL`);
|
|
33
|
+
yield queryRunner.query(`ALTER TABLE \`order\` CHANGE \`channel_order_name\` \`channel_order_name\` varchar(255) NOT NULL DEFAULT ''`);
|
|
34
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_6eee65c312f8ad4632163d4a607\` FOREIGN KEY (\`test_connections_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
35
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_f7f0dd7cf1918fc0bc1efb85c85\` FOREIGN KEY (\`test_collections_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
36
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_6226c6c18feb3e27344b6f1de8a\` FOREIGN KEY (\`test_ecom_system_connection_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
37
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_92746ff9f5b968598cb3540d6e2\` FOREIGN KEY (\`test_products_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
38
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_d89787b04ae0835cc623cf55421\` FOREIGN KEY (\`test_channels_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
down(queryRunner) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_d89787b04ae0835cc623cf55421\``);
|
|
44
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_92746ff9f5b968598cb3540d6e2\``);
|
|
45
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_6226c6c18feb3e27344b6f1de8a\``);
|
|
46
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_f7f0dd7cf1918fc0bc1efb85c85\``);
|
|
47
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_6eee65c312f8ad4632163d4a607\``);
|
|
48
|
+
yield queryRunner.query(`ALTER TABLE \`order\` CHANGE \`channel_order_name\` \`channel_order_name\` varchar(255) NOT NULL`);
|
|
49
|
+
yield queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NOT NULL`);
|
|
50
|
+
yield queryRunner.query(`ALTER TABLE \`connection\` DROP COLUMN \`test_origen\``);
|
|
51
|
+
yield queryRunner.query(`ALTER TABLE \`order\` DROP COLUMN \`test_origen\``);
|
|
52
|
+
yield queryRunner.query(`ALTER TABLE \`product\` DROP COLUMN \`demo\``);
|
|
53
|
+
yield queryRunner.query(`ALTER TABLE \`product\` DROP COLUMN \`test_origen\``);
|
|
54
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`test_origen\``);
|
|
55
|
+
yield queryRunner.query(`ALTER TABLE \`collection\` DROP COLUMN \`test_origen\``);
|
|
56
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_channels_id\``);
|
|
57
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_products_id\``);
|
|
58
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_ecom_system_connection_id\``);
|
|
59
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_collections_id\``);
|
|
60
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_connections_id\``);
|
|
61
|
+
yield queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_env\``);
|
|
62
|
+
yield queryRunner.query(`DROP TABLE \`env_type\``);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.promoteToProd1212231702403624303 = promoteToProd1212231702403624303;
|
|
67
|
+
//# sourceMappingURL=1702403624303-promote_to_prod_12_12_23.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1702403624303-promote_to_prod_12_12_23.js","sourceRoot":"","sources":["../../src/migrations/1702403624303-promote_to_prod_12_12_23.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,gCAAgC;IAA7C;QACI,SAAI,GAAG,kCAAkC,CAAA;IAgD7C,CAAC;IA9CgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wUAAwU,CAAC,CAAC;YAClW,MAAM,WAAW,CAAC,KAAK,CAAC,2EAA2E,CAAC,CAAC;YACrG,MAAM,WAAW,CAAC,KAAK,CAAC,oEAAoE,CAAC,CAAC;YAC9F,MAAM,WAAW,CAAC,KAAK,CAAC,oEAAoE,CAAC,CAAC;YAC9F,MAAM,WAAW,CAAC,KAAK,CAAC,+EAA+E,CAAC,CAAC;YACzG,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;YAC3F,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;YAC3F,MAAM,WAAW,CAAC,KAAK,CAAC,2EAA2E,CAAC,CAAC;YACrG,MAAM,WAAW,CAAC,KAAK,CAAC,6EAA6E,CAAC,CAAC;YACvG,MAAM,WAAW,CAAC,KAAK,CAAC,wEAAwE,CAAC,CAAC;YAClG,M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C;YAC/E,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YACpF,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAC;YAClF,MAAM,WAAW,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAAC;YAC1F,MAAM,WAAW,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAAC;YAC1F,MAAM,WAAW,CAAC,KAAK,CAAC,8EAA8E,CAAC,CAAC;YACxG,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;YAC7F,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;YAC7F,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAC;YAClF,MAAM,WAAW,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;QACvD,CAAC;KAAA;CAEJ;AAjDD,4EAiDC"}
|
|
@@ -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;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;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qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,oBAAuB;CAAG,CAAA;AAAxD,qBAAqB;IADjC,0BAAgB,CAAC,oBAAW,CAAC;GACjB,qBAAqB,CAAmC;AAAxD,sDAAqB"}
|
|
@@ -2236,44 +2236,59 @@
|
|
|
2236
2236
|
"signature": "744e6430bafc6f39f66c4fc1e6a0d8c9551260ffd1782aa7e3f5166ac6aa1f86",
|
|
2237
2237
|
"affectsGlobalScope": false
|
|
2238
2238
|
},
|
|
2239
|
-
"../node_modules/@types/
|
|
2240
|
-
"version": "
|
|
2241
|
-
"signature": "
|
|
2239
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts": {
|
|
2240
|
+
"version": "d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769",
|
|
2241
|
+
"signature": "d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769",
|
|
2242
|
+
"affectsGlobalScope": false
|
|
2243
|
+
},
|
|
2244
|
+
"../node_modules/@types/send/index.d.ts": {
|
|
2245
|
+
"version": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2246
|
+
"signature": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2242
2247
|
"affectsGlobalScope": false
|
|
2243
2248
|
},
|
|
2244
2249
|
"../node_modules/@types/qs/index.d.ts": {
|
|
2245
|
-
"version": "
|
|
2246
|
-
"signature": "
|
|
2250
|
+
"version": "fedd311d427fdafac411b4e0edc0d1014668853679e021e04717a6de45ff5c0c",
|
|
2251
|
+
"signature": "fedd311d427fdafac411b4e0edc0d1014668853679e021e04717a6de45ff5c0c",
|
|
2252
|
+
"affectsGlobalScope": false
|
|
2253
|
+
},
|
|
2254
|
+
"../node_modules/@types/range-parser/index.d.ts": {
|
|
2255
|
+
"version": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2256
|
+
"signature": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2247
2257
|
"affectsGlobalScope": false
|
|
2248
2258
|
},
|
|
2249
2259
|
"../node_modules/@types/express-serve-static-core/index.d.ts": {
|
|
2250
|
-
"version": "
|
|
2251
|
-
"signature": "
|
|
2260
|
+
"version": "50072f976cfa86af1a3044f55cd729d992abe39222d2f6cdf929266c77a42b0b",
|
|
2261
|
+
"signature": "50072f976cfa86af1a3044f55cd729d992abe39222d2f6cdf929266c77a42b0b",
|
|
2252
2262
|
"affectsGlobalScope": true
|
|
2253
2263
|
},
|
|
2264
|
+
"../node_modules/@types/http-errors/index.d.ts": {
|
|
2265
|
+
"version": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2266
|
+
"signature": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2267
|
+
"affectsGlobalScope": false
|
|
2268
|
+
},
|
|
2254
2269
|
"../node_modules/@types/mime/mime.d.ts": {
|
|
2255
|
-
"version": "
|
|
2256
|
-
"signature": "
|
|
2270
|
+
"version": "d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1",
|
|
2271
|
+
"signature": "d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1",
|
|
2257
2272
|
"affectsGlobalScope": false
|
|
2258
2273
|
},
|
|
2259
2274
|
"../node_modules/@types/mime/index.d.ts": {
|
|
2260
|
-
"version": "
|
|
2261
|
-
"signature": "
|
|
2275
|
+
"version": "2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a",
|
|
2276
|
+
"signature": "2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a",
|
|
2262
2277
|
"affectsGlobalScope": false
|
|
2263
2278
|
},
|
|
2264
2279
|
"../node_modules/@types/serve-static/index.d.ts": {
|
|
2265
|
-
"version": "
|
|
2266
|
-
"signature": "
|
|
2280
|
+
"version": "34118be360cdd3381bbebbfd4b093c394460c8fc5df40688d58f45d86ab1448b",
|
|
2281
|
+
"signature": "34118be360cdd3381bbebbfd4b093c394460c8fc5df40688d58f45d86ab1448b",
|
|
2267
2282
|
"affectsGlobalScope": false
|
|
2268
2283
|
},
|
|
2269
2284
|
"../node_modules/@types/connect/index.d.ts": {
|
|
2270
|
-
"version": "
|
|
2271
|
-
"signature": "
|
|
2285
|
+
"version": "104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e",
|
|
2286
|
+
"signature": "104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e",
|
|
2272
2287
|
"affectsGlobalScope": false
|
|
2273
2288
|
},
|
|
2274
2289
|
"../node_modules/@types/body-parser/index.d.ts": {
|
|
2275
|
-
"version": "
|
|
2276
|
-
"signature": "
|
|
2290
|
+
"version": "cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c",
|
|
2291
|
+
"signature": "cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c",
|
|
2277
2292
|
"affectsGlobalScope": false
|
|
2278
2293
|
},
|
|
2279
2294
|
"../node_modules/@types/express/index.d.ts": {
|
|
@@ -2421,9 +2436,14 @@
|
|
|
2421
2436
|
"signature": "21e01b387406871f1f540b7722119f5bc2f9fe941fd3edacf95eee84db35dd50",
|
|
2422
2437
|
"affectsGlobalScope": false
|
|
2423
2438
|
},
|
|
2439
|
+
"../src/entity/magentobulk.ts": {
|
|
2440
|
+
"version": "132bbb21a7459533a69211dfc4edfcf607015448b1ae8d11c93dbb538affddaa",
|
|
2441
|
+
"signature": "e26188694b78934663e78f87f3f27fc878fec280f31dedb2f72c3dbf7ae0c70c",
|
|
2442
|
+
"affectsGlobalScope": false
|
|
2443
|
+
},
|
|
2424
2444
|
"../src/entity/importedproduct.ts": {
|
|
2425
|
-
"version": "
|
|
2426
|
-
"signature": "
|
|
2445
|
+
"version": "bad54721ea5016dc92d27eb3a73367d91f808504f98c6ba438a27d7219a25d39",
|
|
2446
|
+
"signature": "0cae2a58ab03f2e6a12e3d4469d87796c5cf3ee16218523b59289600c923c49e",
|
|
2427
2447
|
"affectsGlobalScope": false
|
|
2428
2448
|
},
|
|
2429
2449
|
"../src/staticdata/currency.ts": {
|
|
@@ -2762,8 +2782,8 @@
|
|
|
2762
2782
|
"affectsGlobalScope": false
|
|
2763
2783
|
},
|
|
2764
2784
|
"../src/entity/index.ts": {
|
|
2765
|
-
"version": "
|
|
2766
|
-
"signature": "
|
|
2785
|
+
"version": "9969afdf430c24e2b23dd6b911ac234939210a2d3e5e3e0252e8c379ab1d7d91",
|
|
2786
|
+
"signature": "6a1e93af497029fce63c19d6768a20d4c05171fd8e0502a355d1ef6101466ce8",
|
|
2767
2787
|
"affectsGlobalScope": false
|
|
2768
2788
|
},
|
|
2769
2789
|
"../src/staticdata/productorigin.ts": {
|
|
@@ -2847,8 +2867,8 @@
|
|
|
2847
2867
|
"affectsGlobalScope": false
|
|
2848
2868
|
},
|
|
2849
2869
|
"../src/repositories/index.ts": {
|
|
2850
|
-
"version": "
|
|
2851
|
-
"signature": "
|
|
2870
|
+
"version": "1bd360ef85d94371b4fe663b06236f94e895a439e1e18996c2e8dde85f86da52",
|
|
2871
|
+
"signature": "811b05a7aa0428a611c05c58f1f1a2a827a652225b138b559a0212e4bff938d4",
|
|
2852
2872
|
"affectsGlobalScope": false
|
|
2853
2873
|
},
|
|
2854
2874
|
"../src/subscribers/productsubscriber.ts": {
|
|
@@ -3636,29 +3656,39 @@
|
|
|
3636
3656
|
"signature": "a53c93a166c4991611aa0c73731c5dae77e96569e2841ebb716c5b44d15c2adc",
|
|
3637
3657
|
"affectsGlobalScope": false
|
|
3638
3658
|
},
|
|
3659
|
+
"../src/migrations/1702403624303-promote_to_prod_12_12_23.ts": {
|
|
3660
|
+
"version": "b2921e3af5437acb193fe573415a2c0692eed8384c1c6f766391e017cb579155",
|
|
3661
|
+
"signature": "f0461894aa1ffc13d9d29f5bc737a9496255695e1d7913c9e3a9340485947bf2",
|
|
3662
|
+
"affectsGlobalScope": false
|
|
3663
|
+
},
|
|
3664
|
+
"../src/migrations/1703602386185-magento-bulk.ts": {
|
|
3665
|
+
"version": "4e9fa4e6f82e996fe5f1928b43aa5c744000237144775dead0e4f0a1326f191c",
|
|
3666
|
+
"signature": "b7ed013058ad058892c10351170d8dd95777ac0ac5239634cf0cec0ce263f1ee",
|
|
3667
|
+
"affectsGlobalScope": false
|
|
3668
|
+
},
|
|
3639
3669
|
"../src/migrations/execute/index.ts": {
|
|
3640
3670
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3641
3671
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
3642
3672
|
"affectsGlobalScope": false
|
|
3643
3673
|
},
|
|
3644
3674
|
"../node_modules/@babel/types/lib/index.d.ts": {
|
|
3645
|
-
"version": "
|
|
3646
|
-
"signature": "
|
|
3675
|
+
"version": "a5aaeca001d2f69093d04aac4db321e4c338fd9b20cbc4f0b0af3dc6ae0f235b",
|
|
3676
|
+
"signature": "a5aaeca001d2f69093d04aac4db321e4c338fd9b20cbc4f0b0af3dc6ae0f235b",
|
|
3647
3677
|
"affectsGlobalScope": false
|
|
3648
3678
|
},
|
|
3649
3679
|
"../node_modules/@types/babel__generator/index.d.ts": {
|
|
3650
|
-
"version": "
|
|
3651
|
-
"signature": "
|
|
3680
|
+
"version": "7a1f3d0b8dd0e869c58b44848d9f0be3592c3ff6dc77091e7130306f6d2907ed",
|
|
3681
|
+
"signature": "7a1f3d0b8dd0e869c58b44848d9f0be3592c3ff6dc77091e7130306f6d2907ed",
|
|
3652
3682
|
"affectsGlobalScope": false
|
|
3653
3683
|
},
|
|
3654
3684
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": {
|
|
3655
|
-
"version": "
|
|
3656
|
-
"signature": "
|
|
3685
|
+
"version": "8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990",
|
|
3686
|
+
"signature": "8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990",
|
|
3657
3687
|
"affectsGlobalScope": false
|
|
3658
3688
|
},
|
|
3659
3689
|
"../node_modules/@types/babel__template/index.d.ts": {
|
|
3660
|
-
"version": "
|
|
3661
|
-
"signature": "
|
|
3690
|
+
"version": "670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed",
|
|
3691
|
+
"signature": "670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed",
|
|
3662
3692
|
"affectsGlobalScope": false
|
|
3663
3693
|
},
|
|
3664
3694
|
"../node_modules/@types/babel__traverse/index.d.ts": {
|
|
@@ -3667,28 +3697,28 @@
|
|
|
3667
3697
|
"affectsGlobalScope": false
|
|
3668
3698
|
},
|
|
3669
3699
|
"../node_modules/@types/babel__core/index.d.ts": {
|
|
3670
|
-
"version": "
|
|
3671
|
-
"signature": "
|
|
3700
|
+
"version": "069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9",
|
|
3701
|
+
"signature": "069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9",
|
|
3672
3702
|
"affectsGlobalScope": false
|
|
3673
3703
|
},
|
|
3674
3704
|
"../node_modules/@types/graceful-fs/index.d.ts": {
|
|
3675
|
-
"version": "
|
|
3676
|
-
"signature": "
|
|
3705
|
+
"version": "afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5",
|
|
3706
|
+
"signature": "afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5",
|
|
3677
3707
|
"affectsGlobalScope": false
|
|
3678
3708
|
},
|
|
3679
3709
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts": {
|
|
3680
|
-
"version": "
|
|
3681
|
-
"signature": "
|
|
3710
|
+
"version": "035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245",
|
|
3711
|
+
"signature": "035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245",
|
|
3682
3712
|
"affectsGlobalScope": false
|
|
3683
3713
|
},
|
|
3684
3714
|
"../node_modules/@types/istanbul-lib-report/index.d.ts": {
|
|
3685
|
-
"version": "
|
|
3686
|
-
"signature": "
|
|
3715
|
+
"version": "a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54",
|
|
3716
|
+
"signature": "a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54",
|
|
3687
3717
|
"affectsGlobalScope": false
|
|
3688
3718
|
},
|
|
3689
3719
|
"../node_modules/@types/istanbul-reports/index.d.ts": {
|
|
3690
|
-
"version": "
|
|
3691
|
-
"signature": "
|
|
3720
|
+
"version": "5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434",
|
|
3721
|
+
"signature": "5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434",
|
|
3692
3722
|
"affectsGlobalScope": false
|
|
3693
3723
|
},
|
|
3694
3724
|
"../node_modules/jest-diff/build/cleanupsemantic.d.ts": {
|
|
@@ -3732,28 +3762,28 @@
|
|
|
3732
3762
|
"affectsGlobalScope": true
|
|
3733
3763
|
},
|
|
3734
3764
|
"../node_modules/@types/json-schema/index.d.ts": {
|
|
3735
|
-
"version": "
|
|
3736
|
-
"signature": "
|
|
3765
|
+
"version": "f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1",
|
|
3766
|
+
"signature": "f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1",
|
|
3737
3767
|
"affectsGlobalScope": false
|
|
3738
3768
|
},
|
|
3739
3769
|
"../node_modules/@types/prettier/index.d.ts": {
|
|
3740
|
-
"version": "
|
|
3741
|
-
"signature": "
|
|
3770
|
+
"version": "d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e",
|
|
3771
|
+
"signature": "d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e",
|
|
3742
3772
|
"affectsGlobalScope": false
|
|
3743
3773
|
},
|
|
3744
3774
|
"../node_modules/@types/stack-utils/index.d.ts": {
|
|
3745
|
-
"version": "
|
|
3746
|
-
"signature": "
|
|
3775
|
+
"version": "ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66",
|
|
3776
|
+
"signature": "ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66",
|
|
3747
3777
|
"affectsGlobalScope": false
|
|
3748
3778
|
},
|
|
3749
3779
|
"../node_modules/@types/yargs-parser/index.d.ts": {
|
|
3750
|
-
"version": "
|
|
3751
|
-
"signature": "
|
|
3780
|
+
"version": "bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960",
|
|
3781
|
+
"signature": "bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960",
|
|
3752
3782
|
"affectsGlobalScope": false
|
|
3753
3783
|
},
|
|
3754
3784
|
"../node_modules/@types/yargs/index.d.ts": {
|
|
3755
|
-
"version": "
|
|
3756
|
-
"signature": "
|
|
3785
|
+
"version": "c3e5b75e1af87b8e67e12e21332e708f7eccee6aac6261cfe98ca36652cdcb53",
|
|
3786
|
+
"signature": "c3e5b75e1af87b8e67e12e21332e708f7eccee6aac6261cfe98ca36652cdcb53",
|
|
3757
3787
|
"affectsGlobalScope": false
|
|
3758
3788
|
},
|
|
3759
3789
|
"../node_modules/@types/zen-observable/index.d.ts": {
|
|
@@ -3864,7 +3894,8 @@
|
|
|
3864
3894
|
"../node_modules/@types/node/http.d.ts",
|
|
3865
3895
|
"../node_modules/@types/node/index.d.ts",
|
|
3866
3896
|
"../node_modules/@types/qs/index.d.ts",
|
|
3867
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
3897
|
+
"../node_modules/@types/range-parser/index.d.ts",
|
|
3898
|
+
"../node_modules/@types/send/index.d.ts"
|
|
3868
3899
|
],
|
|
3869
3900
|
"../node_modules/@types/express/index.d.ts": [
|
|
3870
3901
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -4062,7 +4093,14 @@
|
|
|
4062
4093
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
4063
4094
|
"../node_modules/@types/node/stream.d.ts"
|
|
4064
4095
|
],
|
|
4096
|
+
"../node_modules/@types/send/index.d.ts": [
|
|
4097
|
+
"../node_modules/@types/node/fs.d.ts",
|
|
4098
|
+
"../node_modules/@types/node/index.d.ts",
|
|
4099
|
+
"../node_modules/@types/node/stream.d.ts",
|
|
4100
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
4101
|
+
],
|
|
4065
4102
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
4103
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
4066
4104
|
"../node_modules/@types/mime/index.d.ts",
|
|
4067
4105
|
"../node_modules/@types/node/http.d.ts",
|
|
4068
4106
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -5759,6 +5797,7 @@
|
|
|
5759
5797
|
"../src/entity/importedproduct.ts": [
|
|
5760
5798
|
"../node_modules/typeorm/index.d.ts",
|
|
5761
5799
|
"../src/entity/channeluser.ts",
|
|
5800
|
+
"../src/entity/magentobulk.ts",
|
|
5762
5801
|
"../src/entity/product.entity.ts",
|
|
5763
5802
|
"../src/entity/user.ts"
|
|
5764
5803
|
],
|
|
@@ -5799,6 +5838,7 @@
|
|
|
5799
5838
|
"../src/entity/fulfillment.ts",
|
|
5800
5839
|
"../src/entity/image.ts",
|
|
5801
5840
|
"../src/entity/importedproduct.ts",
|
|
5841
|
+
"../src/entity/magentobulk.ts",
|
|
5802
5842
|
"../src/entity/magentoconnection.entity.ts",
|
|
5803
5843
|
"../src/entity/metricactiveuser.ts",
|
|
5804
5844
|
"../src/entity/modules/discount/discount.ts",
|
|
@@ -5865,6 +5905,11 @@
|
|
|
5865
5905
|
"../src/entity/wallet.ts",
|
|
5866
5906
|
"../src/entity/wooconnection.ts"
|
|
5867
5907
|
],
|
|
5908
|
+
"../src/entity/magentobulk.ts": [
|
|
5909
|
+
"../node_modules/typeorm/index.d.ts",
|
|
5910
|
+
"../src/entity/auditedmodel.ts",
|
|
5911
|
+
"../src/entity/importedproduct.ts"
|
|
5912
|
+
],
|
|
5868
5913
|
"../src/entity/magentoconnection.entity.ts": [
|
|
5869
5914
|
"../node_modules/typeorm/index.d.ts",
|
|
5870
5915
|
"../src/entity/user.ts"
|
|
@@ -6720,6 +6765,12 @@
|
|
|
6720
6765
|
"../src/migrations/1702310388602-order-channel-order-name-default.ts": [
|
|
6721
6766
|
"../node_modules/typeorm/index.d.ts"
|
|
6722
6767
|
],
|
|
6768
|
+
"../src/migrations/1702403624303-promote_to_prod_12_12_23.ts": [
|
|
6769
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6770
|
+
],
|
|
6771
|
+
"../src/migrations/1703602386185-magento-bulk.ts": [
|
|
6772
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6773
|
+
],
|
|
6723
6774
|
"../src/migrations/execute/index.ts": [
|
|
6724
6775
|
"../src/config/connect.ts"
|
|
6725
6776
|
],
|
|
@@ -6774,6 +6825,7 @@
|
|
|
6774
6825
|
"../src/entity/flatratecountry.ts",
|
|
6775
6826
|
"../src/entity/image.ts",
|
|
6776
6827
|
"../src/entity/importedproduct.ts",
|
|
6828
|
+
"../src/entity/index.ts",
|
|
6777
6829
|
"../src/entity/magentoconnection.entity.ts",
|
|
6778
6830
|
"../src/entity/metricactiveuser.ts",
|
|
6779
6831
|
"../src/entity/notification.ts",
|
|
@@ -6969,7 +7021,8 @@
|
|
|
6969
7021
|
"../node_modules/@types/node/http.d.ts",
|
|
6970
7022
|
"../node_modules/@types/node/index.d.ts",
|
|
6971
7023
|
"../node_modules/@types/qs/index.d.ts",
|
|
6972
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
7024
|
+
"../node_modules/@types/range-parser/index.d.ts",
|
|
7025
|
+
"../node_modules/@types/send/index.d.ts"
|
|
6973
7026
|
],
|
|
6974
7027
|
"../node_modules/@types/express/index.d.ts": [
|
|
6975
7028
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -7167,7 +7220,14 @@
|
|
|
7167
7220
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
7168
7221
|
"../node_modules/@types/node/stream.d.ts"
|
|
7169
7222
|
],
|
|
7223
|
+
"../node_modules/@types/send/index.d.ts": [
|
|
7224
|
+
"../node_modules/@types/node/fs.d.ts",
|
|
7225
|
+
"../node_modules/@types/node/index.d.ts",
|
|
7226
|
+
"../node_modules/@types/node/stream.d.ts",
|
|
7227
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
7228
|
+
],
|
|
7170
7229
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
7230
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
7171
7231
|
"../node_modules/@types/mime/index.d.ts",
|
|
7172
7232
|
"../node_modules/@types/node/http.d.ts",
|
|
7173
7233
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -8800,6 +8860,7 @@
|
|
|
8800
8860
|
],
|
|
8801
8861
|
"../src/entity/importedproduct.ts": [
|
|
8802
8862
|
"../src/entity/channeluser.ts",
|
|
8863
|
+
"../src/entity/magentobulk.ts",
|
|
8803
8864
|
"../src/entity/product.entity.ts",
|
|
8804
8865
|
"../src/entity/user.ts"
|
|
8805
8866
|
],
|
|
@@ -8840,6 +8901,7 @@
|
|
|
8840
8901
|
"../src/entity/fulfillment.ts",
|
|
8841
8902
|
"../src/entity/image.ts",
|
|
8842
8903
|
"../src/entity/importedproduct.ts",
|
|
8904
|
+
"../src/entity/magentobulk.ts",
|
|
8843
8905
|
"../src/entity/magentoconnection.entity.ts",
|
|
8844
8906
|
"../src/entity/metricactiveuser.ts",
|
|
8845
8907
|
"../src/entity/modules/discount/discount.ts",
|
|
@@ -8906,6 +8968,10 @@
|
|
|
8906
8968
|
"../src/entity/wallet.ts",
|
|
8907
8969
|
"../src/entity/wooconnection.ts"
|
|
8908
8970
|
],
|
|
8971
|
+
"../src/entity/magentobulk.ts": [
|
|
8972
|
+
"../src/entity/auditedmodel.ts",
|
|
8973
|
+
"../src/entity/importedproduct.ts"
|
|
8974
|
+
],
|
|
8909
8975
|
"../src/entity/magentoconnection.entity.ts": [
|
|
8910
8976
|
"../src/entity/user.ts"
|
|
8911
8977
|
],
|
|
@@ -9659,6 +9725,12 @@
|
|
|
9659
9725
|
"../src/migrations/1702310388602-order-channel-order-name-default.ts": [
|
|
9660
9726
|
"../node_modules/typeorm/index.d.ts"
|
|
9661
9727
|
],
|
|
9728
|
+
"../src/migrations/1702403624303-promote_to_prod_12_12_23.ts": [
|
|
9729
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9730
|
+
],
|
|
9731
|
+
"../src/migrations/1703602386185-magento-bulk.ts": [
|
|
9732
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9733
|
+
],
|
|
9662
9734
|
"../src/migrations/index.ts": [
|
|
9663
9735
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9664
9736
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9710,6 +9782,7 @@
|
|
|
9710
9782
|
"../src/entity/flatratecountry.ts",
|
|
9711
9783
|
"../src/entity/image.ts",
|
|
9712
9784
|
"../src/entity/importedproduct.ts",
|
|
9785
|
+
"../src/entity/index.ts",
|
|
9713
9786
|
"../src/entity/magentoconnection.entity.ts",
|
|
9714
9787
|
"../src/entity/metricactiveuser.ts",
|
|
9715
9788
|
"../src/entity/notification.ts",
|
|
@@ -9848,6 +9921,7 @@
|
|
|
9848
9921
|
"../node_modules/@types/express-serve-static-core/index.d.ts",
|
|
9849
9922
|
"../node_modules/@types/express/index.d.ts",
|
|
9850
9923
|
"../node_modules/@types/graceful-fs/index.d.ts",
|
|
9924
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
9851
9925
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts",
|
|
9852
9926
|
"../node_modules/@types/istanbul-lib-report/index.d.ts",
|
|
9853
9927
|
"../node_modules/@types/istanbul-reports/index.d.ts",
|
|
@@ -9905,6 +9979,8 @@
|
|
|
9905
9979
|
"../node_modules/@types/prettier/index.d.ts",
|
|
9906
9980
|
"../node_modules/@types/qs/index.d.ts",
|
|
9907
9981
|
"../node_modules/@types/range-parser/index.d.ts",
|
|
9982
|
+
"../node_modules/@types/send/index.d.ts",
|
|
9983
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts",
|
|
9908
9984
|
"../node_modules/@types/serve-static/index.d.ts",
|
|
9909
9985
|
"../node_modules/@types/stack-utils/index.d.ts",
|
|
9910
9986
|
"../node_modules/@types/yargs-parser/index.d.ts",
|
|
@@ -10333,6 +10409,7 @@
|
|
|
10333
10409
|
"../src/entity/image.ts",
|
|
10334
10410
|
"../src/entity/importedproduct.ts",
|
|
10335
10411
|
"../src/entity/index.ts",
|
|
10412
|
+
"../src/entity/magentobulk.ts",
|
|
10336
10413
|
"../src/entity/magentoconnection.entity.ts",
|
|
10337
10414
|
"../src/entity/metricactiveuser.ts",
|
|
10338
10415
|
"../src/entity/modules/discount/discount.ts",
|
|
@@ -10544,6 +10621,8 @@
|
|
|
10544
10621
|
"../src/migrations/1701969845764-promote_to_qa_07_12_23.ts",
|
|
10545
10622
|
"../src/migrations/1702302929376-order-item-varianttitle-nullable.ts",
|
|
10546
10623
|
"../src/migrations/1702310388602-order-channel-order-name-default.ts",
|
|
10624
|
+
"../src/migrations/1702403624303-promote_to_prod_12_12_23.ts",
|
|
10625
|
+
"../src/migrations/1703602386185-magento-bulk.ts",
|
|
10547
10626
|
"../src/migrations/execute/index.ts",
|
|
10548
10627
|
"../src/migrations/index.ts",
|
|
10549
10628
|
"../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.152",
|
|
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.152",
|
|
25
|
+
"@reachu/utils": "1.0.152",
|
|
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
|
+
}
|
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,52 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class promoteToProd1212231702403624303 implements MigrationInterface {
|
|
4
|
+
name = 'promoteToProd1212231702403624303'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`CREATE TABLE \`env_type\` (\`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, \`type\` varchar(255) NOT NULL, PRIMARY KEY (\`id\`)) ENGINE=InnoDB`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_env\` tinyint NOT NULL DEFAULT 0`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_connections_id\` int NULL`);
|
|
10
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_collections_id\` int NULL`);
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_ecom_system_connection_id\` int NULL`);
|
|
12
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_products_id\` int NULL`);
|
|
13
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD \`test_channels_id\` int NULL`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE \`collection\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
16
|
+
await queryRunner.query(`ALTER TABLE \`product\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
17
|
+
await queryRunner.query(`ALTER TABLE \`product\` ADD \`demo\` tinyint NOT NULL DEFAULT 0`);
|
|
18
|
+
await queryRunner.query(`ALTER TABLE \`order\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
19
|
+
await queryRunner.query(`ALTER TABLE \`connection\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
20
|
+
await queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NULL`);
|
|
21
|
+
await queryRunner.query(`ALTER TABLE \`order\` CHANGE \`channel_order_name\` \`channel_order_name\` varchar(255) NOT NULL DEFAULT ''`);
|
|
22
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_6eee65c312f8ad4632163d4a607\` FOREIGN KEY (\`test_connections_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
23
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_f7f0dd7cf1918fc0bc1efb85c85\` FOREIGN KEY (\`test_collections_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
24
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_6226c6c18feb3e27344b6f1de8a\` FOREIGN KEY (\`test_ecom_system_connection_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
25
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_92746ff9f5b968598cb3540d6e2\` FOREIGN KEY (\`test_products_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
26
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` ADD CONSTRAINT \`FK_d89787b04ae0835cc623cf55421\` FOREIGN KEY (\`test_channels_id\`) REFERENCES \`env_type\`(\`id\`) ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
30
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_d89787b04ae0835cc623cf55421\``);
|
|
31
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_92746ff9f5b968598cb3540d6e2\``);
|
|
32
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_6226c6c18feb3e27344b6f1de8a\``);
|
|
33
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_f7f0dd7cf1918fc0bc1efb85c85\``);
|
|
34
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP FOREIGN KEY \`FK_6eee65c312f8ad4632163d4a607\``);
|
|
35
|
+
await queryRunner.query(`ALTER TABLE \`order\` CHANGE \`channel_order_name\` \`channel_order_name\` varchar(255) NOT NULL`);
|
|
36
|
+
await queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NOT NULL`);
|
|
37
|
+
await queryRunner.query(`ALTER TABLE \`connection\` DROP COLUMN \`test_origen\``);
|
|
38
|
+
await queryRunner.query(`ALTER TABLE \`order\` DROP COLUMN \`test_origen\``);
|
|
39
|
+
await queryRunner.query(`ALTER TABLE \`product\` DROP COLUMN \`demo\``);
|
|
40
|
+
await queryRunner.query(`ALTER TABLE \`product\` DROP COLUMN \`test_origen\``);
|
|
41
|
+
await queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`test_origen\``);
|
|
42
|
+
await queryRunner.query(`ALTER TABLE \`collection\` DROP COLUMN \`test_origen\``);
|
|
43
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_channels_id\``);
|
|
44
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_products_id\``);
|
|
45
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_ecom_system_connection_id\``);
|
|
46
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_collections_id\``);
|
|
47
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_connections_id\``);
|
|
48
|
+
await queryRunner.query(`ALTER TABLE \`user_settings\` DROP COLUMN \`test_env\``);
|
|
49
|
+
await queryRunner.query(`DROP TABLE \`env_type\``);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
}
|
|
@@ -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,
|