diff --git a/dist/AddressesEntity.d.ts b/dist/AddressesEntity.d.ts new file mode 100644 index 0000000..ef2ab2d --- /dev/null +++ b/dist/AddressesEntity.d.ts @@ -0,0 +1,13 @@ +import ContactEntity from "./ContactsEntity"; +import OfficeEntity from "./OfficesEntity"; +export default class AddressesEntity { + uuid: string; + address: string; + city: string; + zip_code: number; + date_requested: Date; + office?: OfficeEntity; + contacts?: ContactEntity; + created_at?: Date; + updated_at?: Date; +} diff --git a/dist/AddressesEntity.js b/dist/AddressesEntity.js new file mode 100644 index 0000000..e56f24a --- /dev/null +++ b/dist/AddressesEntity.js @@ -0,0 +1,44 @@ +"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 AddressesEntity { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], AddressesEntity.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", String) +], AddressesEntity.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", String) +], AddressesEntity.prototype, "city", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", Number) +], AddressesEntity.prototype, "zip_code", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", Date) +], AddressesEntity.prototype, "date_requested", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], AddressesEntity.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], AddressesEntity.prototype, "updated_at", void 0); +exports.default = AddressesEntity; +//# sourceMappingURL=AddressesEntity.js.map \ No newline at end of file diff --git a/dist/AddressesEntity.js.map b/dist/AddressesEntity.js.map new file mode 100644 index 0000000..06c5c14 --- /dev/null +++ b/dist/AddressesEntity.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AddressesEntity.js","sourceRoot":"","sources":["../src/Entity/AddressesEntity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAqD;AAIrD,MAAqB,eAAe;CAyBnC;AAvBA;IADC,IAAA,4BAAU,GAAE;;6CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;gDACX;AAGxB;IADI,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;6CACjB;AAGrB;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;iDACV;AAGzB;IADI,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;8BACd,IAAI;uDAAC;AAO7B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;mDAAC;AAGzB;IADI,IAAA,wBAAM,GAAE;8BACQ,IAAI;mDAAC;AAxB1B,kCAyBC"} \ No newline at end of file diff --git a/dist/ContactsEntity.d.ts b/dist/ContactsEntity.d.ts new file mode 100644 index 0000000..8bbb1d8 --- /dev/null +++ b/dist/ContactsEntity.d.ts @@ -0,0 +1,18 @@ +import ContactEntity from "./ContactsEntity"; +import OfficeEntity from "./OfficesEntity"; +import { ECivility } from "./Enums"; +export default class AddressesEntity { + uuid: string; + first_name: string; + last_name: string; + email: string; + phone_number: Date; + cell_phone_number: Date; + civility: ECivility; + address_uuid: Date; + date_requested: Date; + office?: OfficeEntity; + contacts?: ContactEntity; + created_at?: Date; + updated_at?: Date; +} diff --git a/dist/ContactsEntity.js b/dist/ContactsEntity.js new file mode 100644 index 0000000..847db55 --- /dev/null +++ b/dist/ContactsEntity.js @@ -0,0 +1,53 @@ +"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"); +const Enums_1 = require("./Enums"); +class AddressesEntity { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], AddressesEntity.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", String) +], AddressesEntity.prototype, "first_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", String) +], AddressesEntity.prototype, "last_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", String) +], AddressesEntity.prototype, "email", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", Number) +], AddressesEntity.prototype, "civility", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", Date) +], AddressesEntity.prototype, "address_uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(({ groups: ["create"] })), + __metadata("design:type", Date) +], AddressesEntity.prototype, "date_requested", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], AddressesEntity.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], AddressesEntity.prototype, "updated_at", void 0); +exports.default = AddressesEntity; +//# sourceMappingURL=ContactsEntity.js.map \ No newline at end of file diff --git a/dist/ContactsEntity.js.map b/dist/ContactsEntity.js.map new file mode 100644 index 0000000..4062293 --- /dev/null +++ b/dist/ContactsEntity.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ContactsEntity.js","sourceRoot":"","sources":["../src/Entity/ContactsEntity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAqD;AAGrD,mCAAoC;AAEpC,MAAqB,eAAe;CAmCnC;AAjCA;IADC,IAAA,4BAAU,GAAE;;6CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;mDACR;AAG3B;IADI,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;kDACZ;AAG1B;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;8CACb;AAOtB;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;;iDACP;AAG5B;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;8BACb,IAAI;qDAAC;AAG3B;IADC,IAAA,4BAAU,EAAC,CAAC,EAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAC,CAAC,CAAC;8BACX,IAAI;uDAAC;AAO7B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;mDAAC;AAGzB;IADI,IAAA,wBAAM,GAAE;8BACQ,IAAI;mDAAC;AAlC1B,kCAmCC"} \ No newline at end of file diff --git a/dist/Enums.d.ts b/dist/Enums.d.ts new file mode 100644 index 0000000..4e7036b --- /dev/null +++ b/dist/Enums.d.ts @@ -0,0 +1,29 @@ +export declare enum ECivility { + MALE = 0, + FEMALE = 1, + OTHERS = 2 +} +export declare enum EFolderStatus { + 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 +} diff --git a/dist/Enums.js b/dist/Enums.js new file mode 100644 index 0000000..0790165 --- /dev/null +++ b/dist/Enums.js @@ -0,0 +1,39 @@ +"use strict"; +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 \ No newline at end of file diff --git a/dist/Enums.js.map b/dist/Enums.js.map new file mode 100644 index 0000000..70c0d14 --- /dev/null +++ b/dist/Enums.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Enums.js","sourceRoot":"","sources":["../src/Interfaces/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"} \ No newline at end of file diff --git a/dist/IAddress.d.ts b/dist/IAddress.d.ts new file mode 100644 index 0000000..e328697 --- /dev/null +++ b/dist/IAddress.d.ts @@ -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; + updated_at?: Date; + office?: IOffice; + contacts?: IContact; +} diff --git a/dist/IAddress.js b/dist/IAddress.js new file mode 100644 index 0000000..a52f159 --- /dev/null +++ b/dist/IAddress.js @@ -0,0 +1,53 @@ +"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 { +} +__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", Date) +], IAddress.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IAddress.js.map b/dist/IAddress.js.map new file mode 100644 index 0000000..14a59a8 --- /dev/null +++ b/dist/IAddress.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../src/Interfaces/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;CAwB5B;AAtBC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAGxB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAGxB;IADC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file diff --git a/dist/IBlockchainAnchors.d.ts b/dist/IBlockchainAnchors.d.ts new file mode 100644 index 0000000..834ffb0 --- /dev/null +++ b/dist/IBlockchainAnchors.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IBlockchainAnchor { + uuid: string; + smartSigJobId: string; + created_at?: Date; + updated_at?: Date; + documents?: IDocument[]; +} diff --git a/dist/IBlockchainAnchors.js b/dist/IBlockchainAnchors.js new file mode 100644 index 0000000..a13791d --- /dev/null +++ b/dist/IBlockchainAnchors.js @@ -0,0 +1,36 @@ +"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 { +} +__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", Date) +], IBlockchainAnchor.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IBlockchainAnchors.js.map b/dist/IBlockchainAnchors.js.map new file mode 100644 index 0000000..3f0e8b6 --- /dev/null +++ b/dist/IBlockchainAnchors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IBlockchainAnchors.js","sourceRoot":"","sources":["../src/Interfaces/IBlockchainAnchors.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,iBAAiB;CAerC;AAbC;IADC,IAAA,4BAAU,GAAE;;+CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAG9B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;qDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;qDAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"} \ No newline at end of file diff --git a/dist/IContact.d.ts b/dist/IContact.d.ts new file mode 100644 index 0000000..fad475e --- /dev/null +++ b/dist/IContact.d.ts @@ -0,0 +1,18 @@ +import { ECivility } from "./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: Date; + cell_phone_number: Date; + civility: ECivility; + address: IAddress; + created_at?: Date; + updated_at?: Date; + users?: IUser; + customers?: ICustomer; +} diff --git a/dist/IContact.js b/dist/IContact.js new file mode 100644 index 0000000..042c1b5 --- /dev/null +++ b/dist/IContact.js @@ -0,0 +1,71 @@ +"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 Enums_1 = require("./Enums"); +const IUser_1 = __importDefault(require("./IUser")); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IAddress_1 = __importDefault(require("./IAddress")); +class IContact { +} +__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", Date) +], IContact.prototype, "phone_number", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Date) +], IContact.prototype, "cell_phone_number", void 0); +__decorate([ + (0, class_validator_1.IsEnum)(Enums_1.ECivility), + __metadata("design:type", Number) +], 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", Date) +], IContact.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IContact.js.map b/dist/IContact.js.map new file mode 100644 index 0000000..ae6edd5 --- /dev/null +++ b/dist/IContact.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../src/Interfaces/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,mCAAoC;AACpC,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;CAoC5B;AAlCC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAG3B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAGtB;IADC,IAAA,4BAAU,GAAE;8BACS,IAAI;8CAAC;AAG3B;IADC,IAAA,4BAAU,GAAE;8BACc,IAAI;mDAAC;AAGhC;IADC,IAAA,wBAAM,EAAC,iBAAS,CAAC;;0CACU;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAGrB;IADC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"} \ No newline at end of file diff --git a/dist/ICustomer.d.ts b/dist/ICustomer.d.ts new file mode 100644 index 0000000..0d9784c --- /dev/null +++ b/dist/ICustomer.d.ts @@ -0,0 +1,13 @@ +import IContact from "./IContact"; +import { ECustomerStatus } from "./Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +export default class ICustomer { + uuid: string; + status: ECustomerStatus; + contact: IContact; + created_at?: Date; + updated_at?: Date; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + documents?: IDocument[]; +} diff --git a/dist/ICustomer.js b/dist/ICustomer.js new file mode 100644 index 0000000..bab8863 --- /dev/null +++ b/dist/ICustomer.js @@ -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 IContact_1 = __importDefault(require("./IContact")); +const Enums_1 = require("./Enums"); +class ICustomer { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], ICustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsEnum)(Enums_1.ECustomerStatus), + __metadata("design:type", Number) +], 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", Date) +], ICustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/ICustomer.js.map b/dist/ICustomer.js.map new file mode 100644 index 0000000..b78f7f1 --- /dev/null +++ b/dist/ICustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../src/Interfaces/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0DAAkC;AAClC,mCAA0C;AAI1C,MAAqB,SAAS;CAqB7B;AAnBC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;yCACQ;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;8DAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file diff --git a/dist/IDeed.d.ts b/dist/IDeed.d.ts new file mode 100644 index 0000000..2b8dd88 --- /dev/null +++ b/dist/IDeed.d.ts @@ -0,0 +1,11 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedType"; +export default class IDeed { + uuid: string; + deed_type: IDeedType; + created_at?: Date; + updated_at?: Date; + deed_has_document_types?: IDeedHasDocumentType[]; + office_folder?: IOfficeFolder; +} diff --git a/dist/IDeed.js b/dist/IDeed.js new file mode 100644 index 0000000..e4e76ae --- /dev/null +++ b/dist/IDeed.js @@ -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 IDeedType_1 = __importDefault(require("./IDeedType")); +class IDeed { +} +__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", IDeedType_1.default) +], IDeed.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeed.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IDeed.js.map b/dist/IDeed.js.map new file mode 100644 index 0000000..0a5e1d0 --- /dev/null +++ b/dist/IDeed.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../src/Interfaces/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,4DAAoC;AAEpC,MAAqB,KAAK;CAkBzB;AAhBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;wCAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;sDAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file diff --git a/dist/IDeedHasDocumentType.d.ts b/dist/IDeedHasDocumentType.d.ts new file mode 100644 index 0000000..11163c7 --- /dev/null +++ b/dist/IDeedHasDocumentType.d.ts @@ -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; + updated_at?: Date; +} diff --git a/dist/IDeedHasDocumentType.js b/dist/IDeedHasDocumentType.js new file mode 100644 index 0000000..2d456c5 --- /dev/null +++ b/dist/IDeedHasDocumentType.js @@ -0,0 +1,41 @@ +"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 { +} +__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", Date) +], IDeedHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeedHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedHasDocumentType; +//# sourceMappingURL=IDeedHasDocumentType.js.map \ No newline at end of file diff --git a/dist/IDeedHasDocumentType.js.map b/dist/IDeedHasDocumentType.js.map new file mode 100644 index 0000000..3c49a26 --- /dev/null +++ b/dist/IDeedHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../src/Interfaces/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;CAexC;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAd3B,uCAeC"} \ No newline at end of file diff --git a/dist/IDeedType.d.ts b/dist/IDeedType.d.ts new file mode 100644 index 0000000..37f2405 --- /dev/null +++ b/dist/IDeedType.d.ts @@ -0,0 +1,14 @@ +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; +export default class IDeedType { + uuid: string; + name: string; + description: string; + archived_at: Date; + office: IOffice; + created_at?: Date; + updated_at?: Date; + deed?: IDeed[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/IDeedType.js b/dist/IDeedType.js new file mode 100644 index 0000000..efec727 --- /dev/null +++ b/dist/IDeedType.js @@ -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 IOffice_1 = __importDefault(require("./IOffice")); +class IDeedType { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedType.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedType.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeedType.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IDeedType.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeedType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeedType.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedType.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedType.prototype, "deed_type_has_document_types", void 0); +exports.default = IDeedType; +//# sourceMappingURL=IDeedType.js.map \ No newline at end of file diff --git a/dist/IDeedType.js.map b/dist/IDeedType.js.map new file mode 100644 index 0000000..e52ac4b --- /dev/null +++ b/dist/IDeedType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedType.js","sourceRoot":"","sources":["../src/Interfaces/IDeedType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,SAAS;CA4B7B;AA1BC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACP;AAI5B;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,GAAE;8BACY,IAAI;8CAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;yCAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;uCACS;AAGtB;IADC,IAAA,4BAAU,GAAE;;+DACoD;AA3BnE,4BA4BC"} \ No newline at end of file diff --git a/dist/IDeedTypeHasDocumentType.d.ts b/dist/IDeedTypeHasDocumentType.d.ts new file mode 100644 index 0000000..7a06d7f --- /dev/null +++ b/dist/IDeedTypeHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeedType from "./IDeedType"; +import IDocumentType from "./IDocumentType"; +export default class IDeedTypeHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed_type: IDeedType; + created_at?: Date; + updated_at?: Date; +} diff --git a/dist/IDeedTypeHasDocumentType.js b/dist/IDeedTypeHasDocumentType.js new file mode 100644 index 0000000..0431b9c --- /dev/null +++ b/dist/IDeedTypeHasDocumentType.js @@ -0,0 +1,41 @@ +"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 IDeedType_1 = __importDefault(require("./IDeedType")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedTypeHasDocumentType { +} +__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", IDeedType_1.default) +], IDeedTypeHasDocumentType.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeedTypeHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDeedTypeHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedTypeHasDocumentType; +//# sourceMappingURL=IDeedTypeHasDocumentType.js.map \ No newline at end of file diff --git a/dist/IDeedTypeHasDocumentType.js.map b/dist/IDeedTypeHasDocumentType.js.map new file mode 100644 index 0000000..c72de8a --- /dev/null +++ b/dist/IDeedTypeHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../src/Interfaces/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;CAe5C;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;2DAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAd3B,2CAeC"} \ No newline at end of file diff --git a/dist/IDocument.d.ts b/dist/IDocument.d.ts new file mode 100644 index 0000000..3048b19 --- /dev/null +++ b/dist/IDocument.d.ts @@ -0,0 +1,19 @@ +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "./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; + updated_at?: Date; + files?: IFile[]; + document_history?: IDocumentHistory[]; +} diff --git a/dist/IDocument.js b/dist/IDocument.js new file mode 100644 index 0000000..b86d402 --- /dev/null +++ b/dist/IDocument.js @@ -0,0 +1,65 @@ +"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 Enums_1 = require("./Enums"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +const IBlockchainAnchors_1 = __importDefault(require("./IBlockchainAnchors")); +class IDocument { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocument.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsEnum)(Enums_1.EDocumentStatus), + __metadata("design:type", Number) +], 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", Date) +], IDocument.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IDocument.js.map b/dist/IDocument.js.map new file mode 100644 index 0000000..9013108 --- /dev/null +++ b/dist/IDocument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../src/Interfaces/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,4DAAoC;AACpC,mCAA0C;AAC1C,oEAA4C;AAC5C,oEAA4C;AAC5C,8EAAqD;AAIrD,MAAqB,SAAS;CA+B7B;AA7BC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAIrB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;kDACiB;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAGrC;IADC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAG7C;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;wCACU;AAGvB;IADC,IAAA,4BAAU,GAAE;;mDACgC;AA9B/C,4BA+BC"} \ No newline at end of file diff --git a/dist/IDocumentHistory.d.ts b/dist/IDocumentHistory.d.ts new file mode 100644 index 0000000..ed2d5ae --- /dev/null +++ b/dist/IDocumentHistory.d.ts @@ -0,0 +1,10 @@ +import { EDocumentStatus } from "./Enums"; +import IDocument from "./IDocument"; +export default class IDocumentHistory { + uuid: string; + document_status: EDocumentStatus; + document: IDocument; + refused_reason?: string; + created_at?: Date; + updated_at?: Date; +} diff --git a/dist/IDocumentHistory.js b/dist/IDocumentHistory.js new file mode 100644 index 0000000..f013557 --- /dev/null +++ b/dist/IDocumentHistory.js @@ -0,0 +1,46 @@ +"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 Enums_1 = require("./Enums"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IDocumentHistory { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentHistory.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsEnum)(Enums_1.EDocumentStatus), + __metadata("design:type", Number) +], 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", String) +], IDocumentHistory.prototype, "refused_reason", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDocumentHistory.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDocumentHistory.prototype, "updated_at", void 0); +exports.default = IDocumentHistory; +//# sourceMappingURL=IDocumentHistory.js.map \ No newline at end of file diff --git a/dist/IDocumentHistory.js.map b/dist/IDocumentHistory.js.map new file mode 100644 index 0000000..42b4a53 --- /dev/null +++ b/dist/IDocumentHistory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../src/Interfaces/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,mCAA0C;AAC1C,4DAAoC;AAEpC,MAAqB,gBAAgB;CAmBpC;AAjBC;IADC,IAAA,4BAAU,GAAE;;8CACQ;AAIrB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;yDACiB;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wDACkB;AAG/B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;oDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;oDAAC;AAlB3B,mCAmBC"} \ No newline at end of file diff --git a/dist/IDocumentType.d.ts b/dist/IDocumentType.d.ts new file mode 100644 index 0000000..1d28caa --- /dev/null +++ b/dist/IDocumentType.d.ts @@ -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; + archived_at?: Date; + created_at?: Date; + updated_at?: Date; + documents?: IDocument[]; + deed_has_document_types?: IDeedHasDocumentType[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/IDocumentType.js b/dist/IDocumentType.js new file mode 100644 index 0000000..7acefea --- /dev/null +++ b/dist/IDocumentType.js @@ -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); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IDocumentType { +} +__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", String) +], IDocumentType.prototype, "private_description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDocumentType.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IDocumentType.js.map b/dist/IDocumentType.js.map new file mode 100644 index 0000000..8186ef0 --- /dev/null +++ b/dist/IDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../src/Interfaces/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;CA+BjC;AA7BC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAGnC;IADC,IAAA,4BAAU,GAAE;;0DACuB;AAIpC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACY,IAAI;kDAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;gDACkB;AAG/B;IADC,IAAA,4BAAU,GAAE;;8DAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;;mEACoD;AA9BnE,gCA+BC"} \ No newline at end of file diff --git a/dist/IFile.d.ts b/dist/IFile.d.ts new file mode 100644 index 0000000..ec1c3f8 --- /dev/null +++ b/dist/IFile.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IFile { + uuid: string; + document: IDocument; + file_path?: string; + created_at?: Date; + updated_at?: Date; +} diff --git a/dist/IFile.js b/dist/IFile.js new file mode 100644 index 0000000..5958227 --- /dev/null +++ b/dist/IFile.js @@ -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); +}; +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 { +} +__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", String) +], IFile.prototype, "file_path", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IFile.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IFile.prototype, "updated_at", void 0); +exports.default = IFile; +//# sourceMappingURL=IFile.js.map \ No newline at end of file diff --git a/dist/IFile.js.map b/dist/IFile.js.map new file mode 100644 index 0000000..685aa5d --- /dev/null +++ b/dist/IFile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../src/Interfaces/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;CAezB;AAbC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wCACa;AAG1B;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAd3B,wBAeC"} \ No newline at end of file diff --git a/dist/INotification.d.ts b/dist/INotification.d.ts new file mode 100644 index 0000000..a5fc023 --- /dev/null +++ b/dist/INotification.d.ts @@ -0,0 +1,9 @@ +import IUserHasNotification from "./IUserHasNotification"; +export default class INotification { + uuid: string; + message: string; + redirection_url: string; + created_at?: Date; + updated_at?: Date; + user_has_notifications?: IUserHasNotification[]; +} diff --git a/dist/INotification.js b/dist/INotification.js new file mode 100644 index 0000000..529834b --- /dev/null +++ b/dist/INotification.js @@ -0,0 +1,41 @@ +"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 { +} +__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", Date) +], INotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/INotification.js.map b/dist/INotification.js.map new file mode 100644 index 0000000..ad05a4b --- /dev/null +++ b/dist/INotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../src/Interfaces/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;CAmBjC;AAjBC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAIxB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAGhC;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file diff --git a/dist/IOffice.d.ts b/dist/IOffice.d.ts new file mode 100644 index 0000000..587cfae --- /dev/null +++ b/dist/IOffice.d.ts @@ -0,0 +1,18 @@ +import IAddress from "./IAddress"; +import { EOfficeStatus } from "./Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedType"; +export default class IOffice { + uuid: string; + idNot: string; + name: string; + crpcen: string; + address: IAddress; + office_status: EOfficeStatus; + created_at?: Date; + updated_at?: Date; + deed_types?: IDeedType[]; + users?: IUser[]; + office_folders?: IOfficeFolder[]; +} diff --git a/dist/IOffice.js b/dist/IOffice.js new file mode 100644 index 0000000..c5a79c8 --- /dev/null +++ b/dist/IOffice.js @@ -0,0 +1,66 @@ +"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")); +const Enums_1 = require("./Enums"); +class IOffice { +} +__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"] }), + (0, class_validator_1.IsEnum)(Enums_1.EOfficeStatus), + __metadata("design:type", Number) +], IOffice.prototype, "office_status", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IOffice.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IOffice.js.map b/dist/IOffice.js.map new file mode 100644 index 0000000..09b4530 --- /dev/null +++ b/dist/IOffice.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../src/Interfaces/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0DAAkC;AAClC,mCAAwC;AAKxC,MAAqB,OAAO;CAkC3B;AAhCC;IADC,IAAA,4BAAU,GAAE;;qCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAGvB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAI1B;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;8CACe;AAGrC;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;2CAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;2CAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;2CACY;AAGzB;IADC,IAAA,4BAAU,GAAE;;sCACG;AAGhB;IADC,IAAA,4BAAU,GAAE;;+CACoB;AAjCnC,0BAkCC"} \ No newline at end of file diff --git a/dist/IOfficeFolder.d.ts b/dist/IOfficeFolder.d.ts new file mode 100644 index 0000000..0211ec9 --- /dev/null +++ b/dist/IOfficeFolder.d.ts @@ -0,0 +1,21 @@ +import { EFolderStatus } from "./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; + archived_description?: string; + status: EFolderStatus; + deed: IDeed; + office: IOffice; + created_at?: Date; + updated_at?: Date; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + documents?: IDocument[]; +} diff --git a/dist/IOfficeFolder.js b/dist/IOfficeFolder.js new file mode 100644 index 0000000..def24f9 --- /dev/null +++ b/dist/IOfficeFolder.js @@ -0,0 +1,75 @@ +"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 Enums_1 = require("./Enums"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IOfficeFolder { +} +__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", String) +], IOfficeFolder.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IOfficeFolder.prototype, "archived_description", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsEnum)(Enums_1.EFolderStatus), + __metadata("design:type", Number) +], 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", Date) +], IOfficeFolder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IOfficeFolder.js.map b/dist/IOfficeFolder.js.map new file mode 100644 index 0000000..1b219ce --- /dev/null +++ b/dist/IOfficeFolder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../src/Interfaces/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,mCAAwC;AACxC,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;CAwCjC;AAtCC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,GAAE;;kDACe;AAG5B;IADC,IAAA,4BAAU,GAAE;;2DACwB;AAIrC;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;6CACQ;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;kEAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;oEACiD;AAG9D;IADC,IAAA,4BAAU,GAAE;;gDACW;AAvC1B,gCAwCC"} \ No newline at end of file diff --git a/dist/IOfficeFolderHasCustomer.d.ts b/dist/IOfficeFolderHasCustomer.d.ts new file mode 100644 index 0000000..0bf28ee --- /dev/null +++ b/dist/IOfficeFolderHasCustomer.d.ts @@ -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; + updated_at?: Date; +} diff --git a/dist/IOfficeFolderHasCustomer.js b/dist/IOfficeFolderHasCustomer.js new file mode 100644 index 0000000..81c66bc --- /dev/null +++ b/dist/IOfficeFolderHasCustomer.js @@ -0,0 +1,41 @@ +"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 { +} +__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", Date) +], IOfficeFolderHasCustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IOfficeFolderHasCustomer.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasCustomer; +//# sourceMappingURL=IOfficeFolderHasCustomer.js.map \ No newline at end of file diff --git a/dist/IOfficeFolderHasCustomer.js.map b/dist/IOfficeFolderHasCustomer.js.map new file mode 100644 index 0000000..415181f --- /dev/null +++ b/dist/IOfficeFolderHasCustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../src/Interfaces/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;CAe5C;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAd3B,2CAeC"} \ No newline at end of file diff --git a/dist/IOfficeFolderHasStakeholder.d.ts b/dist/IOfficeFolderHasStakeholder.d.ts new file mode 100644 index 0000000..acff29a --- /dev/null +++ b/dist/IOfficeFolderHasStakeholder.d.ts @@ -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; + updated_at?: Date; +} diff --git a/dist/IOfficeFolderHasStakeholder.js b/dist/IOfficeFolderHasStakeholder.js new file mode 100644 index 0000000..2a9534c --- /dev/null +++ b/dist/IOfficeFolderHasStakeholder.js @@ -0,0 +1,41 @@ +"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 { +} +__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", Date) +], IOfficeFolderHasStakeholder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasStakeholder; +//# sourceMappingURL=IOfficeFolderHasStakeholder.js.map \ No newline at end of file diff --git a/dist/IOfficeFolderHasStakeholder.js.map b/dist/IOfficeFolderHasStakeholder.js.map new file mode 100644 index 0000000..710fd27 --- /dev/null +++ b/dist/IOfficeFolderHasStakeholder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../src/Interfaces/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;CAe/C;AAbC;IADC,IAAA,4BAAU,GAAE;;yDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;+DAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;+DAAC;AAd3B,8CAeC"} \ No newline at end of file diff --git a/dist/IUser.d.ts b/dist/IUser.d.ts new file mode 100644 index 0000000..99c38f2 --- /dev/null +++ b/dist/IUser.d.ts @@ -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; + updated_at?: Date; + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + documents?: IDocument; +} diff --git a/dist/IUser.js b/dist/IUser.js new file mode 100644 index 0000000..bef5a60 --- /dev/null +++ b/dist/IUser.js @@ -0,0 +1,54 @@ +"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 { +} +__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", Date) +], IUser.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], 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 \ No newline at end of file diff --git a/dist/IUser.js.map b/dist/IUser.js.map new file mode 100644 index 0000000..b8f3483 --- /dev/null +++ b/dist/IUser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../src/Interfaces/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;CAwBzB;AAtBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAGzC;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAGzB;IADC,IAAA,4BAAU,GAAE;;6DACkD;AAG/D;IADC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file diff --git a/dist/IUserHasNotification.d.ts b/dist/IUserHasNotification.d.ts new file mode 100644 index 0000000..9c4189b --- /dev/null +++ b/dist/IUserHasNotification.d.ts @@ -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; + updated_at?: Date; +} diff --git a/dist/IUserHasNotification.js b/dist/IUserHasNotification.js new file mode 100644 index 0000000..6f41512 --- /dev/null +++ b/dist/IUserHasNotification.js @@ -0,0 +1,41 @@ +"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 { +} +__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", Date) +], IUserHasNotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Date) +], IUserHasNotification.prototype, "updated_at", void 0); +exports.default = IUserHasNotification; +//# sourceMappingURL=IUserHasNotification.js.map \ No newline at end of file diff --git a/dist/IUserHasNotification.js.map b/dist/IUserHasNotification.js.map new file mode 100644 index 0000000..c33ece4 --- /dev/null +++ b/dist/IUserHasNotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../src/Interfaces/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;CAexC;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAGpC;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAGzB;IADC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAd3B,uCAeC"} \ No newline at end of file