@reachu/database 1.0.158 → 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/index.d.ts +2 -1
- package/dist/entity/index.js +3 -1
- package/dist/entity/index.js.map +1 -1
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.d.ts +6 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.js +29 -0
- package/dist/migrations/1706273488135-promote_to_production_26_01_2024.js.map +1 -0
- package/dist/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 +124 -51
- package/package.json +3 -3
- package/src/entity/Ecom-user.ts +65 -0
- package/src/entity/index.ts +4 -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/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,kBAxIK,iBAAO,CAwIL;AAvIT,wDAAgC;AAwI9B,kBAxIK,iBAAO,CAwIL;AAvIT,wDAAgC;AAwI9B,kBAxIK,iBAAO,CAwIL;AAvIT,0DAAkC;AAwIhC,mBAxIK,kBAAQ,CAwIL;AAvIV,wEAAgD;AAwI9C,0BAxIK,yBAAe,CAwIL;AAvIjB,gEAAwC;AAwItC,sBAxIK,qBAAW,CAwIL;AAvIb,oDAA4B;AAwI1B,gBAxIK,eAAK,CAwIL;AAvIP,wEAAgD;AAwI9C,0BAxIK,yBAAe,CAwIL;AAvIjB,yEAA+D;AAwI7D,kGAxIO,4CAAiB,OAwIP;AAvInB,0EAAkD;AAw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,CAyGL;AAxGV,mFAA2D;AAyGzD,uBAzGK,sBAAY,CAyGL;AAxGd,yFAAiE;AAyG/D,0BAzGK,yBAAe,CAyGL;AAxGjB,mFAA2D;AAyGzD,uBAzGK,sBAAY,CAyGL;AAvGd,gEAAwC;AA2GtC,sBA3GK,qBAAW,CA2GL;AAzGb,4DAAmC;AA0GjC,mBA1GK,mBAAQ,CA0GL"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class promoteToProduction260120241706273488135 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.promoteToProduction260120241706273488135 = void 0;
|
|
13
|
+
class promoteToProduction260120241706273488135 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'promoteToProduction260120241706273488135';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.promoteToProduction260120241706273488135 = promoteToProduction260120241706273488135;
|
|
29
|
+
//# sourceMappingURL=1706273488135-promote_to_production_26_01_2024.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1706273488135-promote_to_production_26_01_2024.js","sourceRoot":"","sources":["../../src/migrations/1706273488135-promote_to_production_26_01_2024.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,wCAAwC;IAArD;QACI,SAAI,GAAG,0CAA0C,CAAA;IAUrD,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,wEAAwE,CAAC,CAAC;QACtG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACnF,CAAC;KAAA;CAEJ;AAXD,4FAWC"}
|
|
@@ -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,4E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,0BAAgB,CAAC,mBAAQ,CAAC;GACd,kBAAkB,CAAgC;AAAlD,gDAAkB"}
|
|
@@ -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": "dcc9081d68c2ade5c51ac7bf5f37cce630359408e713999269b77f611a30d871",
|
|
2251
|
+
"signature": "dcc9081d68c2ade5c51ac7bf5f37cce630359408e713999269b77f611a30d871",
|
|
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": {
|
|
@@ -2766,9 +2781,14 @@
|
|
|
2766
2781
|
"signature": "eef75decc3ee396bd73446abd46110c8c99c9f7e844cb59159e70f9635c5a07d",
|
|
2767
2782
|
"affectsGlobalScope": false
|
|
2768
2783
|
},
|
|
2784
|
+
"../src/entity/ecom-user.ts": {
|
|
2785
|
+
"version": "866c65d201022945a06e33cbfc8c733c7a353100155e17a34f729ca82acea7d6",
|
|
2786
|
+
"signature": "ab832c548d5dc95a2072d81daa5dd31628d2bd876b027864a9f65b1349277bb2",
|
|
2787
|
+
"affectsGlobalScope": false
|
|
2788
|
+
},
|
|
2769
2789
|
"../src/entity/index.ts": {
|
|
2770
|
-
"version": "
|
|
2771
|
-
"signature": "
|
|
2790
|
+
"version": "1f7e4a76685a00a1264d9f1be9717389a2778a9a3105b9914301c205ec87be9c",
|
|
2791
|
+
"signature": "cad4b41abc8d751f476473aa36ecca27c7022abda1468c7b789dd29c20438171",
|
|
2772
2792
|
"affectsGlobalScope": false
|
|
2773
2793
|
},
|
|
2774
2794
|
"../src/staticdata/productorigin.ts": {
|
|
@@ -2852,8 +2872,8 @@
|
|
|
2852
2872
|
"affectsGlobalScope": false
|
|
2853
2873
|
},
|
|
2854
2874
|
"../src/repositories/index.ts": {
|
|
2855
|
-
"version": "
|
|
2856
|
-
"signature": "
|
|
2875
|
+
"version": "f001caf93022e361d7b4e15febaac3f6f45101c19fb44a7fba81ee6cdc76cfaf",
|
|
2876
|
+
"signature": "4949840c8aaffd2f721335a16dc4e45560b3cd840ccbd2babac2c2d41cf7dab0",
|
|
2857
2877
|
"affectsGlobalScope": false
|
|
2858
2878
|
},
|
|
2859
2879
|
"../src/subscribers/productsubscriber.ts": {
|
|
@@ -3681,29 +3701,34 @@
|
|
|
3681
3701
|
"signature": "007d8e751c61af2379f7fe3379504e0ea850142546d0d88abfb00e5ce6d080c2",
|
|
3682
3702
|
"affectsGlobalScope": false
|
|
3683
3703
|
},
|
|
3704
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": {
|
|
3705
|
+
"version": "ef87a39901d132a6cc5c3abd8571e50e54cc896023974572daa5fc93ff569b82",
|
|
3706
|
+
"signature": "a72074750279cd9d5b59cbf8261bce9cdca5d78175126784d33d7a1fedfd3685",
|
|
3707
|
+
"affectsGlobalScope": false
|
|
3708
|
+
},
|
|
3684
3709
|
"../src/migrations/execute/index.ts": {
|
|
3685
3710
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3686
3711
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
3687
3712
|
"affectsGlobalScope": false
|
|
3688
3713
|
},
|
|
3689
3714
|
"../node_modules/@babel/types/lib/index.d.ts": {
|
|
3690
|
-
"version": "
|
|
3691
|
-
"signature": "
|
|
3715
|
+
"version": "923c136dcbf20f140c369078a7eb56f6697889d104397d694f70e21dd08b1810",
|
|
3716
|
+
"signature": "923c136dcbf20f140c369078a7eb56f6697889d104397d694f70e21dd08b1810",
|
|
3692
3717
|
"affectsGlobalScope": false
|
|
3693
3718
|
},
|
|
3694
3719
|
"../node_modules/@types/babel__generator/index.d.ts": {
|
|
3695
|
-
"version": "
|
|
3696
|
-
"signature": "
|
|
3720
|
+
"version": "2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050",
|
|
3721
|
+
"signature": "2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050",
|
|
3697
3722
|
"affectsGlobalScope": false
|
|
3698
3723
|
},
|
|
3699
3724
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": {
|
|
3700
|
-
"version": "
|
|
3701
|
-
"signature": "
|
|
3725
|
+
"version": "8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990",
|
|
3726
|
+
"signature": "8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990",
|
|
3702
3727
|
"affectsGlobalScope": false
|
|
3703
3728
|
},
|
|
3704
3729
|
"../node_modules/@types/babel__template/index.d.ts": {
|
|
3705
|
-
"version": "
|
|
3706
|
-
"signature": "
|
|
3730
|
+
"version": "670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed",
|
|
3731
|
+
"signature": "670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed",
|
|
3707
3732
|
"affectsGlobalScope": false
|
|
3708
3733
|
},
|
|
3709
3734
|
"../node_modules/@types/babel__traverse/index.d.ts": {
|
|
@@ -3712,28 +3737,28 @@
|
|
|
3712
3737
|
"affectsGlobalScope": false
|
|
3713
3738
|
},
|
|
3714
3739
|
"../node_modules/@types/babel__core/index.d.ts": {
|
|
3715
|
-
"version": "
|
|
3716
|
-
"signature": "
|
|
3740
|
+
"version": "069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9",
|
|
3741
|
+
"signature": "069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9",
|
|
3717
3742
|
"affectsGlobalScope": false
|
|
3718
3743
|
},
|
|
3719
3744
|
"../node_modules/@types/graceful-fs/index.d.ts": {
|
|
3720
|
-
"version": "
|
|
3721
|
-
"signature": "
|
|
3745
|
+
"version": "afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5",
|
|
3746
|
+
"signature": "afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5",
|
|
3722
3747
|
"affectsGlobalScope": false
|
|
3723
3748
|
},
|
|
3724
3749
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts": {
|
|
3725
|
-
"version": "
|
|
3726
|
-
"signature": "
|
|
3750
|
+
"version": "035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245",
|
|
3751
|
+
"signature": "035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245",
|
|
3727
3752
|
"affectsGlobalScope": false
|
|
3728
3753
|
},
|
|
3729
3754
|
"../node_modules/@types/istanbul-lib-report/index.d.ts": {
|
|
3730
|
-
"version": "
|
|
3731
|
-
"signature": "
|
|
3755
|
+
"version": "a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54",
|
|
3756
|
+
"signature": "a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54",
|
|
3732
3757
|
"affectsGlobalScope": false
|
|
3733
3758
|
},
|
|
3734
3759
|
"../node_modules/@types/istanbul-reports/index.d.ts": {
|
|
3735
|
-
"version": "
|
|
3736
|
-
"signature": "
|
|
3760
|
+
"version": "5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434",
|
|
3761
|
+
"signature": "5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434",
|
|
3737
3762
|
"affectsGlobalScope": false
|
|
3738
3763
|
},
|
|
3739
3764
|
"../node_modules/jest-diff/build/cleanupsemantic.d.ts": {
|
|
@@ -3777,28 +3802,28 @@
|
|
|
3777
3802
|
"affectsGlobalScope": true
|
|
3778
3803
|
},
|
|
3779
3804
|
"../node_modules/@types/json-schema/index.d.ts": {
|
|
3780
|
-
"version": "
|
|
3781
|
-
"signature": "
|
|
3805
|
+
"version": "f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1",
|
|
3806
|
+
"signature": "f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1",
|
|
3782
3807
|
"affectsGlobalScope": false
|
|
3783
3808
|
},
|
|
3784
3809
|
"../node_modules/@types/prettier/index.d.ts": {
|
|
3785
|
-
"version": "
|
|
3786
|
-
"signature": "
|
|
3810
|
+
"version": "d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e",
|
|
3811
|
+
"signature": "d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e",
|
|
3787
3812
|
"affectsGlobalScope": false
|
|
3788
3813
|
},
|
|
3789
3814
|
"../node_modules/@types/stack-utils/index.d.ts": {
|
|
3790
|
-
"version": "
|
|
3791
|
-
"signature": "
|
|
3815
|
+
"version": "ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66",
|
|
3816
|
+
"signature": "ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66",
|
|
3792
3817
|
"affectsGlobalScope": false
|
|
3793
3818
|
},
|
|
3794
3819
|
"../node_modules/@types/yargs-parser/index.d.ts": {
|
|
3795
|
-
"version": "
|
|
3796
|
-
"signature": "
|
|
3820
|
+
"version": "bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960",
|
|
3821
|
+
"signature": "bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960",
|
|
3797
3822
|
"affectsGlobalScope": false
|
|
3798
3823
|
},
|
|
3799
3824
|
"../node_modules/@types/yargs/index.d.ts": {
|
|
3800
|
-
"version": "
|
|
3801
|
-
"signature": "
|
|
3825
|
+
"version": "c3e5b75e1af87b8e67e12e21332e708f7eccee6aac6261cfe98ca36652cdcb53",
|
|
3826
|
+
"signature": "c3e5b75e1af87b8e67e12e21332e708f7eccee6aac6261cfe98ca36652cdcb53",
|
|
3802
3827
|
"affectsGlobalScope": false
|
|
3803
3828
|
},
|
|
3804
3829
|
"../node_modules/@types/zen-observable/index.d.ts": {
|
|
@@ -3909,7 +3934,8 @@
|
|
|
3909
3934
|
"../node_modules/@types/node/http.d.ts",
|
|
3910
3935
|
"../node_modules/@types/node/index.d.ts",
|
|
3911
3936
|
"../node_modules/@types/qs/index.d.ts",
|
|
3912
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
3937
|
+
"../node_modules/@types/range-parser/index.d.ts",
|
|
3938
|
+
"../node_modules/@types/send/index.d.ts"
|
|
3913
3939
|
],
|
|
3914
3940
|
"../node_modules/@types/express/index.d.ts": [
|
|
3915
3941
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -4107,7 +4133,14 @@
|
|
|
4107
4133
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
4108
4134
|
"../node_modules/@types/node/stream.d.ts"
|
|
4109
4135
|
],
|
|
4136
|
+
"../node_modules/@types/send/index.d.ts": [
|
|
4137
|
+
"../node_modules/@types/node/fs.d.ts",
|
|
4138
|
+
"../node_modules/@types/node/index.d.ts",
|
|
4139
|
+
"../node_modules/@types/node/stream.d.ts",
|
|
4140
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
4141
|
+
],
|
|
4110
4142
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
4143
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
4111
4144
|
"../node_modules/@types/mime/index.d.ts",
|
|
4112
4145
|
"../node_modules/@types/node/http.d.ts",
|
|
4113
4146
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -5766,6 +5799,15 @@
|
|
|
5766
5799
|
"../src/entity/customproduct.ts",
|
|
5767
5800
|
"../src/entity/variant.ts"
|
|
5768
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
|
+
],
|
|
5769
5811
|
"../src/entity/environmentconfiguration.ts": [
|
|
5770
5812
|
"../node_modules/typeorm/index.d.ts",
|
|
5771
5813
|
"../src/entity/auditedmodel.ts"
|
|
@@ -5836,6 +5878,7 @@
|
|
|
5836
5878
|
"../src/entity/customproduct.ts",
|
|
5837
5879
|
"../src/entity/customproductimage.ts",
|
|
5838
5880
|
"../src/entity/customvariant.ts",
|
|
5881
|
+
"../src/entity/ecom-user.ts",
|
|
5839
5882
|
"../src/entity/environmentconfiguration.ts",
|
|
5840
5883
|
"../src/entity/envtype.ts",
|
|
5841
5884
|
"../src/entity/exchangerate.ts",
|
|
@@ -6796,6 +6839,9 @@
|
|
|
6796
6839
|
"../src/migrations/1704739930074-test-origin-req.ts": [
|
|
6797
6840
|
"../node_modules/typeorm/index.d.ts"
|
|
6798
6841
|
],
|
|
6842
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": [
|
|
6843
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6844
|
+
],
|
|
6799
6845
|
"../src/migrations/execute/index.ts": [
|
|
6800
6846
|
"../src/config/connect.ts"
|
|
6801
6847
|
],
|
|
@@ -6842,6 +6888,7 @@
|
|
|
6842
6888
|
"../src/entity/customproduct.ts",
|
|
6843
6889
|
"../src/entity/customproductimage.ts",
|
|
6844
6890
|
"../src/entity/customvariant.ts",
|
|
6891
|
+
"../src/entity/ecom-user.ts",
|
|
6845
6892
|
"../src/entity/environmentconfiguration.ts",
|
|
6846
6893
|
"../src/entity/envtype.ts",
|
|
6847
6894
|
"../src/entity/exchangerate.ts",
|
|
@@ -7046,7 +7093,8 @@
|
|
|
7046
7093
|
"../node_modules/@types/node/http.d.ts",
|
|
7047
7094
|
"../node_modules/@types/node/index.d.ts",
|
|
7048
7095
|
"../node_modules/@types/qs/index.d.ts",
|
|
7049
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
7096
|
+
"../node_modules/@types/range-parser/index.d.ts",
|
|
7097
|
+
"../node_modules/@types/send/index.d.ts"
|
|
7050
7098
|
],
|
|
7051
7099
|
"../node_modules/@types/express/index.d.ts": [
|
|
7052
7100
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -7244,7 +7292,14 @@
|
|
|
7244
7292
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
7245
7293
|
"../node_modules/@types/node/stream.d.ts"
|
|
7246
7294
|
],
|
|
7295
|
+
"../node_modules/@types/send/index.d.ts": [
|
|
7296
|
+
"../node_modules/@types/node/fs.d.ts",
|
|
7297
|
+
"../node_modules/@types/node/index.d.ts",
|
|
7298
|
+
"../node_modules/@types/node/stream.d.ts",
|
|
7299
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
7300
|
+
],
|
|
7247
7301
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
7302
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
7248
7303
|
"../node_modules/@types/mime/index.d.ts",
|
|
7249
7304
|
"../node_modules/@types/node/http.d.ts",
|
|
7250
7305
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -8850,6 +8905,14 @@
|
|
|
8850
8905
|
"../src/entity/customproduct.ts",
|
|
8851
8906
|
"../src/entity/variant.ts"
|
|
8852
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
|
+
],
|
|
8853
8916
|
"../src/entity/environmentconfiguration.ts": [
|
|
8854
8917
|
"../src/entity/auditedmodel.ts"
|
|
8855
8918
|
],
|
|
@@ -8909,6 +8972,7 @@
|
|
|
8909
8972
|
"../src/entity/customproduct.ts",
|
|
8910
8973
|
"../src/entity/customproductimage.ts",
|
|
8911
8974
|
"../src/entity/customvariant.ts",
|
|
8975
|
+
"../src/entity/ecom-user.ts",
|
|
8912
8976
|
"../src/entity/environmentconfiguration.ts",
|
|
8913
8977
|
"../src/entity/envtype.ts",
|
|
8914
8978
|
"../src/entity/exchangerate.ts",
|
|
@@ -9766,6 +9830,9 @@
|
|
|
9766
9830
|
"../src/migrations/1704739930074-test-origin-req.ts": [
|
|
9767
9831
|
"../node_modules/typeorm/index.d.ts"
|
|
9768
9832
|
],
|
|
9833
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts": [
|
|
9834
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9835
|
+
],
|
|
9769
9836
|
"../src/migrations/index.ts": [
|
|
9770
9837
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9771
9838
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9809,6 +9876,7 @@
|
|
|
9809
9876
|
"../src/entity/customproduct.ts",
|
|
9810
9877
|
"../src/entity/customproductimage.ts",
|
|
9811
9878
|
"../src/entity/customvariant.ts",
|
|
9879
|
+
"../src/entity/ecom-user.ts",
|
|
9812
9880
|
"../src/entity/environmentconfiguration.ts",
|
|
9813
9881
|
"../src/entity/envtype.ts",
|
|
9814
9882
|
"../src/entity/exchangerate.ts",
|
|
@@ -9956,6 +10024,7 @@
|
|
|
9956
10024
|
"../node_modules/@types/express-serve-static-core/index.d.ts",
|
|
9957
10025
|
"../node_modules/@types/express/index.d.ts",
|
|
9958
10026
|
"../node_modules/@types/graceful-fs/index.d.ts",
|
|
10027
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
9959
10028
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts",
|
|
9960
10029
|
"../node_modules/@types/istanbul-lib-report/index.d.ts",
|
|
9961
10030
|
"../node_modules/@types/istanbul-reports/index.d.ts",
|
|
@@ -10013,6 +10082,8 @@
|
|
|
10013
10082
|
"../node_modules/@types/prettier/index.d.ts",
|
|
10014
10083
|
"../node_modules/@types/qs/index.d.ts",
|
|
10015
10084
|
"../node_modules/@types/range-parser/index.d.ts",
|
|
10085
|
+
"../node_modules/@types/send/index.d.ts",
|
|
10086
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts",
|
|
10016
10087
|
"../node_modules/@types/serve-static/index.d.ts",
|
|
10017
10088
|
"../node_modules/@types/stack-utils/index.d.ts",
|
|
10018
10089
|
"../node_modules/@types/yargs-parser/index.d.ts",
|
|
@@ -10431,6 +10502,7 @@
|
|
|
10431
10502
|
"../src/entity/customproduct.ts",
|
|
10432
10503
|
"../src/entity/customproductimage.ts",
|
|
10433
10504
|
"../src/entity/customvariant.ts",
|
|
10505
|
+
"../src/entity/ecom-user.ts",
|
|
10434
10506
|
"../src/entity/environmentconfiguration.ts",
|
|
10435
10507
|
"../src/entity/envtype.ts",
|
|
10436
10508
|
"../src/entity/exchangerate.ts",
|
|
@@ -10661,6 +10733,7 @@
|
|
|
10661
10733
|
"../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts",
|
|
10662
10734
|
"../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts",
|
|
10663
10735
|
"../src/migrations/1704739930074-test-origin-req.ts",
|
|
10736
|
+
"../src/migrations/1706273488135-promote_to_production_26_01_2024.ts",
|
|
10664
10737
|
"../src/migrations/execute/index.ts",
|
|
10665
10738
|
"../src/migrations/index.ts",
|
|
10666
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/index.ts
CHANGED
|
@@ -118,6 +118,9 @@ import DiscountType from './modules/discount/DiscountType';
|
|
|
118
118
|
|
|
119
119
|
import MagentoBulk from './MagentoBulk';
|
|
120
120
|
|
|
121
|
+
import EcomUser from './Ecom-user';
|
|
122
|
+
|
|
123
|
+
|
|
121
124
|
export {
|
|
122
125
|
CustomVariant,
|
|
123
126
|
CustomProduct,
|
|
@@ -221,4 +224,5 @@ export {
|
|
|
221
224
|
ProductDigital,
|
|
222
225
|
EnvType,
|
|
223
226
|
MagentoBulk,
|
|
227
|
+
EcomUser
|
|
224
228
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class promoteToProduction260120241706273488135 implements MigrationInterface {
|
|
4
|
+
name = 'promoteToProduction260120241706273488135'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`request\` ADD \`test_origen\` tinyint NOT NULL DEFAULT 0`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`request\` DROP COLUMN \`test_origen\``);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
@@ -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,
|