add missing namespaces

This commit is contained in:
OxSaitama 2023-03-22 13:01:05 +01:00
parent 763f5659dc
commit aca7c85ad9
417 changed files with 6705 additions and 2854 deletions

35
dist/Enums/Enums.d.ts vendored
View File

@ -1,29 +1,6 @@
export declare enum ECivility { export type ECivility = "MALE" | "FEMALE" | "OTHERS";
MALE = 0, export type EFolderStatus = "LIVE" | "ARCHIVED";
FEMALE = 1, export type EOfficeStatus = "ACTIVATED" | "DESACTIVATED";
OTHERS = 2 export type ENotificationStatus = "READ" | "UNREAD";
} export type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED";
export declare enum EFolderStatus { export type EDocumentStatus = "ASKED" | "DEPOSITED" | "VALIDATED" | "ANCHORED" | "REFUSED";
LIVE = 0,
ARCHIVED = 1
}
export declare enum EOfficeStatus {
ACTIVATED = 0,
DESACTIVATED = 1
}
export declare enum ENotificationStatus {
READ = 0,
UNREAD = 1
}
export declare enum ECustomerStatus {
VALIDATED = 0,
PENDING = 1,
ERRONED = 2
}
export declare enum EDocumentStatus {
ASKED = 0,
DEPOSITED = 1,
VALIDATED = 2,
ANCHORED = 3,
REFUSED = 4
}

36
dist/Enums/Enums.js vendored
View File

@ -1,39 +1,3 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.EDocumentStatus = exports.ECustomerStatus = exports.ENotificationStatus = exports.EOfficeStatus = exports.EFolderStatus = exports.ECivility = void 0;
var ECivility;
(function (ECivility) {
ECivility[ECivility["MALE"] = 0] = "MALE";
ECivility[ECivility["FEMALE"] = 1] = "FEMALE";
ECivility[ECivility["OTHERS"] = 2] = "OTHERS";
})(ECivility = exports.ECivility || (exports.ECivility = {}));
var EFolderStatus;
(function (EFolderStatus) {
EFolderStatus[EFolderStatus["LIVE"] = 0] = "LIVE";
EFolderStatus[EFolderStatus["ARCHIVED"] = 1] = "ARCHIVED";
})(EFolderStatus = exports.EFolderStatus || (exports.EFolderStatus = {}));
var EOfficeStatus;
(function (EOfficeStatus) {
EOfficeStatus[EOfficeStatus["ACTIVATED"] = 0] = "ACTIVATED";
EOfficeStatus[EOfficeStatus["DESACTIVATED"] = 1] = "DESACTIVATED";
})(EOfficeStatus = exports.EOfficeStatus || (exports.EOfficeStatus = {}));
var ENotificationStatus;
(function (ENotificationStatus) {
ENotificationStatus[ENotificationStatus["READ"] = 0] = "READ";
ENotificationStatus[ENotificationStatus["UNREAD"] = 1] = "UNREAD";
})(ENotificationStatus = exports.ENotificationStatus || (exports.ENotificationStatus = {}));
var ECustomerStatus;
(function (ECustomerStatus) {
ECustomerStatus[ECustomerStatus["VALIDATED"] = 0] = "VALIDATED";
ECustomerStatus[ECustomerStatus["PENDING"] = 1] = "PENDING";
ECustomerStatus[ECustomerStatus["ERRONED"] = 2] = "ERRONED";
})(ECustomerStatus = exports.ECustomerStatus || (exports.ECustomerStatus = {}));
var EDocumentStatus;
(function (EDocumentStatus) {
EDocumentStatus[EDocumentStatus["ASKED"] = 0] = "ASKED";
EDocumentStatus[EDocumentStatus["DEPOSITED"] = 1] = "DEPOSITED";
EDocumentStatus[EDocumentStatus["VALIDATED"] = 2] = "VALIDATED";
EDocumentStatus[EDocumentStatus["ANCHORED"] = 3] = "ANCHORED";
EDocumentStatus[EDocumentStatus["REFUSED"] = 4] = "REFUSED";
})(EDocumentStatus = exports.EDocumentStatus || (exports.EDocumentStatus = {}));
//# sourceMappingURL=Enums.js.map //# sourceMappingURL=Enums.js.map

View File

@ -1 +1 @@
{"version":3,"file":"Enums.js","sourceRoot":"","sources":["../../src/Enums/Enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,6CAAM,CAAA;IACN,6CAAM,CAAA;AACR,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iDAAI,CAAA;IACJ,yDAAQ,CAAA;AACV,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,2DAAS,CAAA;IACT,iEAAY,CAAA;AACd,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,6DAAI,CAAA;IACJ,iEAAM,CAAA;AACR,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,+DAAS,CAAA;IACT,2DAAO,CAAA;IACP,2DAAO,CAAA;AACT,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,uDAAK,CAAA;IACL,+DAAS,CAAA;IACT,+DAAS,CAAA;IACT,6DAAQ,CAAA;IACR,2DAAO,CAAA;AACT,CAAC,EANW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM1B"} {"version":3,"file":"Enums.js","sourceRoot":"","sources":["../../src/Enums/Enums.ts"],"names":[],"mappings":""}

12
dist/Interfaces/Admin/IAddress.d.ts vendored Normal file
View File

@ -0,0 +1,12 @@
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 Normal file
View File

@ -0,0 +1,57 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"}

View File

@ -0,0 +1,8 @@
import IDocument from "./IDocument";
export default class IBlockchainAnchor {
uuid: string;
smartSigJobId: string;
created_at: Date | null;
updated_at: Date | null;
documents?: IDocument[];
}

View File

@ -0,0 +1,40 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;+CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAE9B;IAAC,IAAA,wBAAM,GAAE;;qDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;qDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"}

18
dist/Interfaces/Admin/IContact.d.ts vendored Normal file
View File

@ -0,0 +1,18 @@
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 Normal file
View File

@ -0,0 +1,74 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"}

13
dist/Interfaces/Admin/ICustomer.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
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 Normal file
View File

@ -0,0 +1,52 @@
"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

View File

@ -0,0 +1 @@
{"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;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"}

11
dist/Interfaces/Admin/IDeed.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
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 Normal file
View File

@ -0,0 +1,49 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"}

14
dist/Interfaces/Admin/IDeedTypes.d.ts vendored Normal file
View File

@ -0,0 +1,14 @@
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 Normal file
View File

@ -0,0 +1,61 @@
"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

View File

@ -0,0 +1 @@
{"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;AA1BC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAE5B;IAAC,IAAA,wBAAM,GAAE;;+CAC8B;AAEvC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"}

19
dist/Interfaces/Admin/IDocument.d.ts vendored Normal file
View File

@ -0,0 +1,19 @@
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 Normal file
View File

@ -0,0 +1,67 @@
"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

View File

@ -0,0 +1 @@
{"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;AA7BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAE7C;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA7B/C,4BA8BC"}

View File

@ -0,0 +1,10 @@
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;
}

View File

@ -0,0 +1,49 @@
"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

View File

@ -0,0 +1 @@
{"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;AAjBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDAC+B;AAE5C;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"}

View File

@ -0,0 +1,15 @@
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 Normal file
View File

@ -0,0 +1,62 @@
"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

View File

@ -0,0 +1 @@
{"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;AA7BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACoC;AAEjD;IAAC,IAAA,wBAAM,GAAE;;kDAC8B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"}

8
dist/Interfaces/Admin/IFile.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
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 Normal file
View File

@ -0,0 +1,45 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCAC0B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"}

View File

@ -0,0 +1,9 @@
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 Normal file
View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"}

18
dist/Interfaces/Admin/IOffice.d.ts vendored Normal file
View File

@ -0,0 +1,18 @@
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 Normal file
View File

@ -0,0 +1,68 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAhCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAErC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"}

View File

@ -0,0 +1,21 @@
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 Normal file
View File

@ -0,0 +1,79 @@
"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

View File

@ -0,0 +1 @@
{"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;AAtCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;kDAC4B;AAEzC;IAAC,IAAA,4BAAU,GAAE;;2DACqC;AAElD;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;kEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;oEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;yDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"}

14
dist/Interfaces/Admin/IUser.d.ts vendored Normal file
View File

@ -0,0 +1,14 @@
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 Normal file
View File

@ -0,0 +1,58 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAvBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"}

12
dist/Interfaces/Customer/IAddress.d.ts vendored Normal file
View File

@ -0,0 +1,12 @@
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 Normal file
View File

@ -0,0 +1,57 @@
"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

View File

@ -0,0 +1 @@
{"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;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"}

18
dist/Interfaces/Customer/IContact.d.ts vendored Normal file
View File

@ -0,0 +1,18 @@
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 Normal file
View File

@ -0,0 +1,74 @@
"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

View File

@ -0,0 +1 @@
{"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;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"}

13
dist/Interfaces/Customer/ICustomer.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
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 Normal file
View File

@ -0,0 +1,52 @@
"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

View File

@ -0,0 +1 @@
{"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;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"}

11
dist/Interfaces/Customer/IDeed.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
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 Normal file
View File

@ -0,0 +1,49 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"}

View File

@ -0,0 +1,9 @@
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;
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"}

View File

@ -0,0 +1,14 @@
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 Normal file
View File

@ -0,0 +1,61 @@
"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

View File

@ -0,0 +1 @@
{"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;AA1BC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAE5B;IAAC,IAAA,wBAAM,GAAE;;+CAC8B;AAEvC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"}

17
dist/Interfaces/Customer/IDocument.d.ts vendored Normal file
View File

@ -0,0 +1,17 @@
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 Normal file
View File

@ -0,0 +1,62 @@
"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

View File

@ -0,0 +1 @@
{"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;AA1BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA1B/C,4BA2BC"}

View File

@ -0,0 +1,10 @@
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;
}

View File

@ -0,0 +1,49 @@
"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

View File

@ -0,0 +1 @@
{"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;AAjBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDAC+B;AAE5C;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"}

View File

@ -0,0 +1,15 @@
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[];
}

View File

@ -0,0 +1,62 @@
"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

View File

@ -0,0 +1 @@
{"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;AA7BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACoC;AAEjD;IAAC,IAAA,wBAAM,GAAE;;kDAC8B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"}

8
dist/Interfaces/Customer/IFile.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
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 Normal file
View File

@ -0,0 +1,45 @@
"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 Normal file
View File

@ -0,0 +1 @@
{"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;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCAC0B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"}

View File

@ -0,0 +1,9 @@
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[];
}

View File

@ -0,0 +1,45 @@
"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

View File

@ -0,0 +1 @@
{"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;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"}

18
dist/Interfaces/Customer/IOffice.d.ts vendored Normal file
View File

@ -0,0 +1,18 @@
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 Normal file
View File

@ -0,0 +1,68 @@
"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

View File

@ -0,0 +1 @@
{"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;AAhCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAErC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"}

View File

@ -0,0 +1,21 @@
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