@servicelabsco/slabs-access-manager 0.1.9 → 0.1.10
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/access/controllers/index.d.ts +1 -0
- package/dist/access/controllers/index.js +1 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/listing.controller.d.ts +20 -0
- package/dist/access/controllers/listing.controller.js +99 -0
- package/dist/access/controllers/listing.controller.js.map +1 -0
- package/dist/access/dtos/add.listing.preference.dto.d.ts +6 -0
- package/dist/access/dtos/add.listing.preference.dto.js +39 -0
- package/dist/access/dtos/add.listing.preference.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +1 -0
- package/dist/access/dtos/index.js +1 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/es6.classes.d.ts +7 -3
- package/dist/access/es6.classes.js +7 -2
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/services/access.business.service.d.ts +4 -0
- package/dist/access/services/access.business.service.js +29 -0
- package/dist/access/services/access.business.service.js.map +1 -0
- package/dist/access/services/index.d.ts +2 -0
- package/dist/access/services/index.js +2 -0
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/listing.service.d.ts +19 -0
- package/dist/access/services/listing.service.js +77 -0
- package/dist/access/services/listing.service.js.map +1 -0
- package/dist/accessUtility/access.utility.module.d.ts +2 -0
- package/dist/accessUtility/access.utility.module.js +24 -0
- package/dist/accessUtility/access.utility.module.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.definition.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.definition.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.definition.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.definition.load.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.definition.load.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.definition.load.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.definition.processing.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.definition.processing.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.definition.processing.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.upload.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.upload.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.upload.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.upload.column.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.upload.column.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.upload.column.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.upload.item.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.upload.item.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.upload.item.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/bulk.upload.type.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/bulk.upload.type.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/bulk.upload.type.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/index.d.ts +7 -0
- package/dist/accessUtility/dtos/index.js +24 -0
- package/dist/accessUtility/dtos/index.js.map +1 -0
- package/dist/accessUtility/entities/bulk.definition.entity.d.ts +12 -0
- package/dist/accessUtility/entities/bulk.definition.entity.js +53 -0
- package/dist/accessUtility/entities/bulk.definition.entity.js.map +1 -0
- package/dist/accessUtility/entities/bulk.definition.load.entity.d.ts +5 -0
- package/dist/accessUtility/entities/bulk.definition.load.entity.js +27 -0
- package/dist/accessUtility/entities/bulk.definition.load.entity.js.map +1 -0
- package/dist/accessUtility/entities/bulk.definition.processing.entity.d.ts +13 -0
- package/dist/accessUtility/entities/bulk.definition.processing.entity.js +54 -0
- package/dist/accessUtility/entities/bulk.definition.processing.entity.js.map +1 -0
- package/dist/accessUtility/entities/bulk.upload.column.entity.d.ts +5 -0
- package/dist/accessUtility/entities/bulk.upload.column.entity.js +27 -0
- package/dist/accessUtility/entities/bulk.upload.column.entity.js.map +1 -0
- package/dist/accessUtility/entities/bulk.upload.entity.d.ts +22 -0
- package/dist/accessUtility/entities/bulk.upload.entity.js +87 -0
- package/dist/accessUtility/entities/bulk.upload.entity.js.map +1 -0
- package/dist/accessUtility/entities/bulk.upload.item.entity.d.ts +14 -0
- package/dist/accessUtility/entities/bulk.upload.item.entity.js +59 -0
- package/dist/accessUtility/entities/bulk.upload.item.entity.js.map +1 -0
- package/dist/accessUtility/entities/bulk.upload.type.entity.d.ts +13 -0
- package/dist/accessUtility/entities/bulk.upload.type.entity.js +60 -0
- package/dist/accessUtility/entities/bulk.upload.type.entity.js.map +1 -0
- package/dist/accessUtility/entities/index.d.ts +7 -0
- package/dist/accessUtility/entities/index.js +24 -0
- package/dist/accessUtility/entities/index.js.map +1 -0
- package/dist/accessUtility/es6.classes.d.ts +27 -0
- package/dist/accessUtility/es6.classes.js +73 -0
- package/dist/accessUtility/es6.classes.js.map +1 -0
- package/dist/accessUtility/index.d.ts +6 -0
- package/dist/accessUtility/index.js +23 -0
- package/dist/accessUtility/index.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.definition.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.definition.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.definition.job.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.definition.load.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.definition.load.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.definition.load.job.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.definition.processing.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.definition.processing.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.definition.processing.job.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.upload.column.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.upload.column.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.upload.column.job.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.upload.item.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.upload.item.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.upload.item.job.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.upload.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.upload.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.upload.job.js.map +1 -0
- package/dist/accessUtility/jobs/bulk.upload.type.job.d.ts +7 -0
- package/dist/accessUtility/jobs/bulk.upload.type.job.js +29 -0
- package/dist/accessUtility/jobs/bulk.upload.type.job.js.map +1 -0
- package/dist/accessUtility/jobs/index.d.ts +7 -0
- package/dist/accessUtility/jobs/index.js +24 -0
- package/dist/accessUtility/jobs/index.js.map +1 -0
- package/dist/accessUtility/services/es6.jobs.service.d.ts +20 -0
- package/dist/accessUtility/services/es6.jobs.service.js +61 -0
- package/dist/accessUtility/services/es6.jobs.service.js.map +1 -0
- package/dist/accessUtility/services/index.d.ts +1 -0
- package/dist/accessUtility/services/index.js +18 -0
- package/dist/accessUtility/services/index.js.map +1 -0
- package/dist/accessUtility/services/test.access.service.d.ts +2 -0
- package/dist/accessUtility/services/test.access.service.js +17 -0
- package/dist/accessUtility/services/test.access.service.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.definition.load.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.definition.load.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.definition.load.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.definition.processing.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.definition.processing.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.definition.processing.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.definition.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.definition.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.definition.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.upload.column.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.upload.column.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.upload.column.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.upload.item.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.upload.item.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.upload.item.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.upload.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.upload.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.upload.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/bulk.upload.type.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/bulk.upload.type.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/bulk.upload.type.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/index.d.ts +7 -0
- package/dist/accessUtility/subscribers/index.js +24 -0
- package/dist/accessUtility/subscribers/index.js.map +1 -0
- package/dist/app.module.js +2 -0
- package/dist/app.module.js.map +1 -1
- package/dist/config/entity.constants.d.ts +14 -0
- package/dist/config/entity.constants.js +14 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/migrations/1700810174897-CreateBulkDefinitionTable.d.ts +5 -0
- package/dist/migrations/1700810174897-CreateBulkDefinitionTable.js +19 -0
- package/dist/migrations/1700810174897-CreateBulkDefinitionTable.js.map +1 -0
- package/dist/migrations/1700810225363-CreateBulkUploadTypeTable.d.ts +5 -0
- package/dist/migrations/1700810225363-CreateBulkUploadTypeTable.js +23 -0
- package/dist/migrations/1700810225363-CreateBulkUploadTypeTable.js.map +1 -0
- package/dist/migrations/1700810282668-CreateBulkUploadColumnTable.d.ts +5 -0
- package/dist/migrations/1700810282668-CreateBulkUploadColumnTable.js +24 -0
- package/dist/migrations/1700810282668-CreateBulkUploadColumnTable.js.map +1 -0
- package/dist/migrations/1700810387264-AddReferenceColumnUtlBulkUploadColumnsTable.ts.d.ts +5 -0
- package/dist/migrations/1700810387264-AddReferenceColumnUtlBulkUploadColumnsTable.ts.js +15 -0
- package/dist/migrations/1700810387264-AddReferenceColumnUtlBulkUploadColumnsTable.ts.js.map +1 -0
- package/dist/migrations/1700810470842-CreateBulkDefinitionLoadTable.d.ts +5 -0
- package/dist/migrations/1700810470842-CreateBulkDefinitionLoadTable.js +21 -0
- package/dist/migrations/1700810470842-CreateBulkDefinitionLoadTable.js.map +1 -0
- package/dist/migrations/1700810507058-CreateBulkDefinitionProcessingTable.d.ts +5 -0
- package/dist/migrations/1700810507058-CreateBulkDefinitionProcessingTable.js +21 -0
- package/dist/migrations/1700810507058-CreateBulkDefinitionProcessingTable.js.map +1 -0
- package/dist/migrations/1700810552408-CreateBulkUploadTable.d.ts +5 -0
- package/dist/migrations/1700810552408-CreateBulkUploadTable.js +31 -0
- package/dist/migrations/1700810552408-CreateBulkUploadTable.js.map +1 -0
- package/dist/migrations/1700810723803-CreateBulkUploadItemTable.d.ts +5 -0
- package/dist/migrations/1700810723803-CreateBulkUploadItemTable.js +25 -0
- package/dist/migrations/1700810723803-CreateBulkUploadItemTable.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.column.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/bulk.upload.column.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,6BAA8B,SAAQ,6CAAmB;CAAG;AAAzE,sEAAyE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUploadItemAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BulkUploadItemAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BulkUploadItemAttributesDto = BulkUploadItemAttributesDto;
|
|
8
|
+
//# sourceMappingURL=bulk.upload.item.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.item.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/bulk.upload.item.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,2BAA4B,SAAQ,6CAAmB;CAAG;AAAvE,kEAAuE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUploadTypeAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BulkUploadTypeAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BulkUploadTypeAttributesDto = BulkUploadTypeAttributesDto;
|
|
8
|
+
//# sourceMappingURL=bulk.upload.type.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.type.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/bulk.upload.type.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,2BAA4B,SAAQ,6CAAmB;CAAG;AAAvE,kEAAuE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './bulk.definition.attributes.dto';
|
|
2
|
+
export * from './bulk.definition.load.attributes.dto';
|
|
3
|
+
export * from './bulk.definition.processing.attributes.dto';
|
|
4
|
+
export * from './bulk.upload.attributes.dto';
|
|
5
|
+
export * from './bulk.upload.column.attributes.dto';
|
|
6
|
+
export * from './bulk.upload.item.attributes.dto';
|
|
7
|
+
export * from './bulk.upload.type.attributes.dto';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./bulk.definition.attributes.dto"), exports);
|
|
18
|
+
__exportStar(require("./bulk.definition.load.attributes.dto"), exports);
|
|
19
|
+
__exportStar(require("./bulk.definition.processing.attributes.dto"), exports);
|
|
20
|
+
__exportStar(require("./bulk.upload.attributes.dto"), exports);
|
|
21
|
+
__exportStar(require("./bulk.upload.column.attributes.dto"), exports);
|
|
22
|
+
__exportStar(require("./bulk.upload.item.attributes.dto"), exports);
|
|
23
|
+
__exportStar(require("./bulk.upload.type.attributes.dto"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,oEAAiD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BulkDefinitionLoadAttributesDto } from '../dtos/bulk.definition.load.attributes.dto';
|
|
3
|
+
import { BulkUploadTypeEntity } from './bulk.upload.type.entity';
|
|
4
|
+
export declare class BulkDefinitionEntity extends CommonEntity {
|
|
5
|
+
definition_id: number;
|
|
6
|
+
type_id: number;
|
|
7
|
+
priority: number;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: BulkDefinitionLoadAttributesDto;
|
|
10
|
+
definition: BulkDefinitionEntity;
|
|
11
|
+
type: BulkUploadTypeEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.BulkDefinitionEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const bulk_definition_load_attributes_dto_1 = require("../dtos/bulk.definition.load.attributes.dto");
|
|
16
|
+
const bulk_upload_type_entity_1 = require("./bulk.upload.type.entity");
|
|
17
|
+
let BulkDefinitionEntity = class BulkDefinitionEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.BulkDefinitionEntity = BulkDefinitionEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], BulkDefinitionEntity.prototype, "definition_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], BulkDefinitionEntity.prototype, "type_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], BulkDefinitionEntity.prototype, "priority", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], BulkDefinitionEntity.prototype, "active", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('json'),
|
|
38
|
+
__metadata("design:type", bulk_definition_load_attributes_dto_1.BulkDefinitionLoadAttributesDto)
|
|
39
|
+
], BulkDefinitionEntity.prototype, "attributes", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => BulkDefinitionEntity),
|
|
42
|
+
(0, typeorm_1.JoinColumn)({ name: 'definition_id' }),
|
|
43
|
+
__metadata("design:type", BulkDefinitionEntity)
|
|
44
|
+
], BulkDefinitionEntity.prototype, "definition", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => bulk_upload_type_entity_1.BulkUploadTypeEntity),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'type_id' }),
|
|
48
|
+
__metadata("design:type", bulk_upload_type_entity_1.BulkUploadTypeEntity)
|
|
49
|
+
], BulkDefinitionEntity.prototype, "type", void 0);
|
|
50
|
+
exports.BulkDefinitionEntity = BulkDefinitionEntity = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)('utl_bulk_definitions')
|
|
52
|
+
], BulkDefinitionEntity);
|
|
53
|
+
//# sourceMappingURL=bulk.definition.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.definition.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.definition.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,qGAA8F;AAC9F,uEAAiE;AAS1D,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAmBrD,CAAA;AAnBY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;2DACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;qDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;sDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,qEAA+B;wDAAC;AAGkC;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAAa,oBAAoB;wDAAC;AACvC;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,8CAAoB;kDAAC;+BAlB1F,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAmBhC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BulkDefinitionLoadAttributesDto } from '../dtos/bulk.definition.load.attributes.dto';
|
|
3
|
+
export declare class BulkDefinitionLoadEntity extends CommonEntity {
|
|
4
|
+
attributes: BulkDefinitionLoadAttributesDto;
|
|
5
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.BulkDefinitionLoadEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const bulk_definition_load_attributes_dto_1 = require("../dtos/bulk.definition.load.attributes.dto");
|
|
16
|
+
let BulkDefinitionLoadEntity = class BulkDefinitionLoadEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.BulkDefinitionLoadEntity = BulkDefinitionLoadEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
(0, typeorm_1.Column)('json'),
|
|
22
|
+
__metadata("design:type", bulk_definition_load_attributes_dto_1.BulkDefinitionLoadAttributesDto)
|
|
23
|
+
], BulkDefinitionLoadEntity.prototype, "attributes", void 0);
|
|
24
|
+
exports.BulkDefinitionLoadEntity = BulkDefinitionLoadEntity = __decorate([
|
|
25
|
+
(0, typeorm_1.Entity)('utl_bulk_definition_loads')
|
|
26
|
+
], BulkDefinitionLoadEntity);
|
|
27
|
+
//# sourceMappingURL=bulk.definition.load.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.definition.load.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.definition.load.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,oFAAsE;AACtE,qGAA8F;AASvF,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,sCAAY;CAMzD,CAAA;AANY,4DAAwB;AAGjC;IAFC,IAAA,gBAAM,GAAE;IACR,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,qEAA+B;4DAAC;mCAHnC,wBAAwB;IADpC,IAAA,gBAAM,EAAC,2BAA2B,CAAC;GACvB,wBAAwB,CAMpC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BulkDefinitionProcessingAttributesDto } from '../dtos/bulk.definition.processing.attributes.dto';
|
|
3
|
+
import { BulkDefinitionEntity } from './bulk.definition.entity';
|
|
4
|
+
import { BulkUploadTypeEntity } from './bulk.upload.type.entity';
|
|
5
|
+
export declare class BulkDefinitionProcessingEntity extends CommonEntity {
|
|
6
|
+
definition_id: number;
|
|
7
|
+
type_id: number;
|
|
8
|
+
priority: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
attributes: BulkDefinitionProcessingAttributesDto;
|
|
11
|
+
definition: BulkDefinitionEntity;
|
|
12
|
+
type: BulkUploadTypeEntity;
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.BulkDefinitionProcessingEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const bulk_definition_processing_attributes_dto_1 = require("../dtos/bulk.definition.processing.attributes.dto");
|
|
16
|
+
const bulk_definition_entity_1 = require("./bulk.definition.entity");
|
|
17
|
+
const bulk_upload_type_entity_1 = require("./bulk.upload.type.entity");
|
|
18
|
+
let BulkDefinitionProcessingEntity = class BulkDefinitionProcessingEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.BulkDefinitionProcessingEntity = BulkDefinitionProcessingEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BulkDefinitionProcessingEntity.prototype, "definition_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], BulkDefinitionProcessingEntity.prototype, "type_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], BulkDefinitionProcessingEntity.prototype, "priority", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], BulkDefinitionProcessingEntity.prototype, "active", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)('json'),
|
|
39
|
+
__metadata("design:type", bulk_definition_processing_attributes_dto_1.BulkDefinitionProcessingAttributesDto)
|
|
40
|
+
], BulkDefinitionProcessingEntity.prototype, "attributes", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => bulk_definition_entity_1.BulkDefinitionEntity),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: 'definition_id' }),
|
|
44
|
+
__metadata("design:type", bulk_definition_entity_1.BulkDefinitionEntity)
|
|
45
|
+
], BulkDefinitionProcessingEntity.prototype, "definition", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.ManyToOne)(() => bulk_upload_type_entity_1.BulkUploadTypeEntity),
|
|
48
|
+
(0, typeorm_1.JoinColumn)({ name: 'type_id' }),
|
|
49
|
+
__metadata("design:type", bulk_upload_type_entity_1.BulkUploadTypeEntity)
|
|
50
|
+
], BulkDefinitionProcessingEntity.prototype, "type", void 0);
|
|
51
|
+
exports.BulkDefinitionProcessingEntity = BulkDefinitionProcessingEntity = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)('utl_bulk_definition_processings')
|
|
53
|
+
], BulkDefinitionProcessingEntity);
|
|
54
|
+
//# sourceMappingURL=bulk.definition.processing.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.definition.processing.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.definition.processing.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAsE;AACtE,iHAA0G;AAC1G,qEAAgE;AAChE,uEAAiE;AAS1D,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,sCAAY;CAmB/D,CAAA;AAnBY,wEAA8B;AAEvC;IADC,IAAA,gBAAM,GAAE;;qEACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;+DACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;gEACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;8DACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,iFAAqC;kEAAC;AAG4B;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAAa,6CAAoB;kEAAC;AACvC;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,8CAAoB;4DAAC;yCAlB1F,8BAA8B;IAD1C,IAAA,gBAAM,EAAC,iCAAiC,CAAC;GAC7B,8BAA8B,CAmB1C"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BulkUploadColumnAttributesDto } from '../dtos/bulk.upload.column.attributes.dto';
|
|
3
|
+
export declare class BulkUploadColumnEntity extends CommonEntity {
|
|
4
|
+
attributes: BulkUploadColumnAttributesDto;
|
|
5
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.BulkUploadColumnEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const bulk_upload_column_attributes_dto_1 = require("../dtos/bulk.upload.column.attributes.dto");
|
|
16
|
+
let BulkUploadColumnEntity = class BulkUploadColumnEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.BulkUploadColumnEntity = BulkUploadColumnEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
(0, typeorm_1.Column)('json'),
|
|
22
|
+
__metadata("design:type", bulk_upload_column_attributes_dto_1.BulkUploadColumnAttributesDto)
|
|
23
|
+
], BulkUploadColumnEntity.prototype, "attributes", void 0);
|
|
24
|
+
exports.BulkUploadColumnEntity = BulkUploadColumnEntity = __decorate([
|
|
25
|
+
(0, typeorm_1.Entity)('utl_bulk_upload_columns')
|
|
26
|
+
], BulkUploadColumnEntity);
|
|
27
|
+
//# sourceMappingURL=bulk.upload.column.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.column.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.upload.column.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,oFAAsE;AACtE,iGAA0F;AASnF,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sCAAY;CAMvD,CAAA;AANY,wDAAsB;AAG/B;IAFC,IAAA,gBAAM,GAAE;IACR,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,iEAA6B;0DAAC;iCAHjC,sBAAsB;IADlC,IAAA,gBAAM,EAAC,yBAAyB,CAAC;GACrB,sBAAsB,CAMlC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { AccessBusinessEntity } from '../../access/entities/access.business.entity';
|
|
3
|
+
import { BulkUploadAttributesDto } from '../dtos/bulk.upload.attributes.dto';
|
|
4
|
+
import { BulkDefinitionEntity } from './bulk.definition.entity';
|
|
5
|
+
import { BulkUploadItemEntity } from './bulk.upload.item.entity';
|
|
6
|
+
export declare class BulkUploadEntity extends CommonEntity {
|
|
7
|
+
business_id: number;
|
|
8
|
+
source_type: string;
|
|
9
|
+
source_id: number;
|
|
10
|
+
file_url: string;
|
|
11
|
+
valid_records: number;
|
|
12
|
+
invalid_records: number;
|
|
13
|
+
processed_at: Date;
|
|
14
|
+
approved_at: Date;
|
|
15
|
+
analysed_at: Date;
|
|
16
|
+
definition_id: number;
|
|
17
|
+
stats: any;
|
|
18
|
+
attributes: BulkUploadAttributesDto;
|
|
19
|
+
business: AccessBusinessEntity;
|
|
20
|
+
items: BulkUploadItemEntity[];
|
|
21
|
+
definition: BulkDefinitionEntity;
|
|
22
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.BulkUploadEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const access_business_entity_1 = require("../../access/entities/access.business.entity");
|
|
16
|
+
const bulk_upload_attributes_dto_1 = require("../dtos/bulk.upload.attributes.dto");
|
|
17
|
+
const bulk_definition_entity_1 = require("./bulk.definition.entity");
|
|
18
|
+
const bulk_upload_item_entity_1 = require("./bulk.upload.item.entity");
|
|
19
|
+
let BulkUploadEntity = class BulkUploadEntity extends nestjs_utility_services_1.CommonEntity {
|
|
20
|
+
};
|
|
21
|
+
exports.BulkUploadEntity = BulkUploadEntity;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], BulkUploadEntity.prototype, "business_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], BulkUploadEntity.prototype, "source_type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], BulkUploadEntity.prototype, "source_id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], BulkUploadEntity.prototype, "file_url", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], BulkUploadEntity.prototype, "valid_records", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)(),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], BulkUploadEntity.prototype, "invalid_records", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)(),
|
|
48
|
+
__metadata("design:type", Date)
|
|
49
|
+
], BulkUploadEntity.prototype, "processed_at", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)(),
|
|
52
|
+
__metadata("design:type", Date)
|
|
53
|
+
], BulkUploadEntity.prototype, "approved_at", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)(),
|
|
56
|
+
__metadata("design:type", Date)
|
|
57
|
+
], BulkUploadEntity.prototype, "analysed_at", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)(),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], BulkUploadEntity.prototype, "definition_id", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)('json'),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], BulkUploadEntity.prototype, "stats", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)('json'),
|
|
68
|
+
__metadata("design:type", bulk_upload_attributes_dto_1.BulkUploadAttributesDto)
|
|
69
|
+
], BulkUploadEntity.prototype, "attributes", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
72
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
73
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
74
|
+
], BulkUploadEntity.prototype, "business", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.OneToMany)(() => bulk_upload_item_entity_1.BulkUploadItemEntity, (item) => item.bulk_upload),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], BulkUploadEntity.prototype, "items", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.ManyToOne)(() => bulk_definition_entity_1.BulkDefinitionEntity),
|
|
81
|
+
(0, typeorm_1.JoinColumn)({ name: 'definition_id' }),
|
|
82
|
+
__metadata("design:type", bulk_definition_entity_1.BulkDefinitionEntity)
|
|
83
|
+
], BulkUploadEntity.prototype, "definition", void 0);
|
|
84
|
+
exports.BulkUploadEntity = BulkUploadEntity = __decorate([
|
|
85
|
+
(0, typeorm_1.Entity)('utl_bulk_uploads')
|
|
86
|
+
], BulkUploadEntity);
|
|
87
|
+
//# sourceMappingURL=bulk.upload.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.upload.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAA2E;AAC3E,yFAAoF;AACpF,mFAA6E;AAC7E,qEAAgE;AAChE,uEAAiE;AAS1D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sCAAY;CA0CjD,CAAA;AA1CY,4CAAgB;AAEzB;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;mDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;kDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;uDACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;yDACe;AAGxB;IADC,IAAA,gBAAM,GAAE;8BACK,IAAI;sDAAC;AAGnB;IADC,IAAA,gBAAM,GAAE;8BACI,IAAI;qDAAC;AAGlB;IADC,IAAA,gBAAM,GAAE;8BACI,IAAI;qDAAC;AAGlB;IADC,IAAA,gBAAM,GAAE;;uDACa;AAGtB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;+CACJ;AAGX;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,oDAAuB;oDAAC;AAGwC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;kDAAC;AACxC;IAAlE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAoB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC;;+CAA+B;AAEnB;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAAa,6CAAoB;oDAAC;2BAzCtG,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CA0C5B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BulkUploadItemAttributesDto } from '../dtos/bulk.upload.item.attributes.dto';
|
|
3
|
+
import { BulkUploadEntity } from './bulk.upload.entity';
|
|
4
|
+
export declare class BulkUploadItemEntity extends CommonEntity {
|
|
5
|
+
bulk_upload_id: number;
|
|
6
|
+
sheet: string;
|
|
7
|
+
row_num: number;
|
|
8
|
+
data: any;
|
|
9
|
+
error: any;
|
|
10
|
+
errors_count: number;
|
|
11
|
+
processed_at: Date;
|
|
12
|
+
attributes: BulkUploadItemAttributesDto | any;
|
|
13
|
+
bulk_upload: BulkUploadEntity;
|
|
14
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.BulkUploadItemEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const bulk_upload_entity_1 = require("./bulk.upload.entity");
|
|
16
|
+
let BulkUploadItemEntity = class BulkUploadItemEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.BulkUploadItemEntity = BulkUploadItemEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], BulkUploadItemEntity.prototype, "bulk_upload_id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], BulkUploadItemEntity.prototype, "sheet", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], BulkUploadItemEntity.prototype, "row_num", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('json'),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], BulkUploadItemEntity.prototype, "data", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)('json'),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], BulkUploadItemEntity.prototype, "error", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], BulkUploadItemEntity.prototype, "errors_count", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)(),
|
|
45
|
+
__metadata("design:type", Date)
|
|
46
|
+
], BulkUploadItemEntity.prototype, "processed_at", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)('json'),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], BulkUploadItemEntity.prototype, "attributes", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.ManyToOne)(() => bulk_upload_entity_1.BulkUploadEntity),
|
|
53
|
+
(0, typeorm_1.JoinColumn)({ name: 'bulk_upload_id' }),
|
|
54
|
+
__metadata("design:type", bulk_upload_entity_1.BulkUploadEntity)
|
|
55
|
+
], BulkUploadItemEntity.prototype, "bulk_upload", void 0);
|
|
56
|
+
exports.BulkUploadItemEntity = BulkUploadItemEntity = __decorate([
|
|
57
|
+
(0, typeorm_1.Entity)('utl_bulk_upload_items')
|
|
58
|
+
], BulkUploadItemEntity);
|
|
59
|
+
//# sourceMappingURL=bulk.upload.item.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.item.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.upload.item.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAEhE,6DAAwD;AASjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CA2BrD,CAAA;AA3BY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;4DACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;mDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;qDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;kDACL;AAGV;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;mDACJ;AAGX;IADC,IAAA,gBAAM,GAAE;;0DACY;AAGrB;IADC,IAAA,gBAAM,GAAE;8BACK,IAAI;0DAAC;AAGnB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDAC+B;AAG6B;IAA1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAgB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAAc,qCAAgB;yDAAC;+BA1BhG,oBAAoB;IADhC,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,oBAAoB,CA2BhC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommonEntity, LookupValueEntity, ModelEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BulkUploadTypeAttributesDto } from '../dtos/bulk.upload.type.attributes.dto';
|
|
3
|
+
export declare class BulkUploadTypeEntity extends CommonEntity {
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
model_id: number;
|
|
7
|
+
source_type: string;
|
|
8
|
+
custom_field_id: number;
|
|
9
|
+
relations: string;
|
|
10
|
+
attributes: BulkUploadTypeAttributesDto;
|
|
11
|
+
custom_field: LookupValueEntity;
|
|
12
|
+
model: ModelEntity;
|
|
13
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.BulkUploadTypeEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const bulk_upload_type_attributes_dto_1 = require("../dtos/bulk.upload.type.attributes.dto");
|
|
16
|
+
let BulkUploadTypeEntity = class BulkUploadTypeEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.BulkUploadTypeEntity = BulkUploadTypeEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], BulkUploadTypeEntity.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], BulkUploadTypeEntity.prototype, "description", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], BulkUploadTypeEntity.prototype, "model_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], BulkUploadTypeEntity.prototype, "source_type", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], BulkUploadTypeEntity.prototype, "custom_field_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], BulkUploadTypeEntity.prototype, "relations", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)('json'),
|
|
45
|
+
__metadata("design:type", bulk_upload_type_attributes_dto_1.BulkUploadTypeAttributesDto)
|
|
46
|
+
], BulkUploadTypeEntity.prototype, "attributes", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.LookupValueEntity),
|
|
49
|
+
(0, typeorm_1.JoinColumn)({ name: 'custom_field_id' }),
|
|
50
|
+
__metadata("design:type", nestjs_utility_services_1.LookupValueEntity)
|
|
51
|
+
], BulkUploadTypeEntity.prototype, "custom_field", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.ModelEntity),
|
|
54
|
+
(0, typeorm_1.JoinColumn)({ name: 'model_id' }),
|
|
55
|
+
__metadata("design:type", nestjs_utility_services_1.ModelEntity)
|
|
56
|
+
], BulkUploadTypeEntity.prototype, "model", void 0);
|
|
57
|
+
exports.BulkUploadTypeEntity = BulkUploadTypeEntity = __decorate([
|
|
58
|
+
(0, typeorm_1.Entity)('utl_bulk_upload_types')
|
|
59
|
+
], BulkUploadTypeEntity);
|
|
60
|
+
//# sourceMappingURL=bulk.upload.type.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.upload.type.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.upload.type.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsG;AACtG,qCAAgE;AAChE,6FAAsF;AAS/E,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CA0BrD,CAAA;AA1BY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;6DACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;uDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,6DAA2B;wDAAC;AAGqC;IAA5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,2CAAiB;0DAAC;AAE7C;IAA/D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAW,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,qCAAW;mDAAC;+BAzB1E,oBAAoB;IADhC,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,oBAAoB,CA0BhC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './bulk.definition.entity';
|
|
2
|
+
export * from './bulk.definition.load.entity';
|
|
3
|
+
export * from './bulk.definition.processing.entity';
|
|
4
|
+
export * from './bulk.upload.column.entity';
|
|
5
|
+
export * from './bulk.upload.entity';
|
|
6
|
+
export * from './bulk.upload.item.entity';
|
|
7
|
+
export * from './bulk.upload.type.entity';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./bulk.definition.entity"), exports);
|
|
18
|
+
__exportStar(require("./bulk.definition.load.entity"), exports);
|
|
19
|
+
__exportStar(require("./bulk.definition.processing.entity"), exports);
|
|
20
|
+
__exportStar(require("./bulk.upload.column.entity"), exports);
|
|
21
|
+
__exportStar(require("./bulk.upload.entity"), exports);
|
|
22
|
+
__exportStar(require("./bulk.upload.item.entity"), exports);
|
|
23
|
+
__exportStar(require("./bulk.upload.type.entity"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAAyC"}
|