tt-entities 0.1.25 → 0.1.27
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/libs/tatayab-entities-library/entities/inventory-location.entity.d.ts +9 -0
- package/dist/libs/tatayab-entities-library/entities/inventory-location.entity.js +41 -0
- package/dist/libs/tatayab-entities-library/entities/inventory-location.entity.js.map +1 -0
- package/dist/libs/tatayab-entities-library/entities/inventory-shelf.entity.d.ts +10 -0
- package/dist/libs/tatayab-entities-library/entities/inventory-shelf.entity.js +46 -0
- package/dist/libs/tatayab-entities-library/entities/inventory-shelf.entity.js.map +1 -0
- package/dist/libs/tatayab-entities-library/entities/review.entity.d.ts +21 -0
- package/dist/libs/tatayab-entities-library/entities/review.entity.js +89 -0
- package/dist/libs/tatayab-entities-library/entities/review.entity.js.map +1 -0
- package/dist/libs/tatayab-entities-library/index.d.ts +3 -0
- package/dist/libs/tatayab-entities-library/index.js +13 -1
- package/dist/libs/tatayab-entities-library/index.js.map +1 -1
- package/dist/libs/tatayab-entities-library/utils/enums/reviewStatus.d.ts +5 -0
- package/dist/libs/tatayab-entities-library/utils/enums/reviewStatus.js +10 -0
- package/dist/libs/tatayab-entities-library/utils/enums/reviewStatus.js.map +1 -0
- package/dist/libs/tatayab-entities-library/utils/enums/reviewableType.d.ts +4 -0
- package/dist/libs/tatayab-entities-library/utils/enums/reviewableType.js +9 -0
- package/dist/libs/tatayab-entities-library/utils/enums/reviewableType.js.map +1 -0
- package/dist/src/main.js +268 -97
- package/libs/tatayab-entities-library/src/entities/inventory-location.entity.ts +28 -0
- package/libs/tatayab-entities-library/src/entities/inventory-shelf.entity.ts +34 -0
- package/libs/tatayab-entities-library/src/entities/review.entity.ts +70 -0
- package/libs/tatayab-entities-library/src/index.ts +14 -0
- package/libs/tatayab-entities-library/src/utils/enums/reviewStatus.ts +5 -0
- package/libs/tatayab-entities-library/src/utils/enums/reviewableType.ts +4 -0
- package/package.json +1 -1
- package/src/database/migrations/20260827100000-create-inventory-locations.js +61 -0
- package/src/database/migrations/20260828100000-add-deleted-at-to-order-gift-messages.js +16 -0
- package/src/database/migrations/20260905100000-create-reviews.js +68 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
import { InventoryShelf } from './inventory-shelf.entity';
|
|
3
|
+
export declare class InventoryLocation extends Model {
|
|
4
|
+
name: string;
|
|
5
|
+
code: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
shelves: InventoryShelf[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.InventoryLocation = void 0;
|
|
13
|
+
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
14
|
+
const inventory_shelf_entity_1 = require("./inventory-shelf.entity");
|
|
15
|
+
let InventoryLocation = class InventoryLocation extends sequelize_typescript_1.Model {
|
|
16
|
+
};
|
|
17
|
+
exports.InventoryLocation = InventoryLocation;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, sequelize_typescript_1.Column)({ allowNull: false }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], InventoryLocation.prototype, "name", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.STRING(50), allowNull: false, unique: true }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], InventoryLocation.prototype, "code", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.TEXT, allowNull: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], InventoryLocation.prototype, "description", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, sequelize_typescript_1.Column)({ defaultValue: true }),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], InventoryLocation.prototype, "isActive", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, sequelize_typescript_1.HasMany)(() => inventory_shelf_entity_1.InventoryShelf),
|
|
36
|
+
__metadata("design:type", Array)
|
|
37
|
+
], InventoryLocation.prototype, "shelves", void 0);
|
|
38
|
+
exports.InventoryLocation = InventoryLocation = __decorate([
|
|
39
|
+
(0, sequelize_typescript_1.Table)({ paranoid: true })
|
|
40
|
+
], InventoryLocation);
|
|
41
|
+
//# sourceMappingURL=inventory-location.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-location.entity.js","sourceRoot":"","sources":["../../../../libs/tatayab-entities-library/src/entities/inventory-location.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAM8B;AAC9B,qEAA0D;AAGnD,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,4BAAK;CAiB3C,CAAA;AAjBY,8CAAiB;AAEpB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;+CACR;AAGb;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;+CACjD;AAGb;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sDACpB;AAGrB;IADP,IAAA,6BAAM,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;mDACL;AAKlB;IADP,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,uCAAc,CAAC;;kDACI;4BAhBvB,iBAAiB;IAD7B,IAAA,4BAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;GACb,iBAAiB,CAiB7B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
import { InventoryLocation } from './inventory-location.entity';
|
|
3
|
+
export declare class InventoryShelf extends Model {
|
|
4
|
+
locationId: number;
|
|
5
|
+
name: string;
|
|
6
|
+
code: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
location: InventoryLocation;
|
|
10
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.InventoryShelf = void 0;
|
|
13
|
+
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
14
|
+
const inventory_location_entity_1 = require("./inventory-location.entity");
|
|
15
|
+
let InventoryShelf = class InventoryShelf extends sequelize_typescript_1.Model {
|
|
16
|
+
};
|
|
17
|
+
exports.InventoryShelf = InventoryShelf;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, sequelize_typescript_1.ForeignKey)(() => inventory_location_entity_1.InventoryLocation),
|
|
20
|
+
(0, sequelize_typescript_1.Column)({ allowNull: false }),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], InventoryShelf.prototype, "locationId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, sequelize_typescript_1.Column)({ allowNull: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], InventoryShelf.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.STRING(50), allowNull: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], InventoryShelf.prototype, "code", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.TEXT, allowNull: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], InventoryShelf.prototype, "description", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, sequelize_typescript_1.Column)({ defaultValue: true }),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], InventoryShelf.prototype, "isActive", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, sequelize_typescript_1.BelongsTo)(() => inventory_location_entity_1.InventoryLocation),
|
|
41
|
+
__metadata("design:type", inventory_location_entity_1.InventoryLocation)
|
|
42
|
+
], InventoryShelf.prototype, "location", void 0);
|
|
43
|
+
exports.InventoryShelf = InventoryShelf = __decorate([
|
|
44
|
+
(0, sequelize_typescript_1.Table)({ paranoid: true })
|
|
45
|
+
], InventoryShelf);
|
|
46
|
+
//# sourceMappingURL=inventory-shelf.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-shelf.entity.js","sourceRoot":"","sources":["../../../../libs/tatayab-entities-library/src/entities/inventory-shelf.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAO8B;AAC9B,2EAAgE;AAGzD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAK;CAsBxC,CAAA;AAtBY,wCAAc;AAGjB;IAFP,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,6CAAiB,CAAC;IACnC,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;kDACF;AAGnB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;4CACR;AAIb;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;4CACnC;AAGb;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;mDACpB;AAGrB;IADP,IAAA,6BAAM,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;gDACL;AAKlB;IADP,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,CAAC;8BACjB,6CAAiB;gDAAC;yBArBzB,cAAc;IAD1B,IAAA,4BAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;GACb,cAAc,CAsB1B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
import { User } from './user.entity';
|
|
3
|
+
import { SysUser } from './sys.user.entity';
|
|
4
|
+
import { ReviewStatus } from '../utils/enums/reviewStatus';
|
|
5
|
+
import { ReviewableType } from '../utils/enums/reviewableType';
|
|
6
|
+
export declare class Review extends Model {
|
|
7
|
+
reviewableType: ReviewableType;
|
|
8
|
+
reviewableId: number;
|
|
9
|
+
userId?: number;
|
|
10
|
+
guestToken?: string;
|
|
11
|
+
senderName?: string;
|
|
12
|
+
rating: number;
|
|
13
|
+
review?: string;
|
|
14
|
+
status: ReviewStatus;
|
|
15
|
+
actionedBy?: number;
|
|
16
|
+
actionedAt?: Date;
|
|
17
|
+
rejectionNote?: string;
|
|
18
|
+
isVerifiedPurchase: boolean;
|
|
19
|
+
user?: User;
|
|
20
|
+
actionedByUser?: SysUser;
|
|
21
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Review = void 0;
|
|
13
|
+
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
14
|
+
const user_entity_1 = require("./user.entity");
|
|
15
|
+
const sys_user_entity_1 = require("./sys.user.entity");
|
|
16
|
+
const reviewStatus_1 = require("../utils/enums/reviewStatus");
|
|
17
|
+
const reviewableType_1 = require("../utils/enums/reviewableType");
|
|
18
|
+
let Review = class Review extends sequelize_typescript_1.Model {
|
|
19
|
+
};
|
|
20
|
+
exports.Review = Review;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, sequelize_typescript_1.Column)({
|
|
23
|
+
type: sequelize_typescript_1.DataType.ENUM(...Object.values(reviewableType_1.ReviewableType)),
|
|
24
|
+
allowNull: false,
|
|
25
|
+
}),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Review.prototype, "reviewableType", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.BIGINT, allowNull: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], Review.prototype, "reviewableId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, sequelize_typescript_1.ForeignKey)(() => user_entity_1.User),
|
|
34
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.BIGINT, allowNull: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], Review.prototype, "userId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, sequelize_typescript_1.Column)({ allowNull: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], Review.prototype, "guestToken", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, sequelize_typescript_1.Column)({ allowNull: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Review.prototype, "senderName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.TINYINT, allowNull: false }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], Review.prototype, "rating", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.TEXT, allowNull: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Review.prototype, "review", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, sequelize_typescript_1.Column)({
|
|
55
|
+
type: sequelize_typescript_1.DataType.ENUM(...Object.values(reviewStatus_1.ReviewStatus)),
|
|
56
|
+
allowNull: false,
|
|
57
|
+
defaultValue: reviewStatus_1.ReviewStatus.PENDING,
|
|
58
|
+
}),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Review.prototype, "status", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, sequelize_typescript_1.ForeignKey)(() => sys_user_entity_1.SysUser),
|
|
63
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.BIGINT, allowNull: true }),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], Review.prototype, "actionedBy", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.DATE, allowNull: true }),
|
|
68
|
+
__metadata("design:type", Date)
|
|
69
|
+
], Review.prototype, "actionedAt", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, sequelize_typescript_1.Column)({ allowNull: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], Review.prototype, "rejectionNote", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, sequelize_typescript_1.Column)({ allowNull: false, defaultValue: false }),
|
|
76
|
+
__metadata("design:type", Boolean)
|
|
77
|
+
], Review.prototype, "isVerifiedPurchase", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, sequelize_typescript_1.BelongsTo)(() => user_entity_1.User),
|
|
80
|
+
__metadata("design:type", user_entity_1.User)
|
|
81
|
+
], Review.prototype, "user", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, sequelize_typescript_1.BelongsTo)(() => sys_user_entity_1.SysUser),
|
|
84
|
+
__metadata("design:type", sys_user_entity_1.SysUser)
|
|
85
|
+
], Review.prototype, "actionedByUser", void 0);
|
|
86
|
+
exports.Review = Review = __decorate([
|
|
87
|
+
(0, sequelize_typescript_1.Table)({ paranoid: true })
|
|
88
|
+
], Review);
|
|
89
|
+
//# sourceMappingURL=review.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.entity.js","sourceRoot":"","sources":["../../../../libs/tatayab-entities-library/src/entities/review.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAO8B;AAC9B,+CAAqC;AACrC,uDAA4C;AAC5C,8DAA2D;AAC3D,kEAA+D;AAGxD,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,4BAAK;CAuDhC,CAAA;AAvDY,wBAAM;AAKT;IAJP,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,+BAAc,CAAC,CAAC;QACrD,SAAS,EAAE,KAAK;KACjB,CAAC;;8CACqC;AAG/B;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;4CACvB;AAIrB;IAFP,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sCAC3B;AAIhB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;0CACA;AAGpB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;0CACA;AAGpB;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;sCAC9B;AAGf;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sCACzB;AAOhB;IALP,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,2BAAY,CAAC,CAAC;QACnD,SAAS,EAAE,KAAK;QAChB,YAAY,EAAE,2BAAY,CAAC,OAAO;KACnC,CAAC;;sCAC2B;AAIrB;IAFP,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,yBAAO,CAAC;IACzB,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;0CACvB;AAGpB;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;8BAC5B,IAAI;0CAAC;AAIlB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;6CACG;AAGvB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;;kDACd;AAK5B;IADP,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACP,kBAAI;oCAAC;AAGZ;IADP,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,yBAAO,CAAC;8BACA,yBAAO;8CAAC;iBAtDtB,MAAM;IADlB,IAAA,4BAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;GACb,MAAM,CAuDlB"}
|
|
@@ -80,6 +80,9 @@ export { OrderEditItem } from './entities/order-edit-item.entity';
|
|
|
80
80
|
export { ReturnRequest, ReturnRequestStatus, } from './entities/return-request.entity';
|
|
81
81
|
export { ReturnRequestItem, ReturnItemStatus, ReturnItemDestination, } from './entities/return-request-item.entity';
|
|
82
82
|
export { OrderGiftMessage } from './entities/order-gift-message.entity';
|
|
83
|
+
export { Review } from './entities/review.entity';
|
|
84
|
+
export { ReviewStatus } from './utils/enums/reviewStatus';
|
|
85
|
+
export { ReviewableType } from './utils/enums/reviewableType';
|
|
83
86
|
export { MarketingFeed, FeedPlatform, FeedOutputFormat, FeedStatus, } from './entities/marketing-feed.entity';
|
|
84
87
|
export { OsName } from './utils/enums/osName';
|
|
85
88
|
export { ProductApp } from './utils/enums/productApp';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Bundle = exports.ProductTag = exports.Tag = exports.ProductVariantOption = exports.ProductVariant = exports.MediaType = exports.ProductMedia = exports.Product = exports.VariantOption = exports.VariantType = exports.Brand = exports.CategoryListingType = exports.Category = exports.PasswordResetOtp = exports.UserWalletBalance = exports.RefundStatus = exports.RefundMethod = exports.Refund = exports.RunSheetOrderStatus = exports.RunSheetOrder = exports.RunSheetStatus = exports.RunSheet = exports.SpinPrizeStatus = exports.SpinWheelPrize = exports.SpinWheelSpin = exports.SpinWheelItemStatus = exports.SpinPrizeType = exports.SpinWheelItem = exports.SpinFrequency = exports.SpinWheelStatus = exports.SpinWheel = exports.PopupAdStore = exports.PopupAdStatus = exports.PopupAdType = exports.PopupAd = exports.AppConfig = exports.BannerStatus = exports.BannerPlacement = exports.Banner = exports.FavoriteCatalogItemType = exports.UserFavoriteCatalog = exports.UserFavorite = exports.UserAddress = exports.UserDevice = exports.User = exports.SysUser = exports.SysRole = exports.Area = exports.Country = exports.ApiKey = void 0;
|
|
4
4
|
exports.TransactionCategory = exports.TransactionType = exports.UserTransaction = exports.OrderStatusHistory = exports.OrderItemBundleSelection = exports.OrderItemFulfillmentStatus = exports.OrderItemType = exports.OrderItem = exports.Order = exports.OrderStatusCode = exports.OrderStatus = exports.CouponUser = exports.CouponProduct = exports.CouponStore = exports.CouponOsTarget = exports.CouponAppliesTo = exports.CouponDiscountType = exports.Coupon = exports.CartItemBundleSelection = exports.CartItemType = exports.CartItem = exports.CartStatus = exports.Cart = exports.StorePaymentMethod = exports.PaymentMethodCountry = exports.PaymentMethodType = exports.PaymentMethod = exports.PaymentGatewayType = exports.PaymentGateway = exports.RolePermission = exports.Permission = exports.PurchaseReturnDocumentType = exports.PurchaseReturnDocument = exports.PurchaseReturnItem = exports.PurchaseReturn = exports.PurchaseOrderItemStatus = exports.PurchaseOrderItem = exports.PurchaseOrder = exports.VendorProduct = exports.Vendor = exports.ShippingRule = exports.StockMovement = exports.InventoryStock = exports.StoreInventory = exports.Inventory = exports.ProductStore = exports.Store = exports.BundleType = exports.BundleStore = exports.BundleProduct = void 0;
|
|
5
|
-
exports.StockMovementType = exports.PurchaseReturnStatus = exports.PurchaseOrderStatus = exports.Gender = exports.Status = exports.Language = exports.VersionType = exports.ProductApp = exports.OsName = exports.MarketingFeed = exports.OrderGiftMessage = exports.ReturnItemDestination = exports.ReturnItemStatus = exports.ReturnRequestItem = exports.ReturnRequestStatus = exports.ReturnRequest = exports.OrderEditItem = exports.OrderEditSession = exports.OrderPaymentType = exports.OrderPaymentStatus = exports.OrderPayment = exports.OrderEditScenario = exports.OrderItemChangeLog = exports.PurchaseOrderReceiptItem = exports.PurchaseOrderReceipt = exports.PurchaseOrderOrderItem = void 0;
|
|
5
|
+
exports.StockMovementType = exports.PurchaseReturnStatus = exports.PurchaseOrderStatus = exports.Gender = exports.Status = exports.Language = exports.VersionType = exports.ProductApp = exports.OsName = exports.MarketingFeed = exports.ReviewableType = exports.ReviewStatus = exports.Review = exports.OrderGiftMessage = exports.ReturnItemDestination = exports.ReturnItemStatus = exports.ReturnRequestItem = exports.ReturnRequestStatus = exports.ReturnRequest = exports.OrderEditItem = exports.OrderEditSession = exports.OrderPaymentType = exports.OrderPaymentStatus = exports.OrderPayment = exports.OrderEditScenario = exports.OrderItemChangeLog = exports.PurchaseOrderReceiptItem = exports.PurchaseOrderReceipt = exports.PurchaseOrderOrderItem = void 0;
|
|
6
6
|
exports.getDbModels = getDbModels;
|
|
7
7
|
const country_entity_1 = require("./entities/country.entity");
|
|
8
8
|
const area_entity_1 = require("./entities/area.entity");
|
|
@@ -42,6 +42,8 @@ const store_inventory_entity_1 = require("./entities/store-inventory.entity");
|
|
|
42
42
|
const inventory_stock_entity_1 = require("./entities/inventory-stock.entity");
|
|
43
43
|
const stock_movement_entity_1 = require("./entities/stock-movement.entity");
|
|
44
44
|
const shipping_rule_entity_1 = require("./entities/shipping-rule.entity");
|
|
45
|
+
const inventory_location_entity_1 = require("./entities/inventory-location.entity");
|
|
46
|
+
const inventory_shelf_entity_1 = require("./entities/inventory-shelf.entity");
|
|
45
47
|
const vendor_entity_1 = require("./entities/vendor.entity");
|
|
46
48
|
const vendor_product_entity_1 = require("./entities/vendor-product.entity");
|
|
47
49
|
const purchase_order_entity_1 = require("./entities/purchase-order.entity");
|
|
@@ -84,6 +86,7 @@ const PasswordResetOtp_1 = require("./entities/PasswordResetOtp");
|
|
|
84
86
|
const return_request_entity_1 = require("./entities/return-request.entity");
|
|
85
87
|
const return_request_item_entity_1 = require("./entities/return-request-item.entity");
|
|
86
88
|
const order_gift_message_entity_1 = require("./entities/order-gift-message.entity");
|
|
89
|
+
const review_entity_1 = require("./entities/review.entity");
|
|
87
90
|
var apikey_entity_2 = require("./entities/apikey.entity");
|
|
88
91
|
Object.defineProperty(exports, "ApiKey", { enumerable: true, get: function () { return apikey_entity_2.ApiKey; } });
|
|
89
92
|
var country_entity_2 = require("./entities/country.entity");
|
|
@@ -281,6 +284,12 @@ Object.defineProperty(exports, "ReturnItemStatus", { enumerable: true, get: func
|
|
|
281
284
|
Object.defineProperty(exports, "ReturnItemDestination", { enumerable: true, get: function () { return return_request_item_entity_2.ReturnItemDestination; } });
|
|
282
285
|
var order_gift_message_entity_2 = require("./entities/order-gift-message.entity");
|
|
283
286
|
Object.defineProperty(exports, "OrderGiftMessage", { enumerable: true, get: function () { return order_gift_message_entity_2.OrderGiftMessage; } });
|
|
287
|
+
var review_entity_2 = require("./entities/review.entity");
|
|
288
|
+
Object.defineProperty(exports, "Review", { enumerable: true, get: function () { return review_entity_2.Review; } });
|
|
289
|
+
var reviewStatus_1 = require("./utils/enums/reviewStatus");
|
|
290
|
+
Object.defineProperty(exports, "ReviewStatus", { enumerable: true, get: function () { return reviewStatus_1.ReviewStatus; } });
|
|
291
|
+
var reviewableType_1 = require("./utils/enums/reviewableType");
|
|
292
|
+
Object.defineProperty(exports, "ReviewableType", { enumerable: true, get: function () { return reviewableType_1.ReviewableType; } });
|
|
284
293
|
var marketing_feed_entity_2 = require("./entities/marketing-feed.entity");
|
|
285
294
|
Object.defineProperty(exports, "MarketingFeed", { enumerable: true, get: function () { return marketing_feed_entity_2.MarketingFeed; } });
|
|
286
295
|
var osName_1 = require("./utils/enums/osName");
|
|
@@ -335,6 +344,8 @@ function getDbModels() {
|
|
|
335
344
|
inventory_stock_entity_1.InventoryStock,
|
|
336
345
|
stock_movement_entity_1.StockMovement,
|
|
337
346
|
shipping_rule_entity_1.ShippingRule,
|
|
347
|
+
inventory_location_entity_1.InventoryLocation,
|
|
348
|
+
inventory_shelf_entity_1.InventoryShelf,
|
|
338
349
|
vendor_entity_1.Vendor,
|
|
339
350
|
vendor_product_entity_1.VendorProduct,
|
|
340
351
|
purchase_order_entity_1.PurchaseOrder,
|
|
@@ -383,6 +394,7 @@ function getDbModels() {
|
|
|
383
394
|
return_request_entity_1.ReturnRequest,
|
|
384
395
|
return_request_item_entity_1.ReturnRequestItem,
|
|
385
396
|
order_gift_message_entity_1.OrderGiftMessage,
|
|
397
|
+
review_entity_1.Review,
|
|
386
398
|
];
|
|
387
399
|
}
|
|
388
400
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../libs/tatayab-entities-library/src/index.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../libs/tatayab-entities-library/src/index.ts"],"names":[],"mappings":";;;;;AAmTA,kCA0HC;AA1aD,8D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8BAAU;QACV,iCAAW;QACX,mCAAY;QACZ,kDAAmB;QACnB,yCAAe;QACf,8CAAiB;QAGjB,0BAAQ;QACR,oBAAK;QACL,iCAAW;QACX,qCAAa;QACb,wBAAO;QACP,mCAAY;QACZ,uCAAc;QACd,oDAAoB;QACpB,gBAAG;QACH,+BAAU;QACV,sBAAM;QACN,qCAAa;QACb,iCAAW;QAGX,oBAAK;QACL,mCAAY;QAGZ,4BAAS;QACT,uCAAc;QACd,uCAAc;QACd,qCAAa;QACb,mCAAY;QACZ,6CAAiB;QACjB,uCAAc;QAGd,sBAAM;QACN,qCAAa;QACb,qCAAa;QACb,8CAAiB;QACjB,uCAAc;QACd,gDAAkB;QAClB,wDAAsB;QAGtB,8BAAU;QACV,uCAAc;QAGd,uCAAc;QACd,qCAAa;QACb,oDAAoB;QACpB,gDAAkB;QAGlB,kBAAI;QACJ,2BAAQ;QACR,2DAAuB;QAGvB,sBAAM;QACN,iCAAW;QACX,qCAAa;QACb,+BAAU;QAGV,iCAAW;QACX,oBAAK;QACL,6BAAS;QACT,6DAAwB;QACxB,gDAAkB;QAClB,yDAAsB;QAGtB,sBAAM;QAEN,6BAAS;QAET,2BAAQ;QACR,sCAAa;QAEb,sBAAM;QACN,oDAAoB;QACpB,6DAAwB;QAExB,iDAAkB;QAClB,mCAAY;QACZ,4CAAgB;QAChB,sCAAa;QAEb,qCAAa;QACb,mCAAgB;QAGhB,yBAAO;QACP,oCAAY;QAGZ,6BAAS;QACT,sCAAa;QACb,sCAAa;QACb,wCAAc;QAGd,qCAAa;QACb,8CAAiB;QAGjB,4CAAgB;QAGhB,sBAAM;KACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReviewStatus = void 0;
|
|
4
|
+
var ReviewStatus;
|
|
5
|
+
(function (ReviewStatus) {
|
|
6
|
+
ReviewStatus["PENDING"] = "pending";
|
|
7
|
+
ReviewStatus["APPROVED"] = "approved";
|
|
8
|
+
ReviewStatus["REJECTED"] = "rejected";
|
|
9
|
+
})(ReviewStatus || (exports.ReviewStatus = ReviewStatus = {}));
|
|
10
|
+
//# sourceMappingURL=reviewStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reviewStatus.js","sourceRoot":"","sources":["../../../../../libs/tatayab-entities-library/src/utils/enums/reviewStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReviewableType = void 0;
|
|
4
|
+
var ReviewableType;
|
|
5
|
+
(function (ReviewableType) {
|
|
6
|
+
ReviewableType["PRODUCT"] = "product";
|
|
7
|
+
ReviewableType["BUNDLE"] = "bundle";
|
|
8
|
+
})(ReviewableType || (exports.ReviewableType = ReviewableType = {}));
|
|
9
|
+
//# sourceMappingURL=reviewableType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reviewableType.js","sourceRoot":"","sources":["../../../../../libs/tatayab-entities-library/src/utils/enums/reviewableType.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;AACnB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
|