rename Interface user
This commit is contained in:
parent
1bf821e10f
commit
806c51b788
6
dist/Enums/Enums.d.ts
vendored
6
dist/Enums/Enums.d.ts
vendored
@ -1,6 +0,0 @@
|
|||||||
export declare type ECivility = "MALE" | "FEMALE" | "OTHERS";
|
|
||||||
export declare type EFolderStatus = "LIVE" | "ARCHIVED";
|
|
||||||
export declare type EOfficeStatus = "ACTIVATED" | "DESACTIVATED";
|
|
||||||
export declare type ENotificationStatus = "READ" | "UNREAD";
|
|
||||||
export declare type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED";
|
|
||||||
export declare type EDocumentStatus = "ASKED" | "DEPOSITED" | "VALIDATED" | "ANCHORED" | "REFUSED";
|
|
3
dist/Enums/Enums.js
vendored
3
dist/Enums/Enums.js
vendored
@ -1,3 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
//# sourceMappingURL=Enums.js.map
|
|
1
dist/Enums/Enums.js.map
vendored
1
dist/Enums/Enums.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Enums.js","sourceRoot":"","sources":["../../src/Enums/Enums.ts"],"names":[],"mappings":""}
|
|
12
dist/Interfaces/Admin/IAddress.d.ts
vendored
12
dist/Interfaces/Admin/IAddress.d.ts
vendored
@ -1,12 +0,0 @@
|
|||||||
import IContact from "./IContact";
|
|
||||||
import IOffice from "./IOffice";
|
|
||||||
export default class IAddress {
|
|
||||||
uuid: string;
|
|
||||||
address: string;
|
|
||||||
city: string;
|
|
||||||
zip_code: number;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office?: IOffice;
|
|
||||||
contacts?: IContact;
|
|
||||||
}
|
|
57
dist/Interfaces/Admin/IAddress.js
vendored
57
dist/Interfaces/Admin/IAddress.js
vendored
@ -1,57 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IContact_1 = __importDefault(require("./IContact"));
|
|
||||||
const IOffice_1 = __importDefault(require("./IOffice"));
|
|
||||||
class IAddress {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IAddress.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IAddress.prototype, "address", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IAddress.prototype, "city", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", Number)
|
|
||||||
], IAddress.prototype, "zip_code", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IAddress.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IAddress.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IOffice_1.default)
|
|
||||||
], IAddress.prototype, "office", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IContact_1.default)
|
|
||||||
], IAddress.prototype, "contacts", void 0);
|
|
||||||
exports.default = IAddress;
|
|
||||||
//# sourceMappingURL=IAddress.js.map
|
|
1
dist/Interfaces/Admin/IAddress.js.map
vendored
1
dist/Interfaces/Admin/IAddress.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAGxB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAGzB;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAGxB;IADC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"}
|
|
@ -1,8 +0,0 @@
|
|||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IBlockchainAnchor {
|
|
||||||
uuid: string;
|
|
||||||
smartSigJobId: string;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
documents?: IDocument[];
|
|
||||||
}
|
|
40
dist/Interfaces/Admin/IBlockchainAnchors.js
vendored
40
dist/Interfaces/Admin/IBlockchainAnchors.js
vendored
@ -1,40 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
class IBlockchainAnchor {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IBlockchainAnchor.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IBlockchainAnchor.prototype, "smartSigJobId", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IBlockchainAnchor.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IBlockchainAnchor.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IBlockchainAnchor.prototype, "documents", void 0);
|
|
||||||
exports.default = IBlockchainAnchor;
|
|
||||||
//# sourceMappingURL=IBlockchainAnchors.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IBlockchainAnchors.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IBlockchainAnchors.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,iBAAiB;IAAtC;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;+CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAG9B;IADC,IAAA,wBAAM,GAAE;;qDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;qDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"}
|
|
18
dist/Interfaces/Admin/IContact.d.ts
vendored
18
dist/Interfaces/Admin/IContact.d.ts
vendored
@ -1,18 +0,0 @@
|
|||||||
import { ECivility } from "../../Enums/Enums";
|
|
||||||
import IUser from "./IUser";
|
|
||||||
import ICustomer from "./ICustomer";
|
|
||||||
import IAddress from "./IAddress";
|
|
||||||
export default class IContact {
|
|
||||||
uuid: string;
|
|
||||||
first_name: string;
|
|
||||||
last_name: string;
|
|
||||||
email: string;
|
|
||||||
phone_number: string;
|
|
||||||
cell_phone_number: string;
|
|
||||||
civility: ECivility;
|
|
||||||
address: IAddress;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
users?: IUser;
|
|
||||||
customers?: ICustomer;
|
|
||||||
}
|
|
74
dist/Interfaces/Admin/IContact.js
vendored
74
dist/Interfaces/Admin/IContact.js
vendored
@ -1,74 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IUser_1 = __importDefault(require("./IUser"));
|
|
||||||
const ICustomer_1 = __importDefault(require("./ICustomer"));
|
|
||||||
const IAddress_1 = __importDefault(require("./IAddress"));
|
|
||||||
class IContact {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "first_name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "last_name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "email", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "phone_number", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "cell_phone_number", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "civility", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IAddress_1.default)
|
|
||||||
], IContact.prototype, "address", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IContact.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IContact.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IUser_1.default)
|
|
||||||
], IContact.prototype, "users", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", ICustomer_1.default)
|
|
||||||
], IContact.prototype, "customers", void 0);
|
|
||||||
exports.default = IContact;
|
|
||||||
//# sourceMappingURL=IContact.js.map
|
|
1
dist/Interfaces/Admin/IContact.js.map
vendored
1
dist/Interfaces/Admin/IContact.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAlCC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAG3B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAGtB;IADC,IAAA,4BAAU,GAAE;;8CACgB;AAG7B;IADC,IAAA,4BAAU,GAAE;;mDACqB;AAGlC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAGrB;IADC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"}
|
|
13
dist/Interfaces/Admin/ICustomer.d.ts
vendored
13
dist/Interfaces/Admin/ICustomer.d.ts
vendored
@ -1,13 +0,0 @@
|
|||||||
import IContact from "./IContact";
|
|
||||||
import { ECustomerStatus } from "../../Enums/Enums";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer";
|
|
||||||
export default class ICustomer {
|
|
||||||
uuid: string;
|
|
||||||
status: ECustomerStatus;
|
|
||||||
contact: IContact;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office_folder_has_customers?: IOfficeFolderHasCustomer[];
|
|
||||||
documents?: IDocument[];
|
|
||||||
}
|
|
52
dist/Interfaces/Admin/ICustomer.js
vendored
52
dist/Interfaces/Admin/ICustomer.js
vendored
@ -1,52 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IContact_1 = __importDefault(require("./IContact"));
|
|
||||||
class ICustomer {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], ICustomer.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], ICustomer.prototype, "status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IContact_1.default)
|
|
||||||
], ICustomer.prototype, "contact", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], ICustomer.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], ICustomer.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], ICustomer.prototype, "office_folder_has_customers", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], ICustomer.prototype, "documents", void 0);
|
|
||||||
exports.default = ICustomer;
|
|
||||||
//# sourceMappingURL=ICustomer.js.map
|
|
1
dist/Interfaces/Admin/ICustomer.js.map
vendored
1
dist/Interfaces/Admin/ICustomer.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnBC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;8DAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"}
|
|
11
dist/Interfaces/Admin/IDeed.d.ts
vendored
11
dist/Interfaces/Admin/IDeed.d.ts
vendored
@ -1,11 +0,0 @@
|
|||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IDeedHasDocumentType from "./IDeedHasDocumentType";
|
|
||||||
import IDeedType from "./IDeedTypes";
|
|
||||||
export default class IDeed {
|
|
||||||
uuid: string;
|
|
||||||
deed_type: IDeedType;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
deed_has_document_types?: IDeedHasDocumentType[];
|
|
||||||
office_folder?: IOfficeFolder;
|
|
||||||
}
|
|
49
dist/Interfaces/Admin/IDeed.js
vendored
49
dist/Interfaces/Admin/IDeed.js
vendored
@ -1,49 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder"));
|
|
||||||
const IDeedTypes_1 = __importDefault(require("./IDeedTypes"));
|
|
||||||
class IDeed {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeed.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeedTypes_1.default)
|
|
||||||
], IDeed.prototype, "deed_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeed.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeed.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDeed.prototype, "deed_has_document_types", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IOfficeFolder_1.default)
|
|
||||||
], IDeed.prototype, "office_folder", void 0);
|
|
||||||
exports.default = IDeed;
|
|
||||||
//# sourceMappingURL=IDeed.js.map
|
|
1
dist/Interfaces/Admin/IDeed.js.map
vendored
1
dist/Interfaces/Admin/IDeed.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,8DAAqC;AAErC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;sDAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import IDeed from "./IDeed";
|
|
||||||
import IDocumentType from "./IDocumentType";
|
|
||||||
export default class IDeedHasDocumentType {
|
|
||||||
uuid: string;
|
|
||||||
document_type: IDocumentType;
|
|
||||||
deed: IDeed;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
45
dist/Interfaces/Admin/IDeedHasDocumentType.js
vendored
45
dist/Interfaces/Admin/IDeedHasDocumentType.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDeed_1 = __importDefault(require("./IDeed"));
|
|
||||||
const IDocumentType_1 = __importDefault(require("./IDocumentType"));
|
|
||||||
class IDeedHasDocumentType {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedHasDocumentType.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocumentType_1.default)
|
|
||||||
], IDeedHasDocumentType.prototype, "document_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeed_1.default)
|
|
||||||
], IDeedHasDocumentType.prototype, "deed", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedHasDocumentType.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedHasDocumentType.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IDeedHasDocumentType;
|
|
||||||
//# sourceMappingURL=IDeedHasDocumentType.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import IDeedType from "./IDeedTypes";
|
|
||||||
import IDocumentType from "./IDocumentType";
|
|
||||||
export default class IDeedTypeHasDocumentType {
|
|
||||||
uuid: string;
|
|
||||||
document_type: IDocumentType;
|
|
||||||
deed_type: IDeedType;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDeedTypes_1 = __importDefault(require("./IDeedTypes"));
|
|
||||||
const IDocumentType_1 = __importDefault(require("./IDocumentType"));
|
|
||||||
class IDeedTypeHasDocumentType {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocumentType_1.default)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "document_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeedTypes_1.default)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "deed_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IDeedTypeHasDocumentType;
|
|
||||||
//# sourceMappingURL=IDeedTypeHasDocumentType.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAqC;AACrC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"}
|
|
14
dist/Interfaces/Admin/IDeedTypes.d.ts
vendored
14
dist/Interfaces/Admin/IDeedTypes.d.ts
vendored
@ -1,14 +0,0 @@
|
|||||||
import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType";
|
|
||||||
import IOffice from "./IOffice";
|
|
||||||
import IDeed from "./IDeed";
|
|
||||||
export default class IDeedTypes {
|
|
||||||
uuid: string;
|
|
||||||
name: string;
|
|
||||||
description: string;
|
|
||||||
archived_at: Date | null;
|
|
||||||
office: IOffice;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
deed?: IDeed[];
|
|
||||||
deed_type_has_document_types?: IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
61
dist/Interfaces/Admin/IDeedTypes.js
vendored
61
dist/Interfaces/Admin/IDeedTypes.js
vendored
@ -1,61 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IOffice_1 = __importDefault(require("./IOffice"));
|
|
||||||
class IDeedTypes {
|
|
||||||
constructor() {
|
|
||||||
this.archived_at = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypes.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypes.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypes.prototype, "description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypes.prototype, "archived_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOffice_1.default)
|
|
||||||
], IDeedTypes.prototype, "office", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypes.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypes.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDeedTypes.prototype, "deed", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDeedTypes.prototype, "deed_type_has_document_types", void 0);
|
|
||||||
exports.default = IDeedTypes;
|
|
||||||
//# sourceMappingURL=IDeedTypes.js.map
|
|
1
dist/Interfaces/Admin/IDeedTypes.js.map
vendored
1
dist/Interfaces/Admin/IDeedTypes.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeedTypes.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeedTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,UAAU;IAA/B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAzBC;IADC,IAAA,4BAAU,GAAE;;wCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAG5B;IADC,IAAA,wBAAM,GAAE;;+CAC8B;AAGvC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;wCACS;AAGtB;IADC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"}
|
|
19
dist/Interfaces/Admin/IDocument.d.ts
vendored
19
dist/Interfaces/Admin/IDocument.d.ts
vendored
@ -1,19 +0,0 @@
|
|||||||
import ICustomer from "./ICustomer";
|
|
||||||
import { EDocumentStatus } from "../../Enums/Enums";
|
|
||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IDocumentType from "./IDocumentType";
|
|
||||||
import IBlockchainAnchor from "./IBlockchainAnchors";
|
|
||||||
import IDocumentHistory from "./IDocumentHistory";
|
|
||||||
import IFile from "./IFile";
|
|
||||||
export default class IDocument {
|
|
||||||
uuid: string;
|
|
||||||
document_status: EDocumentStatus;
|
|
||||||
document_type: IDocumentType;
|
|
||||||
blockchain_anchor?: IBlockchainAnchor;
|
|
||||||
folder: IOfficeFolder;
|
|
||||||
depositor: ICustomer;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
files?: IFile[];
|
|
||||||
document_history?: IDocumentHistory[];
|
|
||||||
}
|
|
67
dist/Interfaces/Admin/IDocument.js
vendored
67
dist/Interfaces/Admin/IDocument.js
vendored
@ -1,67 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const ICustomer_1 = __importDefault(require("./ICustomer"));
|
|
||||||
const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder"));
|
|
||||||
const IDocumentType_1 = __importDefault(require("./IDocumentType"));
|
|
||||||
const IBlockchainAnchors_1 = __importDefault(require("./IBlockchainAnchors"));
|
|
||||||
class IDocument {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocument.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocument.prototype, "document_status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocumentType_1.default)
|
|
||||||
], IDocument.prototype, "document_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IBlockchainAnchors_1.default)
|
|
||||||
], IDocument.prototype, "blockchain_anchor", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOfficeFolder_1.default)
|
|
||||||
], IDocument.prototype, "folder", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", ICustomer_1.default)
|
|
||||||
], IDocument.prototype, "depositor", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocument.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocument.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocument.prototype, "files", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocument.prototype, "document_history", void 0);
|
|
||||||
exports.default = IDocument;
|
|
||||||
//# sourceMappingURL=IDocument.js.map
|
|
1
dist/Interfaces/Admin/IDocument.js.map
vendored
1
dist/Interfaces/Admin/IDocument.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAC5C,8EAAqD;AAIrD,MAAqB,SAAS;IAA9B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA5BC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAGrC;IADC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAG7C;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;wCACU;AAGvB;IADC,IAAA,4BAAU,GAAE;;mDACgC;AA7B/C,4BA8BC"}
|
|
10
dist/Interfaces/Admin/IDocumentHistory.d.ts
vendored
10
dist/Interfaces/Admin/IDocumentHistory.d.ts
vendored
@ -1,10 +0,0 @@
|
|||||||
import { EDocumentStatus } from "../../Enums/Enums";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IDocumentHistory {
|
|
||||||
uuid: string;
|
|
||||||
document_status: EDocumentStatus;
|
|
||||||
document: IDocument;
|
|
||||||
refused_reason: string | null;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
49
dist/Interfaces/Admin/IDocumentHistory.js
vendored
49
dist/Interfaces/Admin/IDocumentHistory.js
vendored
@ -1,49 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDocument_1 = __importDefault(require("./IDocument"));
|
|
||||||
class IDocumentHistory {
|
|
||||||
constructor() {
|
|
||||||
this.refused_reason = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentHistory.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentHistory.prototype, "document_status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocument_1.default)
|
|
||||||
], IDocumentHistory.prototype, "document", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentHistory.prototype, "refused_reason", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentHistory.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentHistory.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IDocumentHistory;
|
|
||||||
//# sourceMappingURL=IDocumentHistory.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;8CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wDAC+B;AAG5C;IADC,IAAA,wBAAM,GAAE;;oDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"}
|
|
15
dist/Interfaces/Admin/IDocumentType.d.ts
vendored
15
dist/Interfaces/Admin/IDocumentType.d.ts
vendored
@ -1,15 +0,0 @@
|
|||||||
import IDeedHasDocumentType from "./IDeedHasDocumentType";
|
|
||||||
import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IDocumentType {
|
|
||||||
uuid: string;
|
|
||||||
name: string;
|
|
||||||
public_description: string;
|
|
||||||
private_description: string | null;
|
|
||||||
archived_at: Date | null;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
documents?: IDocument[];
|
|
||||||
deed_has_document_types?: IDeedHasDocumentType[];
|
|
||||||
deed_type_has_document_types?: IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
62
dist/Interfaces/Admin/IDocumentType.js
vendored
62
dist/Interfaces/Admin/IDocumentType.js
vendored
@ -1,62 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
class IDocumentType {
|
|
||||||
constructor() {
|
|
||||||
this.private_description = null;
|
|
||||||
this.archived_at = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentType.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentType.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentType.prototype, "public_description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "private_description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "archived_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocumentType.prototype, "documents", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocumentType.prototype, "deed_has_document_types", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocumentType.prototype, "deed_type_has_document_types", void 0);
|
|
||||||
exports.default = IDocumentType;
|
|
||||||
//# sourceMappingURL=IDocumentType.js.map
|
|
1
dist/Interfaces/Admin/IDocumentType.js.map
vendored
1
dist/Interfaces/Admin/IDocumentType.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA5BC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAGnC;IADC,IAAA,4BAAU,GAAE;;0DACoC;AAGjD;IADC,IAAA,wBAAM,GAAE;;kDAC8B;AAGvC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;gDACkB;AAG/B;IADC,IAAA,4BAAU,GAAE;;8DAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"}
|
|
8
dist/Interfaces/Admin/IFile.d.ts
vendored
8
dist/Interfaces/Admin/IFile.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IFile {
|
|
||||||
uuid: string;
|
|
||||||
document: IDocument;
|
|
||||||
file_path: string | null;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
45
dist/Interfaces/Admin/IFile.js
vendored
45
dist/Interfaces/Admin/IFile.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDocument_1 = __importDefault(require("./IDocument"));
|
|
||||||
class IFile {
|
|
||||||
constructor() {
|
|
||||||
this.file_path = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IFile.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocument_1.default)
|
|
||||||
], IFile.prototype, "document", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IFile.prototype, "file_path", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IFile.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IFile.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IFile;
|
|
||||||
//# sourceMappingURL=IFile.js.map
|
|
1
dist/Interfaces/Admin/IFile.js.map
vendored
1
dist/Interfaces/Admin/IFile.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wCAC0B;AAGvC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"}
|
|
9
dist/Interfaces/Admin/INotification.d.ts
vendored
9
dist/Interfaces/Admin/INotification.d.ts
vendored
@ -1,9 +0,0 @@
|
|||||||
import IUserHasNotification from "./IUserHasNotification";
|
|
||||||
export default class INotification {
|
|
||||||
uuid: string;
|
|
||||||
message: string;
|
|
||||||
redirection_url: string;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
user_has_notifications?: IUserHasNotification[];
|
|
||||||
}
|
|
45
dist/Interfaces/Admin/INotification.js
vendored
45
dist/Interfaces/Admin/INotification.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
class INotification {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], INotification.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], INotification.prototype, "message", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
(0, class_validator_1.IsUrl)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], INotification.prototype, "redirection_url", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], INotification.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], INotification.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], INotification.prototype, "user_has_notifications", void 0);
|
|
||||||
exports.default = INotification;
|
|
||||||
//# sourceMappingURL=INotification.js.map
|
|
1
dist/Interfaces/Admin/INotification.js.map
vendored
1
dist/Interfaces/Admin/INotification.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAjBC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAIxB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAGhC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"}
|
|
18
dist/Interfaces/Admin/IOffice.d.ts
vendored
18
dist/Interfaces/Admin/IOffice.d.ts
vendored
@ -1,18 +0,0 @@
|
|||||||
import IAddress from "./IAddress";
|
|
||||||
import { EOfficeStatus } from "../../Enums/Enums";
|
|
||||||
import IUser from "./IUser";
|
|
||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IDeedType from "./IDeedTypes";
|
|
||||||
export default class IOffice {
|
|
||||||
uuid: string;
|
|
||||||
idNot: string;
|
|
||||||
name: string;
|
|
||||||
crpcen: string;
|
|
||||||
address: IAddress;
|
|
||||||
office_status: EOfficeStatus;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
deed_types?: IDeedType[];
|
|
||||||
users?: IUser[];
|
|
||||||
office_folders?: IOfficeFolder[];
|
|
||||||
}
|
|
68
dist/Interfaces/Admin/IOffice.js
vendored
68
dist/Interfaces/Admin/IOffice.js
vendored
@ -1,68 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IAddress_1 = __importDefault(require("./IAddress"));
|
|
||||||
class IOffice {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "idNot", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "crpcen", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IAddress_1.default)
|
|
||||||
], IOffice.prototype, "address", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "office_status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOffice.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOffice.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOffice.prototype, "deed_types", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOffice.prototype, "users", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOffice.prototype, "office_folders", void 0);
|
|
||||||
exports.default = IOffice;
|
|
||||||
//# sourceMappingURL=IOffice.js.map
|
|
1
dist/Interfaces/Admin/IOffice.js.map
vendored
1
dist/Interfaces/Admin/IOffice.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA/BC;IADC,IAAA,4BAAU,GAAE;;qCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAGvB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAGrC;IADC,IAAA,wBAAM,GAAE;;2CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;2CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;2CACY;AAGzB;IADC,IAAA,4BAAU,GAAE;;sCACG;AAGhB;IADC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"}
|
|
21
dist/Interfaces/Admin/IOfficeFolder.d.ts
vendored
21
dist/Interfaces/Admin/IOfficeFolder.d.ts
vendored
@ -1,21 +0,0 @@
|
|||||||
import { EFolderStatus } from "../../Enums/Enums";
|
|
||||||
import IDeed from "./IDeed";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
import IOffice from "./IOffice";
|
|
||||||
import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer";
|
|
||||||
import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder";
|
|
||||||
export default class IOfficeFolder {
|
|
||||||
uuid: string;
|
|
||||||
folder_number: string;
|
|
||||||
name: string;
|
|
||||||
description: string | null;
|
|
||||||
archived_description: string | null;
|
|
||||||
status: EFolderStatus;
|
|
||||||
deed: IDeed;
|
|
||||||
office: IOffice;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office_folder_has_customers?: IOfficeFolderHasCustomer[];
|
|
||||||
office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[];
|
|
||||||
documents?: IDocument[];
|
|
||||||
}
|
|
79
dist/Interfaces/Admin/IOfficeFolder.js
vendored
79
dist/Interfaces/Admin/IOfficeFolder.js
vendored
@ -1,79 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDeed_1 = __importDefault(require("./IDeed"));
|
|
||||||
const IOffice_1 = __importDefault(require("./IOffice"));
|
|
||||||
class IOfficeFolder {
|
|
||||||
constructor() {
|
|
||||||
this.description = null;
|
|
||||||
this.archived_description = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOfficeFolder.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOfficeFolder.prototype, "folder_number", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOfficeFolder.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolder.prototype, "description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolder.prototype, "archived_description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOfficeFolder.prototype, "status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeed_1.default)
|
|
||||||
], IOfficeFolder.prototype, "deed", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOffice_1.default)
|
|
||||||
], IOfficeFolder.prototype, "office", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolder.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolder.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOfficeFolder.prototype, "office_folder_has_customers", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOfficeFolder.prototype, "documents", void 0);
|
|
||||||
exports.default = IOfficeFolder;
|
|
||||||
//# sourceMappingURL=IOfficeFolder.js.map
|
|
1
dist/Interfaces/Admin/IOfficeFolder.js.map
vendored
1
dist/Interfaces/Admin/IOfficeFolder.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;IAAlC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AArCC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,GAAE;;kDAC4B;AAGzC;IADC,IAAA,4BAAU,GAAE;;2DACqC;AAGlD;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;kEAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;oEACiD;AAG9D;IADC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import ICustomer from "./ICustomer";
|
|
||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
export default class IOfficeFolderHasCustomer {
|
|
||||||
uuid: string;
|
|
||||||
customer: ICustomer;
|
|
||||||
office_folder: IOfficeFolder;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const ICustomer_1 = __importDefault(require("./ICustomer"));
|
|
||||||
const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder"));
|
|
||||||
class IOfficeFolderHasCustomer {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOfficeFolderHasCustomer.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", ICustomer_1.default)
|
|
||||||
], IOfficeFolderHasCustomer.prototype, "customer", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOfficeFolder_1.default)
|
|
||||||
], IOfficeFolderHasCustomer.prototype, "office_folder", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolderHasCustomer.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolderHasCustomer.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IOfficeFolderHasCustomer;
|
|
||||||
//# sourceMappingURL=IOfficeFolderHasCustomer.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IUser from "./IUser";
|
|
||||||
export default class IOfficeFolderHasStakeholder {
|
|
||||||
uuid: string;
|
|
||||||
user_stakeholder: IUser;
|
|
||||||
office_folder: IOfficeFolder;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder"));
|
|
||||||
const IUser_1 = __importDefault(require("./IUser"));
|
|
||||||
class IOfficeFolderHasStakeholder {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOfficeFolderHasStakeholder.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IUser_1.default)
|
|
||||||
], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOfficeFolder_1.default)
|
|
||||||
], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolderHasStakeholder.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IOfficeFolderHasStakeholder;
|
|
||||||
//# sourceMappingURL=IOfficeFolderHasStakeholder.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;IAAhD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;yDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;;+DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"}
|
|
14
dist/Interfaces/Admin/IUser.d.ts
vendored
14
dist/Interfaces/Admin/IUser.d.ts
vendored
@ -1,14 +0,0 @@
|
|||||||
import IContact from "./IContact";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
import OfficesEntity from "./IOffice";
|
|
||||||
import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder";
|
|
||||||
export default class IUser {
|
|
||||||
uuid: string;
|
|
||||||
idNot: string;
|
|
||||||
contact: IContact;
|
|
||||||
office_membership: OfficesEntity;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[];
|
|
||||||
documents?: IDocument;
|
|
||||||
}
|
|
58
dist/Interfaces/Admin/IUser.js
vendored
58
dist/Interfaces/Admin/IUser.js
vendored
@ -1,58 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IContact_1 = __importDefault(require("./IContact"));
|
|
||||||
const IDocument_1 = __importDefault(require("./IDocument"));
|
|
||||||
const IOffice_1 = __importDefault(require("./IOffice"));
|
|
||||||
class IUser {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IUser.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IUser.prototype, "idNot", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IContact_1.default)
|
|
||||||
], IUser.prototype, "contact", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOffice_1.default)
|
|
||||||
], IUser.prototype, "office_membership", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IUser.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IUser.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IUser.prototype, "office_folder_has_stakeholders", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IDocument_1.default)
|
|
||||||
], IUser.prototype, "documents", void 0);
|
|
||||||
exports.default = IUser;
|
|
||||||
//# sourceMappingURL=IUser.js.map
|
|
1
dist/Interfaces/Admin/IUser.js.map
vendored
1
dist/Interfaces/Admin/IUser.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;IAA1B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAGzC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6DACkD;AAG/D;IADC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import INotification from "./INotification";
|
|
||||||
import IUser from "./IUser";
|
|
||||||
export default class IUserHasNotification {
|
|
||||||
uuid: string;
|
|
||||||
user: IUser;
|
|
||||||
notification: INotification;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
45
dist/Interfaces/Admin/IUserHasNotification.js
vendored
45
dist/Interfaces/Admin/IUserHasNotification.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const INotification_1 = __importDefault(require("./INotification"));
|
|
||||||
const IUser_1 = __importDefault(require("./IUser"));
|
|
||||||
class IUserHasNotification {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IUserHasNotification.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IUser_1.default)
|
|
||||||
], IUserHasNotification.prototype, "user", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", INotification_1.default)
|
|
||||||
], IUserHasNotification.prototype, "notification", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IUserHasNotification.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IUserHasNotification.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IUserHasNotification;
|
|
||||||
//# sourceMappingURL=IUserHasNotification.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAGpC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"}
|
|
12
dist/Interfaces/Customer/IAddress.d.ts
vendored
12
dist/Interfaces/Customer/IAddress.d.ts
vendored
@ -1,12 +0,0 @@
|
|||||||
import IContact from "./IContact";
|
|
||||||
import IOffice from "./IOffice";
|
|
||||||
export default class IAddress {
|
|
||||||
uuid: string;
|
|
||||||
address: string;
|
|
||||||
city: string;
|
|
||||||
zip_code: number;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office?: IOffice;
|
|
||||||
contacts?: IContact;
|
|
||||||
}
|
|
57
dist/Interfaces/Customer/IAddress.js
vendored
57
dist/Interfaces/Customer/IAddress.js
vendored
@ -1,57 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IContact_1 = __importDefault(require("./IContact"));
|
|
||||||
const IOffice_1 = __importDefault(require("./IOffice"));
|
|
||||||
class IAddress {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IAddress.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IAddress.prototype, "address", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IAddress.prototype, "city", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", Number)
|
|
||||||
], IAddress.prototype, "zip_code", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IAddress.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IAddress.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IOffice_1.default)
|
|
||||||
], IAddress.prototype, "office", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IContact_1.default)
|
|
||||||
], IAddress.prototype, "contacts", void 0);
|
|
||||||
exports.default = IAddress;
|
|
||||||
//# sourceMappingURL=IAddress.js.map
|
|
1
dist/Interfaces/Customer/IAddress.js.map
vendored
1
dist/Interfaces/Customer/IAddress.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAGxB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAGzB;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAGxB;IADC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"}
|
|
18
dist/Interfaces/Customer/IContact.d.ts
vendored
18
dist/Interfaces/Customer/IContact.d.ts
vendored
@ -1,18 +0,0 @@
|
|||||||
import { ECivility } from "../../Enums/Enums";
|
|
||||||
import IUser from "./IUser";
|
|
||||||
import ICustomer from "./ICustomer";
|
|
||||||
import IAddress from "./IAddress";
|
|
||||||
export default class IContact {
|
|
||||||
uuid: string;
|
|
||||||
first_name: string;
|
|
||||||
last_name: string;
|
|
||||||
email: string;
|
|
||||||
phone_number: string;
|
|
||||||
cell_phone_number: string;
|
|
||||||
civility: ECivility;
|
|
||||||
address: IAddress;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
users?: IUser;
|
|
||||||
customers?: ICustomer;
|
|
||||||
}
|
|
74
dist/Interfaces/Customer/IContact.js
vendored
74
dist/Interfaces/Customer/IContact.js
vendored
@ -1,74 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IUser_1 = __importDefault(require("./IUser"));
|
|
||||||
const ICustomer_1 = __importDefault(require("./ICustomer"));
|
|
||||||
const IAddress_1 = __importDefault(require("./IAddress"));
|
|
||||||
class IContact {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "first_name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "last_name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "email", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "phone_number", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "cell_phone_number", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IContact.prototype, "civility", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IAddress_1.default)
|
|
||||||
], IContact.prototype, "address", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IContact.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IContact.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IUser_1.default)
|
|
||||||
], IContact.prototype, "users", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", ICustomer_1.default)
|
|
||||||
], IContact.prototype, "customers", void 0);
|
|
||||||
exports.default = IContact;
|
|
||||||
//# sourceMappingURL=IContact.js.map
|
|
1
dist/Interfaces/Customer/IContact.js.map
vendored
1
dist/Interfaces/Customer/IContact.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAlCC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAG3B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAGtB;IADC,IAAA,4BAAU,GAAE;;8CACgB;AAG7B;IADC,IAAA,4BAAU,GAAE;;mDACqB;AAGlC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAGrB;IADC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"}
|
|
13
dist/Interfaces/Customer/ICustomer.d.ts
vendored
13
dist/Interfaces/Customer/ICustomer.d.ts
vendored
@ -1,13 +0,0 @@
|
|||||||
import IContact from "./IContact";
|
|
||||||
import { ECustomerStatus } from "../../Enums/Enums";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer";
|
|
||||||
export default class ICustomer {
|
|
||||||
uuid: string;
|
|
||||||
status: ECustomerStatus;
|
|
||||||
contact: IContact;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office_folder_has_customers?: IOfficeFolderHasCustomer[];
|
|
||||||
documents?: IDocument[];
|
|
||||||
}
|
|
52
dist/Interfaces/Customer/ICustomer.js
vendored
52
dist/Interfaces/Customer/ICustomer.js
vendored
@ -1,52 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IContact_1 = __importDefault(require("./IContact"));
|
|
||||||
class ICustomer {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], ICustomer.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], ICustomer.prototype, "status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IContact_1.default)
|
|
||||||
], ICustomer.prototype, "contact", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], ICustomer.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], ICustomer.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], ICustomer.prototype, "office_folder_has_customers", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], ICustomer.prototype, "documents", void 0);
|
|
||||||
exports.default = ICustomer;
|
|
||||||
//# sourceMappingURL=ICustomer.js.map
|
|
1
dist/Interfaces/Customer/ICustomer.js.map
vendored
1
dist/Interfaces/Customer/ICustomer.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnBC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;8DAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"}
|
|
11
dist/Interfaces/Customer/IDeed.d.ts
vendored
11
dist/Interfaces/Customer/IDeed.d.ts
vendored
@ -1,11 +0,0 @@
|
|||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IDeedHasDocumentType from "./IDeedHasDocumentType";
|
|
||||||
import IDeedType from "./IDeedTypes";
|
|
||||||
export default class IDeed {
|
|
||||||
uuid: string;
|
|
||||||
deed_type: IDeedType;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
deed_has_document_types?: IDeedHasDocumentType[];
|
|
||||||
office_folder?: IOfficeFolder;
|
|
||||||
}
|
|
49
dist/Interfaces/Customer/IDeed.js
vendored
49
dist/Interfaces/Customer/IDeed.js
vendored
@ -1,49 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder"));
|
|
||||||
const IDeedTypes_1 = __importDefault(require("./IDeedTypes"));
|
|
||||||
class IDeed {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeed.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeedTypes_1.default)
|
|
||||||
], IDeed.prototype, "deed_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeed.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeed.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDeed.prototype, "deed_has_document_types", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", IOfficeFolder_1.default)
|
|
||||||
], IDeed.prototype, "office_folder", void 0);
|
|
||||||
exports.default = IDeed;
|
|
||||||
//# sourceMappingURL=IDeed.js.map
|
|
1
dist/Interfaces/Customer/IDeed.js.map
vendored
1
dist/Interfaces/Customer/IDeed.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,8DAAqC;AAErC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;sDAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import IDeed from "./IDeed";
|
|
||||||
import IDocumentType from "./IDocumentType";
|
|
||||||
export default class IDeedHasDocumentType {
|
|
||||||
uuid: string;
|
|
||||||
document_type: IDocumentType;
|
|
||||||
deed: IDeed;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
45
dist/Interfaces/Customer/IDeedHasDocumentType.js
vendored
45
dist/Interfaces/Customer/IDeedHasDocumentType.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDeed_1 = __importDefault(require("./IDeed"));
|
|
||||||
const IDocumentType_1 = __importDefault(require("./IDocumentType"));
|
|
||||||
class IDeedHasDocumentType {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedHasDocumentType.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocumentType_1.default)
|
|
||||||
], IDeedHasDocumentType.prototype, "document_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeed_1.default)
|
|
||||||
], IDeedHasDocumentType.prototype, "deed", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedHasDocumentType.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedHasDocumentType.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IDeedHasDocumentType;
|
|
||||||
//# sourceMappingURL=IDeedHasDocumentType.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"}
|
|
@ -1,9 +0,0 @@
|
|||||||
import IDeedType from "./IDeedTypes";
|
|
||||||
import IDocumentType from "./IDocumentType";
|
|
||||||
export default class IDeedTypeHasDocumentType {
|
|
||||||
uuid: string;
|
|
||||||
document_type: IDocumentType;
|
|
||||||
deed_type: IDeedType;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDeedTypes_1 = __importDefault(require("./IDeedTypes"));
|
|
||||||
const IDocumentType_1 = __importDefault(require("./IDocumentType"));
|
|
||||||
class IDeedTypeHasDocumentType {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocumentType_1.default)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "document_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDeedTypes_1.default)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "deed_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypeHasDocumentType.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IDeedTypeHasDocumentType;
|
|
||||||
//# sourceMappingURL=IDeedTypeHasDocumentType.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAqC;AACrC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"}
|
|
14
dist/Interfaces/Customer/IDeedTypes.d.ts
vendored
14
dist/Interfaces/Customer/IDeedTypes.d.ts
vendored
@ -1,14 +0,0 @@
|
|||||||
import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType";
|
|
||||||
import IOffice from "./IOffice";
|
|
||||||
import IDeed from "./IDeed";
|
|
||||||
export default class IDeedTypes {
|
|
||||||
uuid: string;
|
|
||||||
name: string;
|
|
||||||
description: string;
|
|
||||||
archived_at: Date | null;
|
|
||||||
office: IOffice;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
deed?: IDeed[];
|
|
||||||
deed_type_has_document_types?: IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
61
dist/Interfaces/Customer/IDeedTypes.js
vendored
61
dist/Interfaces/Customer/IDeedTypes.js
vendored
@ -1,61 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IOffice_1 = __importDefault(require("./IOffice"));
|
|
||||||
class IDeedTypes {
|
|
||||||
constructor() {
|
|
||||||
this.archived_at = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypes.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypes.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDeedTypes.prototype, "description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypes.prototype, "archived_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOffice_1.default)
|
|
||||||
], IDeedTypes.prototype, "office", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypes.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDeedTypes.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDeedTypes.prototype, "deed", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDeedTypes.prototype, "deed_type_has_document_types", void 0);
|
|
||||||
exports.default = IDeedTypes;
|
|
||||||
//# sourceMappingURL=IDeedTypes.js.map
|
|
1
dist/Interfaces/Customer/IDeedTypes.js.map
vendored
1
dist/Interfaces/Customer/IDeedTypes.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDeedTypes.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeedTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,UAAU;IAA/B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAzBC;IADC,IAAA,4BAAU,GAAE;;wCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAG5B;IADC,IAAA,wBAAM,GAAE;;+CAC8B;AAGvC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;wCACS;AAGtB;IADC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"}
|
|
17
dist/Interfaces/Customer/IDocument.d.ts
vendored
17
dist/Interfaces/Customer/IDocument.d.ts
vendored
@ -1,17 +0,0 @@
|
|||||||
import ICustomer from "./ICustomer";
|
|
||||||
import { EDocumentStatus } from "../../Enums/Enums";
|
|
||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IDocumentType from "./IDocumentType";
|
|
||||||
import IDocumentHistory from "./IDocumentHistory";
|
|
||||||
import IFile from "./IFile";
|
|
||||||
export default class IDocument {
|
|
||||||
uuid: string;
|
|
||||||
document_status: EDocumentStatus;
|
|
||||||
document_type: IDocumentType;
|
|
||||||
folder: IOfficeFolder;
|
|
||||||
depositor: ICustomer;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
files?: IFile[];
|
|
||||||
document_history?: IDocumentHistory[];
|
|
||||||
}
|
|
62
dist/Interfaces/Customer/IDocument.js
vendored
62
dist/Interfaces/Customer/IDocument.js
vendored
@ -1,62 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const ICustomer_1 = __importDefault(require("./ICustomer"));
|
|
||||||
const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder"));
|
|
||||||
const IDocumentType_1 = __importDefault(require("./IDocumentType"));
|
|
||||||
class IDocument {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocument.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocument.prototype, "document_status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocumentType_1.default)
|
|
||||||
], IDocument.prototype, "document_type", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IOfficeFolder_1.default)
|
|
||||||
], IDocument.prototype, "folder", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", ICustomer_1.default)
|
|
||||||
], IDocument.prototype, "depositor", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocument.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocument.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocument.prototype, "files", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocument.prototype, "document_history", void 0);
|
|
||||||
exports.default = IDocument;
|
|
||||||
//# sourceMappingURL=IDocument.js.map
|
|
1
dist/Interfaces/Customer/IDocument.js.map
vendored
1
dist/Interfaces/Customer/IDocument.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAI5C,MAAqB,SAAS;IAA9B;QAiBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAzBC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;wCACU;AAGvB;IADC,IAAA,4BAAU,GAAE;;mDACgC;AA1B/C,4BA2BC"}
|
|
10
dist/Interfaces/Customer/IDocumentHistory.d.ts
vendored
10
dist/Interfaces/Customer/IDocumentHistory.d.ts
vendored
@ -1,10 +0,0 @@
|
|||||||
import { EDocumentStatus } from "../../Enums/Enums";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IDocumentHistory {
|
|
||||||
uuid: string;
|
|
||||||
document_status: EDocumentStatus;
|
|
||||||
document: IDocument;
|
|
||||||
refused_reason: string | null;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
49
dist/Interfaces/Customer/IDocumentHistory.js
vendored
49
dist/Interfaces/Customer/IDocumentHistory.js
vendored
@ -1,49 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDocument_1 = __importDefault(require("./IDocument"));
|
|
||||||
class IDocumentHistory {
|
|
||||||
constructor() {
|
|
||||||
this.refused_reason = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentHistory.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentHistory.prototype, "document_status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocument_1.default)
|
|
||||||
], IDocumentHistory.prototype, "document", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentHistory.prototype, "refused_reason", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentHistory.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentHistory.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IDocumentHistory;
|
|
||||||
//# sourceMappingURL=IDocumentHistory.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;8CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wDAC+B;AAG5C;IADC,IAAA,wBAAM,GAAE;;oDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"}
|
|
15
dist/Interfaces/Customer/IDocumentType.d.ts
vendored
15
dist/Interfaces/Customer/IDocumentType.d.ts
vendored
@ -1,15 +0,0 @@
|
|||||||
import IDeedHasDocumentType from "./IDeedHasDocumentType";
|
|
||||||
import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IDocumentType {
|
|
||||||
uuid: string;
|
|
||||||
name: string;
|
|
||||||
public_description: string;
|
|
||||||
private_description: string | null;
|
|
||||||
archived_at: Date | null;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
documents?: IDocument[];
|
|
||||||
deed_has_document_types?: IDeedHasDocumentType[];
|
|
||||||
deed_type_has_document_types?: IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
62
dist/Interfaces/Customer/IDocumentType.js
vendored
62
dist/Interfaces/Customer/IDocumentType.js
vendored
@ -1,62 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
class IDocumentType {
|
|
||||||
constructor() {
|
|
||||||
this.private_description = null;
|
|
||||||
this.archived_at = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentType.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentType.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IDocumentType.prototype, "public_description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "private_description", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "archived_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IDocumentType.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocumentType.prototype, "documents", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocumentType.prototype, "deed_has_document_types", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IDocumentType.prototype, "deed_type_has_document_types", void 0);
|
|
||||||
exports.default = IDocumentType;
|
|
||||||
//# sourceMappingURL=IDocumentType.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA5BC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAGnC;IADC,IAAA,4BAAU,GAAE;;0DACoC;AAGjD;IADC,IAAA,wBAAM,GAAE;;kDAC8B;AAGvC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;gDACkB;AAG/B;IADC,IAAA,4BAAU,GAAE;;8DAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"}
|
|
8
dist/Interfaces/Customer/IFile.d.ts
vendored
8
dist/Interfaces/Customer/IFile.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
import IDocument from "./IDocument";
|
|
||||||
export default class IFile {
|
|
||||||
uuid: string;
|
|
||||||
document: IDocument;
|
|
||||||
file_path: string | null;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
}
|
|
45
dist/Interfaces/Customer/IFile.js
vendored
45
dist/Interfaces/Customer/IFile.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IDocument_1 = __importDefault(require("./IDocument"));
|
|
||||||
class IFile {
|
|
||||||
constructor() {
|
|
||||||
this.file_path = null;
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IFile.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IDocument_1.default)
|
|
||||||
], IFile.prototype, "document", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IFile.prototype, "file_path", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IFile.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IFile.prototype, "updated_at", void 0);
|
|
||||||
exports.default = IFile;
|
|
||||||
//# sourceMappingURL=IFile.js.map
|
|
1
dist/Interfaces/Customer/IFile.js.map
vendored
1
dist/Interfaces/Customer/IFile.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wCAC0B;AAGvC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"}
|
|
9
dist/Interfaces/Customer/INotification.d.ts
vendored
9
dist/Interfaces/Customer/INotification.d.ts
vendored
@ -1,9 +0,0 @@
|
|||||||
import IUserHasNotification from "./IUserHasNotification";
|
|
||||||
export default class INotification {
|
|
||||||
uuid: string;
|
|
||||||
message: string;
|
|
||||||
redirection_url: string;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
user_has_notifications?: IUserHasNotification[];
|
|
||||||
}
|
|
45
dist/Interfaces/Customer/INotification.js
vendored
45
dist/Interfaces/Customer/INotification.js
vendored
@ -1,45 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
class INotification {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], INotification.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], INotification.prototype, "message", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
(0, class_validator_1.IsUrl)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], INotification.prototype, "redirection_url", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], INotification.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], INotification.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], INotification.prototype, "user_has_notifications", void 0);
|
|
||||||
exports.default = INotification;
|
|
||||||
//# sourceMappingURL=INotification.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAjBC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAIxB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAGhC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"}
|
|
18
dist/Interfaces/Customer/IOffice.d.ts
vendored
18
dist/Interfaces/Customer/IOffice.d.ts
vendored
@ -1,18 +0,0 @@
|
|||||||
import IAddress from "./IAddress";
|
|
||||||
import { EOfficeStatus } from "../../Enums/Enums";
|
|
||||||
import IUser from "./IUser";
|
|
||||||
import IOfficeFolder from "./IOfficeFolder";
|
|
||||||
import IDeedType from "./IDeedTypes";
|
|
||||||
export default class IOffice {
|
|
||||||
uuid: string;
|
|
||||||
idNot: string;
|
|
||||||
name: string;
|
|
||||||
crpcen: string;
|
|
||||||
address: IAddress;
|
|
||||||
office_status: EOfficeStatus;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
deed_types?: IDeedType[];
|
|
||||||
users?: IUser[];
|
|
||||||
office_folders?: IOfficeFolder[];
|
|
||||||
}
|
|
68
dist/Interfaces/Customer/IOffice.js
vendored
68
dist/Interfaces/Customer/IOffice.js
vendored
@ -1,68 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
||||||
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;
|
|
||||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
||||||
};
|
|
||||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
||||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
||||||
};
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const class_validator_1 = require("class-validator");
|
|
||||||
const IAddress_1 = __importDefault(require("./IAddress"));
|
|
||||||
class IOffice {
|
|
||||||
constructor() {
|
|
||||||
this.created_at = null;
|
|
||||||
this.updated_at = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)(),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "uuid", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "idNot", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "name", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "crpcen", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", IAddress_1.default)
|
|
||||||
], IOffice.prototype, "address", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
|
||||||
__metadata("design:type", String)
|
|
||||||
], IOffice.prototype, "office_status", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOffice.prototype, "created_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsDate)(),
|
|
||||||
__metadata("design:type", Object)
|
|
||||||
], IOffice.prototype, "updated_at", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOffice.prototype, "deed_types", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOffice.prototype, "users", void 0);
|
|
||||||
__decorate([
|
|
||||||
(0, class_validator_1.IsOptional)(),
|
|
||||||
__metadata("design:type", Array)
|
|
||||||
], IOffice.prototype, "office_folders", void 0);
|
|
||||||
exports.default = IOffice;
|
|
||||||
//# sourceMappingURL=IOffice.js.map
|
|
1
dist/Interfaces/Customer/IOffice.js.map
vendored
1
dist/Interfaces/Customer/IOffice.js.map
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA/BC;IADC,IAAA,4BAAU,GAAE;;qCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAGvB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAGrC;IADC,IAAA,wBAAM,GAAE;;2CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;2CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;2CACY;AAGzB;IADC,IAAA,4BAAU,GAAE;;sCACG;AAGhB;IADC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"}
|
|
21
dist/Interfaces/Customer/IOfficeFolder.d.ts
vendored
21
dist/Interfaces/Customer/IOfficeFolder.d.ts
vendored
@ -1,21 +0,0 @@
|
|||||||
import { EFolderStatus } from "../../Enums/Enums";
|
|
||||||
import IDeed from "./IDeed";
|
|
||||||
import IDocument from "./IDocument";
|
|
||||||
import IOffice from "./IOffice";
|
|
||||||
import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer";
|
|
||||||
import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder";
|
|
||||||
export default class IOfficeFolder {
|
|
||||||
uuid: string;
|
|
||||||
folder_number: string;
|
|
||||||
name: string;
|
|
||||||
description: string | null;
|
|
||||||
archived_description: string | null;
|
|
||||||
status: EFolderStatus;
|
|
||||||
deed: IDeed;
|
|
||||||
office: IOffice;
|
|
||||||
created_at: Date | null;
|
|
||||||
updated_at: Date | null;
|
|
||||||
office_folder_has_customers?: IOfficeFolderHasCustomer[];
|
|
||||||
office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[];
|
|
||||||
documents?: IDocument[];
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user