@reachu/database 1.0.157 → 1.0.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entity/Ecom-user.d.ts +17 -0
- package/dist/entity/Ecom-user.js +77 -0
- package/dist/entity/Ecom-user.js.map +1 -0
- package/dist/entity/Request.d.ts +1 -0
- package/dist/entity/Request.js +4 -0
- package/dist/entity/Request.js.map +1 -1
- package/dist/entity/index.d.ts +2 -1
- package/dist/entity/index.js +3 -1
- package/dist/entity/index.js.map +1 -1
- package/dist/migrations/1704739930074-test-origin-req.d.ts +6 -0
- package/dist/migrations/1704739930074-test-origin-req.js +29 -0
- package/dist/migrations/1704739930074-test-origin-req.js.map +1 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.d.ts +6 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.js +29 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.js.map +1 -0
- package/dist/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 +57 -6
- package/package.json +3 -3
- package/src/entity/Ecom-user.ts +65 -0
- package/src/entity/Request.ts +3 -0
- package/src/entity/index.ts +4 -0
- package/src/migrations/1704739930074-test-origin-req.ts +14 -0
- package/src/migrations/1706273488135-promote_to_production_26_01_2024.ts +14 -0
- package/src/repositories/index.ts +6 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import AuditedModel from './AuditedModel';
|
|
2
|
+
import { MagentoConnection } from './MagentoConnection.entity';
|
|
3
|
+
import ApiCredential from './ApiCredential';
|
|
4
|
+
import User from './User';
|
|
5
|
+
import ShopifyConnection from './ShopifyConnection';
|
|
6
|
+
import WooConnection from './WooConnection';
|
|
7
|
+
export default class EcomUser extends AuditedModel {
|
|
8
|
+
deletedAt: Date;
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
user: User;
|
|
13
|
+
magentoConnection: MagentoConnection;
|
|
14
|
+
shopifyConnection: ShopifyConnection;
|
|
15
|
+
wooConnection: WooConnection;
|
|
16
|
+
apiCredential: ApiCredential;
|
|
17
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
const AuditedModel_1 = __importDefault(require("./AuditedModel"));
|
|
17
|
+
const MagentoConnection_entity_1 = require("./MagentoConnection.entity");
|
|
18
|
+
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
19
|
+
const User_1 = __importDefault(require("./User"));
|
|
20
|
+
const ShopifyConnection_1 = __importDefault(require("./ShopifyConnection"));
|
|
21
|
+
const WooConnection_1 = __importDefault(require("./WooConnection"));
|
|
22
|
+
let EcomUser = class EcomUser extends AuditedModel_1.default {
|
|
23
|
+
};
|
|
24
|
+
__decorate([
|
|
25
|
+
typeorm_1.DeleteDateColumn(),
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], EcomUser.prototype, "deletedAt", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], EcomUser.prototype, "id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], EcomUser.prototype, "name", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
typeorm_1.Column('boolean', { nullable: true, default: true }),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], EcomUser.prototype, "active", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { onDelete: 'CASCADE' }),
|
|
42
|
+
typeorm_1.JoinColumn(),
|
|
43
|
+
__metadata("design:type", User_1.default)
|
|
44
|
+
], EcomUser.prototype, "user", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
typeorm_1.ManyToOne(() => MagentoConnection_entity_1.MagentoConnection, (magentoConnection) => magentoConnection.id, {
|
|
47
|
+
nullable: true,
|
|
48
|
+
}),
|
|
49
|
+
typeorm_1.JoinColumn(),
|
|
50
|
+
__metadata("design:type", MagentoConnection_entity_1.MagentoConnection)
|
|
51
|
+
], EcomUser.prototype, "magentoConnection", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
typeorm_1.ManyToOne(() => ShopifyConnection_1.default, (shopifyConnection) => shopifyConnection.id, {
|
|
54
|
+
nullable: true,
|
|
55
|
+
}),
|
|
56
|
+
typeorm_1.JoinColumn(),
|
|
57
|
+
__metadata("design:type", ShopifyConnection_1.default)
|
|
58
|
+
], EcomUser.prototype, "shopifyConnection", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
typeorm_1.ManyToOne(() => WooConnection_1.default, (wooConnection) => wooConnection.id, {
|
|
61
|
+
nullable: true,
|
|
62
|
+
}),
|
|
63
|
+
typeorm_1.JoinColumn(),
|
|
64
|
+
__metadata("design:type", WooConnection_1.default)
|
|
65
|
+
], EcomUser.prototype, "wooConnection", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
typeorm_1.ManyToOne(() => ApiCredential_1.default, (apiCredential) => apiCredential.id, {
|
|
68
|
+
nullable: true,
|
|
69
|
+
}),
|
|
70
|
+
typeorm_1.JoinColumn(),
|
|
71
|
+
__metadata("design:type", ApiCredential_1.default)
|
|
72
|
+
], EcomUser.prototype, "apiCredential", void 0);
|
|
73
|
+
EcomUser = __decorate([
|
|
74
|
+
typeorm_1.Entity()
|
|
75
|
+
], EcomUser);
|
|
76
|
+
exports.default = EcomUser;
|
|
77
|
+
//# sourceMappingURL=Ecom-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ecom-user.js","sourceRoot":"","sources":["../../src/entity/Ecom-user.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AAEjB,kEAA0C;AAE1C,yEAA+D;AAE/D,oEAA4C;AAC5C,kDAA0B;AAC1B,4EAAoD;AACpD,oEAA4C;AAI5C,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,sBAAY;CA2CjD,CAAA;AAzCC;IADC,0BAAgB,EAAE;8BACR,IAAI;2CAAC;AAGhB;IADC,gCAAsB,EAAE;;oCACd;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wCACrC;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACjE,oBAAU,EAAE;8BACP,cAAI;sCAAA;AAOV;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,4CAAiB,EAAE,CAAC,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACM,4CAAiB;mDAAC;AAMrC;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,2BAAiB,EAAE,CAAC,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACM,2BAAiB;mDAAC;AAMrC;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,uBAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;QACnE,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACE,uBAAa;+CAAC;AAQ7B;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,uBAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;QACnE,QAAQ,EAAE,IAAI;KACf,CAAC;IAED,oBAAU,EAAE;8BACE,uBAAa;+CAAC;AA1CV,QAAQ;IAD5B,gBAAM,EAAE;GACY,QAAQ,CA2C5B;kBA3CoB,QAAQ"}
|
package/dist/entity/Request.d.ts
CHANGED
package/dist/entity/Request.js
CHANGED
|
@@ -35,6 +35,10 @@ __decorate([
|
|
|
35
35
|
typeorm_1.Column('integer', { nullable: true, default: 0 }),
|
|
36
36
|
__metadata("design:type", Number)
|
|
37
37
|
], Request.prototype, "state", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
typeorm_1.Column('boolean', { default: false }),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], Request.prototype, "testOrigen", void 0);
|
|
38
42
|
Request = __decorate([
|
|
39
43
|
typeorm_1.Entity()
|
|
40
44
|
], Request);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/entity/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAwF;AACxF,kEAA0C;AAC1C,kDAA0B;AAG1B,IAAqB,OAAO,GAA5B,MAAqB,OAAQ,SAAQ,sBAAY;
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/entity/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAwF;AACxF,kEAA0C;AAC1C,kDAA0B;AAG1B,IAAqB,OAAO,GAA5B,MAAqB,OAAQ,SAAQ,sBAAY;CAoBhD,CAAA;AAlBC;IADC,gCAAsB,EAAE;;mCACd;AAIX;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACL,cAAI;uCAAC;AAIb;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACH,cAAI;yCAAC;AAMf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;sCACpC;AAGd;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2CAClB;AAnBD,OAAO;IAD3B,gBAAM,EAAE;GACY,OAAO,CAoB3B;kBApBoB,OAAO"}
|
package/dist/entity/index.d.ts
CHANGED
|
@@ -100,4 +100,5 @@ import DiscountCart from './modules/discount/DiscountCart';
|
|
|
100
100
|
import DiscountProduct from './modules/discount/DiscountProduct';
|
|
101
101
|
import DiscountType from './modules/discount/DiscountType';
|
|
102
102
|
import MagentoBulk from './MagentoBulk';
|
|
103
|
-
|
|
103
|
+
import EcomUser from './Ecom-user';
|
|
104
|
+
export { CustomVariant, CustomProduct, CustomProductImage, Cart, CartItem, Checkout, CheckoutBillingAddress, CheckoutShippingAddress, PriceData, ProductShipping, Shipping, ShippingCountry, Address, ApiCredential, AuditedModel, BankAccount, Business, BusinessProducts, CardRegistration, Category, Channel, Check, CheckoutMetadata, Contact, Country, Courier, FlatRate, FlatRateCountry, Fulfillment, Image, ImportedProduct, MagentoConnection, MetricActiveUser, Notification, Option, Order, OrderCustomer, OrderItem, OrderShipping, OrderTracking, Payment, PaymentShopify, Permission, Price, Product, Request, ExternalRequest, Return, ReturnAddress, Role, RolePermission, ShippingPackage, ShopifyConnection, Subcategory, User, UserRole, Variant, Wallet, WooConnection, UserSettings, PaymentMethod, Collection, CollectionItem, CollectionShared, ChannelGroup, ChannelUser, ChannelUserProductSync, UserChannelApiKey, Currency, ExchangeRate, Attribute, ProductAttribute, CategoryImages, AuthInfo, AuthMethod, EndpointTemplateEcommerce, WebhookTemplateEcommerce, TemplateEcommerce, UserTemplateEcommerce, TemplateEcommerceSchemeConfigOrder, TemplateEcommerceSchemeConfigOrderMapped, ReachuSchemeConfigOrder, TemplateEcommerceSchemeConfigProduct, TemplateEcommerceSchemeConfigProductMapped, ReachuSchemeConfigProduct, TemplateEcommerceSchemeConfigVariant, TemplateEcommerceSchemeConfigVariantMapped, ReachuSchemeConfigVariant, Plan, Subscription, UserCountPlan, EnvironmentConfiguration, Translate, Connection, Discount, DiscountCart, DiscountProduct, DiscountType, ProductCategory, ProductDigital, EnvType, MagentoBulk, EcomUser };
|
package/dist/entity/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Role = exports.ReturnAddress = exports.Return = exports.ExternalRequest = exports.Request = exports.Product = exports.Price = exports.Permission = exports.PaymentShopify = exports.Payment = exports.OrderTracking = exports.OrderShipping = exports.OrderItem = exports.OrderCustomer = exports.Order = exports.Option = exports.Notification = exports.MetricActiveUser = exports.MagentoConnection = exports.ImportedProduct = exports.Image = exports.Fulfillment = exports.FlatRateCountry = exports.FlatRate = exports.Courier = exports.Country = exports.Contact = exports.CheckoutMetadata = exports.Check = exports.Channel = exports.Category = exports.CardRegistration = exports.BusinessProducts = exports.Business = exports.BankAccount = exports.AuditedModel = exports.ApiCredential = exports.Address = exports.ShippingCountry = exports.Shipping = exports.ProductShipping = exports.PriceData = exports.CheckoutShippingAddress = exports.CheckoutBillingAddress = exports.Checkout = exports.CartItem = exports.Cart = exports.CustomProductImage = exports.CustomProduct = exports.CustomVariant = void 0;
|
|
7
7
|
exports.ProductDigital = exports.ProductCategory = exports.DiscountType = exports.DiscountProduct = exports.DiscountCart = exports.Discount = exports.Connection = exports.Translate = exports.EnvironmentConfiguration = exports.UserCountPlan = exports.Subscription = exports.Plan = exports.ReachuSchemeConfigVariant = exports.TemplateEcommerceSchemeConfigVariantMapped = exports.TemplateEcommerceSchemeConfigVariant = exports.ReachuSchemeConfigProduct = exports.TemplateEcommerceSchemeConfigProductMapped = exports.TemplateEcommerceSchemeConfigProduct = exports.ReachuSchemeConfigOrder = exports.TemplateEcommerceSchemeConfigOrderMapped = exports.TemplateEcommerceSchemeConfigOrder = exports.UserTemplateEcommerce = exports.TemplateEcommerce = exports.WebhookTemplateEcommerce = exports.EndpointTemplateEcommerce = exports.AuthMethod = exports.AuthInfo = exports.CategoryImages = exports.ProductAttribute = exports.Attribute = exports.ExchangeRate = exports.Currency = exports.UserChannelApiKey = exports.ChannelUserProductSync = exports.ChannelUser = exports.ChannelGroup = exports.CollectionShared = exports.CollectionItem = exports.Collection = exports.PaymentMethod = exports.UserSettings = exports.WooConnection = exports.Wallet = exports.Variant = exports.UserRole = exports.User = exports.Subcategory = exports.ShopifyConnection = exports.ShippingPackage = exports.RolePermission = void 0;
|
|
8
|
-
exports.MagentoBulk = exports.EnvType = void 0;
|
|
8
|
+
exports.EcomUser = exports.MagentoBulk = exports.EnvType = void 0;
|
|
9
9
|
const Address_1 = __importDefault(require("./Address"));
|
|
10
10
|
exports.Address = Address_1.default;
|
|
11
11
|
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
@@ -210,4 +210,6 @@ const DiscountType_1 = __importDefault(require("./modules/discount/DiscountType"
|
|
|
210
210
|
exports.DiscountType = DiscountType_1.default;
|
|
211
211
|
const MagentoBulk_1 = __importDefault(require("./MagentoBulk"));
|
|
212
212
|
exports.MagentoBulk = MagentoBulk_1.default;
|
|
213
|
+
const Ecom_user_1 = __importDefault(require("./Ecom-user"));
|
|
214
|
+
exports.EcomUser = Ecom_user_1.default;
|
|
213
215
|
//# sourceMappingURL=index.js.map
|
package/dist/entity/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,wDAAgC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,wDAAgC;AAwI9B,kBAxIK,iBAAO,CAwIL;AAvIT,oEAA4C;AAwI1C,wBAxIK,uBAAa,CAwIL;AAvIf,kEAA0C;AAwIxC,uBAxIK,sBAAY,CAwIL;AAvId,gEAAwC;AAwItC,sBAxIK,qBAAW,CAwIL;AAvIb,0DAAkC;AAwIhC,mBAxIK,kBAAQ,CAwIL;AAvIV,0EAAkD;AAwIhD,2BAxIK,0BAAgB,CAwIL;AAvIlB,0EAAkD;AAwIhD,2BAxIK,0BAAgB,CAwIL;AAvIlB,0DAAkC;AAwIhC,mBAxIK,kBAAQ,CAwIL;AAvIV,wDAAgC;AAwI9B,kBAxIK,iBAAO,CAwIL;AAvIT,oDAA4B;AAwI1B,gBAxIK,eAAK,CAwIL;AAvIP,0EAAkD;AAwIhD,2BAxIK,0BAAgB,CAwIL;AAvIlB,wDAAgC;AAwI9B,k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5C,4HAAoG;AA+GlG,oCA/GK,mCAAyB,CA+GL;AA9G3B,kJAA0H;AA4GxH,+CA5GK,8CAAoC,CA4GL;AA3GtC,8JAAsI;AA4GpI,qDA5GK,oDAA0C,CA4GL;AAzG5C,wEAAgD;AA2G9C,eA3GK,cAAI,CA2GL;AA1GN,wFAAgE;AA2G9D,uBA3GK,sBAAY,CA2GL;AA1Gd,0FAAkE;AA2GhE,wBA3GK,uBAAa,CA2GL;AAzGf,4DAAoC;AA2GlC,oBA3GK,mBAAS,CA2GL;AA1GX,8DAAsC;AA2GpC,qBA3GK,oBAAU,CA2GL;AAxGZ,2EAAmD;AAyGjD,mBAzGK,kBAAQ,CAyGL;AAxGV,mFAA2D;AAyGzD,uBAzGK,sBAAY,CAyGL;AAxGd,yFAAiE;AAyG/D,0BAzGK,yBAAe,CAyGL;AAxGjB,mFAA2D;AAyGzD,uBAzGK,sBAAY,CAyGL;AAvGd,gEAAwC;AA2GtC,sBA3GK,qBAAW,CA2GL;AAzGb,4DAAmC;AA0GjC,mBA1GK,mBAAQ,CA0GL"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.testOriginReq1704739930074 = void 0;
|
|
13
|
+
class testOriginReq1704739930074 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'testOriginReq1704739930074';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.testOriginReq1704739930074 = testOriginReq1704739930074;
|
|
29
|
+
//# sourceMappingURL=1704739930074-test-origin-req.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1704739930074-test-origin-req.js","sourceRoot":"","sources":["../../src/migrations/1704739930074-test-origin-req.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,0BAA0B;IAAvC;QACI,SAAI,GAAG,4BAA4B,CAAA;IAUvC,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wEAAwE,CAAC,CAAC;QACtG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACnF,CAAC;KAAA;CAEJ;AAXD,gEAWC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class promoteToProduction260120241706273488135 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.promoteToProduction260120241706273488135 = void 0;
|
|
13
|
+
class promoteToProduction260120241706273488135 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'promoteToProduction260120241706273488135';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.promoteToProduction260120241706273488135 = promoteToProduction260120241706273488135;
|
|
29
|
+
//# sourceMappingURL=1706273488135-promote_to_production_26_01_2024.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1706273488135-promote_to_production_26_01_2024.js","sourceRoot":"","sources":["../../src/migrations/1706273488135-promote_to_production_26_01_2024.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,wCAAwC;IAArD;QACI,SAAI,GAAG,0CAA0C,CAAA;IAUrD,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wEAAwE,CAAC,CAAC;QACtG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACnF,CAAC;KAAA;CAEJ;AAXD,4FAWC"}
|
|
@@ -58,6 +58,7 @@ import Connection from '../entity/Connection';
|
|
|
58
58
|
import ProductCategory from '../entity/ProductCategory';
|
|
59
59
|
import ProductDigital from '../entity/ProductDigital';
|
|
60
60
|
import EnvType from '../entity/EnvType';
|
|
61
|
+
import EcomUser from '../entity/Ecom-user';
|
|
61
62
|
import { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository } from './shopcart';
|
|
62
63
|
import { ProductShippingRepository, ShippingCountryRepository, ShippingRepository } from './shipping';
|
|
63
64
|
import { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository } from './templates';
|
|
@@ -187,6 +188,8 @@ export declare class EnvTypeRepository extends Repository<EnvType> {
|
|
|
187
188
|
}
|
|
188
189
|
export declare class MagentoBulkRepository extends Repository<MagentoBulk> {
|
|
189
190
|
}
|
|
191
|
+
export declare class EcomUserRepository extends Repository<EcomUser> {
|
|
192
|
+
}
|
|
190
193
|
export { CartItemRepository, CartRepository, CheckoutBillingAddressRepository, CheckoutRepository, CheckoutShippingAddressRepository, PriceDataRepository, };
|
|
191
194
|
export { AuthInfoRepository, AuthMethodRepository, EndpointTemplateEcommerceRepository, WebhookTemplateEcommerceRepository, ReachuSchemeConfigOrderRepository, ReachuSchemeConfigProductRepository, ReachuSchemeConfigVariantRepository, TemplateEcommerceRepository, TemplateEcommerceSchemeConfigOrderMappedRepository, TemplateEcommerceSchemeConfigOrderRepository, TemplateEcommerceSchemeConfigProductMappedRepository, TemplateEcommerceSchemeConfigProductRepository, TemplateEcommerceSchemeConfigVariantMappedRepository, TemplateEcommerceSchemeConfigVariantRepository, UserTemplateEcommerceRepository, };
|
|
192
195
|
export { DiscountRepository, DiscountCartRepository, DiscountProductRepository, DiscountTypeRepository, };
|
|
@@ -10,7 +10,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ChannelUserRepository = exports.ChannelGroupRepository = exports.CollectionSharedRepository = exports.CollectionItemRepository = exports.CollectionRepository = exports.PaymentMethodRepository = exports.UserSettingsRepository = exports.WooConnectionRepository = exports.WalletRepository = exports.VariantRepository = exports.UserRoleRepository = exports.UserRepository = exports.SubcategoryRepository = exports.ShopifyConnectionRepository = exports.ShippingPackageRepository = exports.RolePermissionRepository = exports.RoleRepository = exports.ExternalRequestRepository = exports.RequestRepository = exports.ProductRepository = exports.PermissionRepository = exports.PaymentShopifyRepository = exports.PaymentRepository = exports.OrderTrackingRepository = exports.OrderShippingRepository = exports.OrderItemRepository = exports.OrderRepository = exports.OptionRepository = exports.NotificationRepository = exports.MetricActiveUserRepository = exports.MagentoConnectionRepository = exports.ImportedProductRepository = exports.ImageRepository = exports.FlatRateCountryRepository = exports.FlatRateRepository = exports.CourierRepository = exports.CountryRepository = exports.CheckoutMetadataRepository = exports.ChannelRepository = exports.CategoryRepository = exports.CardRegistrationRepository = exports.BusinessRepository = exports.BankAccountRepository = exports.ApiCredentialRepository = exports.CustomProductImageRepository = exports.CustomProductRepository = exports.CustomVariantRepository = exports.AttributeRepository = exports.ProductAttributeRepository = exports.CategoryImagesRepository = void 0;
|
|
13
|
-
exports.UserCountPlanRepository = exports.SubscriptionRepository = exports.PlanRepository = exports.ShippingRepository = exports.ShippingCountryRepository = exports.ProductShippingRepository = exports.DiscountTypeRepository = exports.DiscountProductRepository = exports.DiscountCartRepository = exports.DiscountRepository = exports.UserTemplateEcommerceRepository = exports.TemplateEcommerceSchemeConfigVariantRepository = exports.TemplateEcommerceSchemeConfigVariantMappedRepository = exports.TemplateEcommerceSchemeConfigProductRepository = exports.TemplateEcommerceSchemeConfigProductMappedRepository = exports.TemplateEcommerceSchemeConfigOrderRepository = exports.TemplateEcommerceSchemeConfigOrderMappedRepository = exports.TemplateEcommerceRepository = exports.ReachuSchemeConfigVariantRepository = exports.ReachuSchemeConfigProductRepository = exports.ReachuSchemeConfigOrderRepository = exports.WebhookTemplateEcommerceRepository = exports.EndpointTemplateEcommerceRepository = exports.AuthMethodRepository = exports.AuthInfoRepository = exports.PriceDataRepository = exports.CheckoutShippingAddressRepository = exports.CheckoutRepository = exports.CheckoutBillingAddressRepository = exports.CartRepository = exports.CartItemRepository = exports.MagentoBulkRepository = exports.EnvTypeRepository = exports.ProductDigitalRepository = exports.ProductCategoryRepository = exports.ConnectionRepository = exports.TranslateRepository = exports.EnvironmentConfigurationRepository = exports.ExchangeRateRepository = exports.CurrencyRepository = exports.UserChannelApiKeyRepository = exports.ChannelUserProductSyncRepository = void 0;
|
|
13
|
+
exports.UserCountPlanRepository = exports.SubscriptionRepository = exports.PlanRepository = exports.ShippingRepository = exports.ShippingCountryRepository = exports.ProductShippingRepository = exports.DiscountTypeRepository = exports.DiscountProductRepository = exports.DiscountCartRepository = exports.DiscountRepository = exports.UserTemplateEcommerceRepository = exports.TemplateEcommerceSchemeConfigVariantRepository = exports.TemplateEcommerceSchemeConfigVariantMappedRepository = exports.TemplateEcommerceSchemeConfigProductRepository = exports.TemplateEcommerceSchemeConfigProductMappedRepository = exports.TemplateEcommerceSchemeConfigOrderRepository = exports.TemplateEcommerceSchemeConfigOrderMappedRepository = exports.TemplateEcommerceRepository = exports.ReachuSchemeConfigVariantRepository = exports.ReachuSchemeConfigProductRepository = exports.ReachuSchemeConfigOrderRepository = exports.WebhookTemplateEcommerceRepository = exports.EndpointTemplateEcommerceRepository = exports.AuthMethodRepository = exports.AuthInfoRepository = exports.PriceDataRepository = exports.CheckoutShippingAddressRepository = exports.CheckoutRepository = exports.CheckoutBillingAddressRepository = exports.CartRepository = exports.CartItemRepository = exports.EcomUserRepository = exports.MagentoBulkRepository = exports.EnvTypeRepository = exports.ProductDigitalRepository = exports.ProductCategoryRepository = exports.ConnectionRepository = exports.TranslateRepository = exports.EnvironmentConfigurationRepository = exports.ExchangeRateRepository = exports.CurrencyRepository = exports.UserChannelApiKeyRepository = exports.ChannelUserProductSyncRepository = void 0;
|
|
14
14
|
const ApiCredential_1 = __importDefault(require("../entity/ApiCredential"));
|
|
15
15
|
const BankAccount_1 = __importDefault(require("../entity/BankAccount"));
|
|
16
16
|
const Business_1 = __importDefault(require("../entity/Business"));
|
|
@@ -71,6 +71,7 @@ const Connection_1 = __importDefault(require("../entity/Connection"));
|
|
|
71
71
|
const ProductCategory_1 = __importDefault(require("../entity/ProductCategory"));
|
|
72
72
|
const ProductDigital_1 = __importDefault(require("../entity/ProductDigital"));
|
|
73
73
|
const EnvType_1 = __importDefault(require("../entity/EnvType"));
|
|
74
|
+
const Ecom_user_1 = __importDefault(require("../entity/Ecom-user"));
|
|
74
75
|
const shopcart_1 = require("./shopcart");
|
|
75
76
|
Object.defineProperty(exports, "CartItemRepository", { enumerable: true, get: function () { return shopcart_1.CartItemRepository; } });
|
|
76
77
|
Object.defineProperty(exports, "CartRepository", { enumerable: true, get: function () { return shopcart_1.CartRepository; } });
|
|
@@ -475,4 +476,10 @@ MagentoBulkRepository = __decorate([
|
|
|
475
476
|
typeorm_1.EntityRepository(entity_1.MagentoBulk)
|
|
476
477
|
], MagentoBulkRepository);
|
|
477
478
|
exports.MagentoBulkRepository = MagentoBulkRepository;
|
|
479
|
+
let EcomUserRepository = class EcomUserRepository extends typeorm_1.Repository {
|
|
480
|
+
};
|
|
481
|
+
EcomUserRepository = __decorate([
|
|
482
|
+
typeorm_1.EntityRepository(Ecom_user_1.default)
|
|
483
|
+
], EcomUserRepository);
|
|
484
|
+
exports.EcomUserRepository = EcomUserRepository;
|
|
478
485
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4EAAoD;AACpD,wEAAgD;AAChD,kEAA0C;AAC1C,kFAA0D;AAC1D,kEAA0C;AAC1C,gEAAwC;AACxC,kFAA0D;AAC1D,gEAAwC;AACxC,gEAAwC;AACxC,kEAA0C;AAC1C,gFAAwD;AACxD,4DAAoC;AACpC,gFAAwD;AACxD,iFAAuE;AACvE,kFAA0D;AAC1D,0EAAkD;AAClD,8DAAsC;AACtC,4DAAoC;AACpC,oEAA4C;AAC5C,4EAAoD;AACpD,4EAAoD;AACpD,gEAAwC;AACxC,8EAAsD;AACtD,sEAA8C;AAC9C,6DAAmD;AACnD,gEAAwC;AACxC,gFAAwD;AACxD,0DAAkC;AAClC,8EAAsD;AACtD,gFAAwD;AACxD,oFAA4D;AAC5D,wEAAgD;AAChD,0DAAkC;AAClC,kEAA0C;AAC1C,gEAAwC;AACxC,8DAAsC;AACtC,4EAAoD;AACpD,0EAAkD;AAClD,4EAAoD;AACpD,sEAA8C;AAC9C,8EAAsD;AACtD,kFAA0D;AAC1D,0EAAkD;AAClD,wEAAgD;AAChD,8FAAsE;AACtE,oFAA4D;AAC5D,kEAA0C;AAC1C,0EAAkD;AAElD,4EAAoD;AACpD,2DAAwD;AACxD,sFAA8D;AAE9D,oEAA4C;AAC5C,kFAA0D;AAC1D,8EAAsD;AAEtD,kGAA0E;AAE1E,oEAA4C;AAC5C,sEAA8C;AAC9C,gFAAwD;AACxD,8EAAsD;AACtD,gEAAwC;AAExC,yCAOoB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4EAAoD;AACpD,wEAAgD;AAChD,kEAA0C;AAC1C,kFAA0D;AAC1D,kEAA0C;AAC1C,gEAAwC;AACxC,kFAA0D;AAC1D,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,oEAA2C;AAG3C,yCAOoB;AAiOlB,mGAvOA,6BAAkB,OAuOA;AAClB,+FAvOA,yBAAc,OAuOA;AACd,iHAvOA,2CAAgC,OAuOA;AAChC,mGAvOA,6BAAkB,OAuOA;AAClB,kHAvOA,4CAAiC,OAuOA;AACjC,oGAvOA,8B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A0B,SAAQ,oBAA2B;CAAG,CAAA;AAAhE,yBAAyB;IADrC,0BAAgB,CAAC,yBAAe,CAAC;GACrB,yBAAyB,CAAuC;AAAhE,8DAAyB;AAGtC,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,oBAA0B;CAAG,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;AAGlC,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,oBAAoB;CAAG,CAAA;AAAlD,kBAAkB;IAD9B,0BAAgB,CAAC,mBAAQ,CAAC;GACd,kBAAkB,CAAgC;AAAlD,gDAAkB"}
|
|
@@ -2632,8 +2632,8 @@
|
|
|
2632
2632
|
"affectsGlobalScope": false
|
|
2633
2633
|
},
|
|
2634
2634
|
"../src/entity/request.ts": {
|
|
2635
|
-
"version": "
|
|
2636
|
-
"signature": "
|
|
2635
|
+
"version": "108826ede3b9168b382d7a46e63964b80137b363cbcac73dd11d66ee58ab6832",
|
|
2636
|
+
"signature": "fe7022adb444635770a801eedb05288746ae8ba7c88f1539af5f24e6be41226a",
|
|
2637
2637
|
"affectsGlobalScope": false
|
|
2638
2638
|
},
|
|
2639
2639
|
"../src/entity/notification.ts": {
|
|
@@ -2781,9 +2781,14 @@
|
|
|
2781
2781
|
"signature": "eef75decc3ee396bd73446abd46110c8c99c9f7e844cb59159e70f9635c5a07d",
|
|
2782
2782
|
"affectsGlobalScope": false
|
|
2783
2783
|
},
|
|
2784
|
+
"../src/entity/ecom-user.ts": {
|
|
2785
|
+
"version": "866c65d201022945a06e33cbfc8c733c7a353100155e17a34f729ca82acea7d6",
|
|
2786
|
+
"signature": "ab832c548d5dc95a2072d81daa5dd31628d2bd876b027864a9f65b1349277bb2",
|
|
2787
|
+
"affectsGlobalScope": false
|
|
2788
|
+
},
|
|
2784
2789
|
"../src/entity/index.ts": {
|
|
2785
|
-
"version": "
|
|
2786
|
-
"signature": "
|
|
2790
|
+
"version": "1f7e4a76685a00a1264d9f1be9717389a2778a9a3105b9914301c205ec87be9c",
|
|
2791
|
+
"signature": "cad4b41abc8d751f476473aa36ecca27c7022abda1468c7b789dd29c20438171",
|
|
2787
2792
|
"affectsGlobalScope": false
|
|
2788
2793
|
},
|
|
2789
2794
|
"../src/staticdata/productorigin.ts": {
|
|
@@ -2867,8 +2872,8 @@
|
|
|
2867
2872
|
"affectsGlobalScope": false
|
|
2868
2873
|
},
|
|
2869
2874
|
"../src/repositories/index.ts": {
|
|
2870
|
-
"version": "
|
|
2871
|
-
"signature": "
|
|
2875
|
+
"version": "f001caf93022e361d7b4e15febaac3f6f45101c19fb44a7fba81ee6cdc76cfaf",
|
|
2876
|
+
"signature": "4949840c8aaffd2f721335a16dc4e45560b3cd840ccbd2babac2c2d41cf7dab0",
|
|
2872
2877
|
"affectsGlobalScope": false
|
|
2873
2878
|
},
|
|
2874
2879
|
"../src/subscribers/productsubscriber.ts": {
|
|
@@ -3691,6 +3696,16 @@
|
|
|
3691
3696
|
"signature": "b40b983cf8053cc7721f6fe4fc2d04d67ec29de796715678898c217d462e0e6d",
|
|
3692
3697
|
"affectsGlobalScope": false
|
|
3693
3698
|
},
|
|
3699
|
+
"../src/migrations/1704739930074-test-origin-req.ts": {
|
|
3700
|
+
"version": "72e59e1a6ef8520aff80ba92769fddad8adf3c7966465fcd910b517d0151e8c8",
|
|
3701
|
+
"signature": "007d8e751c61af2379f7fe3379504e0ea850142546d0d88abfb00e5ce6d080c2",
|
|
3702
|
+
"affectsGlobalScope": false
|
|
3703
|
+
},
|
|
3704
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": {
|
|
3705
|
+
"version": "ef87a39901d132a6cc5c3abd8571e50e54cc896023974572daa5fc93ff569b82",
|
|
3706
|
+
"signature": "a72074750279cd9d5b59cbf8261bce9cdca5d78175126784d33d7a1fedfd3685",
|
|
3707
|
+
"affectsGlobalScope": false
|
|
3708
|
+
},
|
|
3694
3709
|
"../src/migrations/execute/index.ts": {
|
|
3695
3710
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3696
3711
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
@@ -5784,6 +5799,15 @@
|
|
|
5784
5799
|
"../src/entity/customproduct.ts",
|
|
5785
5800
|
"../src/entity/variant.ts"
|
|
5786
5801
|
],
|
|
5802
|
+
"../src/entity/ecom-user.ts": [
|
|
5803
|
+
"../node_modules/typeorm/index.d.ts",
|
|
5804
|
+
"../src/entity/apicredential.ts",
|
|
5805
|
+
"../src/entity/auditedmodel.ts",
|
|
5806
|
+
"../src/entity/magentoconnection.entity.ts",
|
|
5807
|
+
"../src/entity/shopifyconnection.ts",
|
|
5808
|
+
"../src/entity/user.ts",
|
|
5809
|
+
"../src/entity/wooconnection.ts"
|
|
5810
|
+
],
|
|
5787
5811
|
"../src/entity/environmentconfiguration.ts": [
|
|
5788
5812
|
"../node_modules/typeorm/index.d.ts",
|
|
5789
5813
|
"../src/entity/auditedmodel.ts"
|
|
@@ -5854,6 +5878,7 @@
|
|
|
5854
5878
|
"../src/entity/customproduct.ts",
|
|
5855
5879
|
"../src/entity/customproductimage.ts",
|
|
5856
5880
|
"../src/entity/customvariant.ts",
|
|
5881
|
+
"../src/entity/ecom-user.ts",
|
|
5857
5882
|
"../src/entity/environmentconfiguration.ts",
|
|
5858
5883
|
"../src/entity/envtype.ts",
|
|
5859
5884
|
"../src/entity/exchangerate.ts",
|
|
@@ -6811,6 +6836,12 @@
|
|
|
6811
6836
|
"../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts": [
|
|
6812
6837
|
"../node_modules/typeorm/index.d.ts"
|
|
6813
6838
|
],
|
|
6839
|
+
"../src/migrations/1704739930074-test-origin-req.ts": [
|
|
6840
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6841
|
+
],
|
|
6842
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": [
|
|
6843
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6844
|
+
],
|
|
6814
6845
|
"../src/migrations/execute/index.ts": [
|
|
6815
6846
|
"../src/config/connect.ts"
|
|
6816
6847
|
],
|
|
@@ -6857,6 +6888,7 @@
|
|
|
6857
6888
|
"../src/entity/customproduct.ts",
|
|
6858
6889
|
"../src/entity/customproductimage.ts",
|
|
6859
6890
|
"../src/entity/customvariant.ts",
|
|
6891
|
+
"../src/entity/ecom-user.ts",
|
|
6860
6892
|
"../src/entity/environmentconfiguration.ts",
|
|
6861
6893
|
"../src/entity/envtype.ts",
|
|
6862
6894
|
"../src/entity/exchangerate.ts",
|
|
@@ -8873,6 +8905,14 @@
|
|
|
8873
8905
|
"../src/entity/customproduct.ts",
|
|
8874
8906
|
"../src/entity/variant.ts"
|
|
8875
8907
|
],
|
|
8908
|
+
"../src/entity/ecom-user.ts": [
|
|
8909
|
+
"../src/entity/apicredential.ts",
|
|
8910
|
+
"../src/entity/auditedmodel.ts",
|
|
8911
|
+
"../src/entity/magentoconnection.entity.ts",
|
|
8912
|
+
"../src/entity/shopifyconnection.ts",
|
|
8913
|
+
"../src/entity/user.ts",
|
|
8914
|
+
"../src/entity/wooconnection.ts"
|
|
8915
|
+
],
|
|
8876
8916
|
"../src/entity/environmentconfiguration.ts": [
|
|
8877
8917
|
"../src/entity/auditedmodel.ts"
|
|
8878
8918
|
],
|
|
@@ -8932,6 +8972,7 @@
|
|
|
8932
8972
|
"../src/entity/customproduct.ts",
|
|
8933
8973
|
"../src/entity/customproductimage.ts",
|
|
8934
8974
|
"../src/entity/customvariant.ts",
|
|
8975
|
+
"../src/entity/ecom-user.ts",
|
|
8935
8976
|
"../src/entity/environmentconfiguration.ts",
|
|
8936
8977
|
"../src/entity/envtype.ts",
|
|
8937
8978
|
"../src/entity/exchangerate.ts",
|
|
@@ -9786,6 +9827,12 @@
|
|
|
9786
9827
|
"../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts": [
|
|
9787
9828
|
"../node_modules/typeorm/index.d.ts"
|
|
9788
9829
|
],
|
|
9830
|
+
"../src/migrations/1704739930074-test-origin-req.ts": [
|
|
9831
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9832
|
+
],
|
|
9833
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": [
|
|
9834
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9835
|
+
],
|
|
9789
9836
|
"../src/migrations/index.ts": [
|
|
9790
9837
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9791
9838
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9829,6 +9876,7 @@
|
|
|
9829
9876
|
"../src/entity/customproduct.ts",
|
|
9830
9877
|
"../src/entity/customproductimage.ts",
|
|
9831
9878
|
"../src/entity/customvariant.ts",
|
|
9879
|
+
"../src/entity/ecom-user.ts",
|
|
9832
9880
|
"../src/entity/environmentconfiguration.ts",
|
|
9833
9881
|
"../src/entity/envtype.ts",
|
|
9834
9882
|
"../src/entity/exchangerate.ts",
|
|
@@ -10454,6 +10502,7 @@
|
|
|
10454
10502
|
"../src/entity/customproduct.ts",
|
|
10455
10503
|
"../src/entity/customproductimage.ts",
|
|
10456
10504
|
"../src/entity/customvariant.ts",
|
|
10505
|
+
"../src/entity/ecom-user.ts",
|
|
10457
10506
|
"../src/entity/environmentconfiguration.ts",
|
|
10458
10507
|
"../src/entity/envtype.ts",
|
|
10459
10508
|
"../src/entity/exchangerate.ts",
|
|
@@ -10683,6 +10732,8 @@
|
|
|
10683
10732
|
"../src/migrations/1703726009902-promote_to_prod_27_12_23__01.ts",
|
|
10684
10733
|
"../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts",
|
|
10685
10734
|
"../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts",
|
|
10735
|
+
"../src/migrations/1704739930074-test-origin-req.ts",
|
|
10736
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts",
|
|
10686
10737
|
"../src/migrations/execute/index.ts",
|
|
10687
10738
|
"../src/migrations/index.ts",
|
|
10688
10739
|
"../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.159",
|
|
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.159",
|
|
25
|
+
"@reachu/utils": "1.0.159",
|
|
26
26
|
"dotenv": "8.0.0",
|
|
27
27
|
"express": "4.17.1",
|
|
28
28
|
"mysql2": "1.5.2",
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Entity,
|
|
3
|
+
PrimaryGeneratedColumn,
|
|
4
|
+
DeleteDateColumn,
|
|
5
|
+
ManyToOne,
|
|
6
|
+
JoinColumn,
|
|
7
|
+
OneToMany,
|
|
8
|
+
Column,
|
|
9
|
+
} from 'typeorm';
|
|
10
|
+
|
|
11
|
+
import AuditedModel from './AuditedModel';
|
|
12
|
+
|
|
13
|
+
import { MagentoConnection } from './MagentoConnection.entity';
|
|
14
|
+
|
|
15
|
+
import ApiCredential from './ApiCredential';
|
|
16
|
+
import User from './User';
|
|
17
|
+
import ShopifyConnection from './ShopifyConnection';
|
|
18
|
+
import WooConnection from './WooConnection';
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@Entity()
|
|
22
|
+
export default class EcomUser extends AuditedModel {
|
|
23
|
+
@DeleteDateColumn()
|
|
24
|
+
deletedAt: Date;
|
|
25
|
+
|
|
26
|
+
@PrimaryGeneratedColumn()
|
|
27
|
+
id: number;
|
|
28
|
+
|
|
29
|
+
@Column('varchar', { nullable: true })
|
|
30
|
+
name: string;
|
|
31
|
+
|
|
32
|
+
@Column('boolean', { nullable: true, default: true })
|
|
33
|
+
active: boolean;
|
|
34
|
+
|
|
35
|
+
@ManyToOne(() => User, (user) => user.id, { onDelete: 'CASCADE' })
|
|
36
|
+
@JoinColumn()
|
|
37
|
+
user: User
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@ManyToOne(() => MagentoConnection, (magentoConnection) => magentoConnection.id, {
|
|
41
|
+
nullable: true,
|
|
42
|
+
})
|
|
43
|
+
@JoinColumn()
|
|
44
|
+
magentoConnection: MagentoConnection;
|
|
45
|
+
|
|
46
|
+
@ManyToOne(() => ShopifyConnection, (shopifyConnection) => shopifyConnection.id, {
|
|
47
|
+
nullable: true,
|
|
48
|
+
})
|
|
49
|
+
@JoinColumn()
|
|
50
|
+
shopifyConnection: ShopifyConnection;
|
|
51
|
+
|
|
52
|
+
@ManyToOne(() => WooConnection, (wooConnection) => wooConnection.id, {
|
|
53
|
+
nullable: true,
|
|
54
|
+
})
|
|
55
|
+
@JoinColumn()
|
|
56
|
+
wooConnection: WooConnection;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
@ManyToOne(() => ApiCredential, (apiCredential) => apiCredential.id, {
|
|
60
|
+
nullable: true,
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
@JoinColumn()
|
|
64
|
+
apiCredential: ApiCredential;
|
|
65
|
+
}
|
package/src/entity/Request.ts
CHANGED
package/src/entity/index.ts
CHANGED
|
@@ -118,6 +118,9 @@ import DiscountType from './modules/discount/DiscountType';
|
|
|
118
118
|
|
|
119
119
|
import MagentoBulk from './MagentoBulk';
|
|
120
120
|
|
|
121
|
+
import EcomUser from './Ecom-user';
|
|
122
|
+
|
|
123
|
+
|
|
121
124
|
export {
|
|
122
125
|
CustomVariant,
|
|
123
126
|
CustomProduct,
|
|
@@ -221,4 +224,5 @@ export {
|
|
|
221
224
|
ProductDigital,
|
|
222
225
|
EnvType,
|
|
223
226
|
MagentoBulk,
|
|
227
|
+
EcomUser
|
|
224
228
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class testOriginReq1704739930074 implements MigrationInterface {
|
|
4
|
+
name = 'testOriginReq1704739930074'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class promoteToProduction260120241706273488135 implements MigrationInterface {
|
|
4
|
+
name = 'promoteToProduction260120241706273488135'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
@@ -63,6 +63,9 @@ import ProductCategory from '../entity/ProductCategory';
|
|
|
63
63
|
import ProductDigital from '../entity/ProductDigital';
|
|
64
64
|
import EnvType from '../entity/EnvType';
|
|
65
65
|
|
|
66
|
+
import EcomUser from '../entity/Ecom-user';
|
|
67
|
+
|
|
68
|
+
|
|
66
69
|
import {
|
|
67
70
|
CartItemRepository,
|
|
68
71
|
CartRepository,
|
|
@@ -291,6 +294,9 @@ export class EnvTypeRepository extends Repository<EnvType> {}
|
|
|
291
294
|
@EntityRepository(MagentoBulk)
|
|
292
295
|
export class MagentoBulkRepository extends Repository<MagentoBulk> {}
|
|
293
296
|
|
|
297
|
+
@EntityRepository(EcomUser)
|
|
298
|
+
export class EcomUserRepository extends Repository<EcomUser> {}
|
|
299
|
+
|
|
294
300
|
export {
|
|
295
301
|
CartItemRepository,
|
|
296
302
|
CartRepository,
|