diff --git a/dist/Interfaces/Admin/Address.d.ts b/dist/Interfaces/Admin/Address.d.ts index f880ffd..01e7ace 100644 --- a/dist/Interfaces/Admin/Address.d.ts +++ b/dist/Interfaces/Admin/Address.d.ts @@ -1,5 +1,5 @@ -import { AddressNotary } from "../.."; +import { AddressClient } from "../.."; export declare namespace Address { - class IAddress extends AddressNotary.IAddress { + class IAddress extends AddressClient.IAddress { } } diff --git a/dist/Interfaces/Admin/Address.js b/dist/Interfaces/Admin/Address.js index 8e19e77..bcd78b1 100644 --- a/dist/Interfaces/Admin/Address.js +++ b/dist/Interfaces/Admin/Address.js @@ -4,7 +4,7 @@ exports.Address = void 0; const __1 = require("../.."); var Address; (function (Address) { - class IAddress extends __1.AddressNotary.IAddress { + class IAddress extends __1.AddressClient.IAddress { } Address.IAddress = IAddress; })(Address = exports.Address || (exports.Address = {})); diff --git a/dist/Interfaces/Admin/Contact.d.ts b/dist/Interfaces/Admin/Contact.d.ts index bb0b761..186032b 100644 --- a/dist/Interfaces/Admin/Contact.d.ts +++ b/dist/Interfaces/Admin/Contact.d.ts @@ -1,20 +1,5 @@ -import { Address } from "./Address"; -import { Customer } from "./Customer"; -import { User } from "./User"; -import { ContactNotary } from "../.."; +import { ContactClient } from "../.."; export declare namespace Contact { - class IContact { - uuid: string; - first_name: string; - last_name: string; - email: string; - phone_number: string; - cell_phone_number: string; - civility: ContactNotary.ECivility; - address: Address.IAddress; - created_at: Date | null; - updated_at: Date | null; - users?: User.IUser; - customers?: Customer.ICustomer; + class IContact extends ContactClient.IContact { } } diff --git a/dist/Interfaces/Admin/Contact.js b/dist/Interfaces/Admin/Contact.js index baa8d95..214b5da 100644 --- a/dist/Interfaces/Admin/Contact.js +++ b/dist/Interfaces/Admin/Contact.js @@ -1,75 +1,10 @@ "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 }); exports.Contact = void 0; -const class_validator_1 = require("class-validator"); -const Address_1 = require("./Address"); -const Customer_1 = require("./Customer"); -const User_1 = require("./User"); const __1 = require("../.."); var Contact; (function (Contact) { - class IContact { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IContact extends __1.ContactClient.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", 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", Address_1.Address.IAddress) - ], 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", User_1.User.IUser) - ], IContact.prototype, "users", void 0); - __decorate([ - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Customer_1.Customer.ICustomer) - ], IContact.prototype, "customers", void 0); Contact.IContact = IContact; })(Contact = exports.Contact || (exports.Contact = {})); diff --git a/dist/Interfaces/Admin/Customer.d.ts b/dist/Interfaces/Admin/Customer.d.ts index 40ea77f..937b87f 100644 --- a/dist/Interfaces/Admin/Customer.d.ts +++ b/dist/Interfaces/Admin/Customer.d.ts @@ -1,15 +1,5 @@ -import { Contact } from "./Contact"; -import { Document } from "./Document"; -import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; -import { CustomerNotary } from "../.."; +import { CustomerClient } from "../.."; export declare namespace Customer { - class ICustomer { - uuid: string; - status: CustomerNotary.ECustomerStatus; - contact: Contact.IContact; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; - documents?: Document.IDocument[]; + class ICustomer extends CustomerClient.ICustomer { } } diff --git a/dist/Interfaces/Admin/Customer.js b/dist/Interfaces/Admin/Customer.js index 95f4c7e..437007d 100644 --- a/dist/Interfaces/Admin/Customer.js +++ b/dist/Interfaces/Admin/Customer.js @@ -1,53 +1,10 @@ "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 }); exports.Customer = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); const __1 = require("../.."); var Customer; (function (Customer) { - class ICustomer { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class ICustomer extends __1.CustomerClient.ICustomer { } - __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", Contact_1.Contact.IContact) - ], 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); Customer.ICustomer = ICustomer; })(Customer = exports.Customer || (exports.Customer = {})); diff --git a/dist/Interfaces/Admin/Deed.d.ts b/dist/Interfaces/Admin/Deed.d.ts index 4829454..11c085c 100644 --- a/dist/Interfaces/Admin/Deed.d.ts +++ b/dist/Interfaces/Admin/Deed.d.ts @@ -1,13 +1,5 @@ -import { DeedType } from "./DeedType"; -import { DeedHasDocumentType } from "./DeedHasDocumentType"; -import { OfficeFolder } from "./OfficeFolder"; +import { DeedClient } from "../.."; export declare namespace Deed { - class IDeed { - uuid: string; - deed_type: DeedType.IDeedType; - created_at: Date | null; - updated_at: Date | null; - deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[]; - office_folder?: OfficeFolder.IOfficeFolder; + class IDeed extends DeedClient.IDeed { } } diff --git a/dist/Interfaces/Admin/Deed.js b/dist/Interfaces/Admin/Deed.js index 4e98005..288a314 100644 --- a/dist/Interfaces/Admin/Deed.js +++ b/dist/Interfaces/Admin/Deed.js @@ -1,49 +1,10 @@ "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 }); exports.Deed = void 0; -const class_validator_1 = require("class-validator"); -const DeedType_1 = require("./DeedType"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var Deed; (function (Deed) { - class IDeed { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeed extends __1.DeedClient.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", DeedType_1.DeedType.IDeedType) - ], 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", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], IDeed.prototype, "office_folder", void 0); Deed.IDeed = IDeed; })(Deed = exports.Deed || (exports.Deed = {})); diff --git a/dist/Interfaces/Admin/DeedHasDocumentType.d.ts b/dist/Interfaces/Admin/DeedHasDocumentType.d.ts index b735b3d..a504480 100644 --- a/dist/Interfaces/Admin/DeedHasDocumentType.d.ts +++ b/dist/Interfaces/Admin/DeedHasDocumentType.d.ts @@ -1,11 +1,5 @@ -import { Deed } from "./Deed"; -import { DocumentType } from "./DocumentType"; +import { DeedHasDocumentTypeClient } from "../.."; export declare namespace DeedHasDocumentType { - class IDeedHasDocumentType { - uuid: string; - document_type: DocumentType.IDocumentType; - deed: Deed.IDeed; - created_at: Date | null; - updated_at: Date | null; + class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType { } } diff --git a/dist/Interfaces/Admin/DeedHasDocumentType.js b/dist/Interfaces/Admin/DeedHasDocumentType.js index eaa41d6..532e790 100644 --- a/dist/Interfaces/Admin/DeedHasDocumentType.js +++ b/dist/Interfaces/Admin/DeedHasDocumentType.js @@ -1,45 +1,10 @@ "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 }); exports.DeedHasDocumentType = void 0; -const class_validator_1 = require("class-validator"); -const Deed_1 = require("./Deed"); -const DocumentType_1 = require("./DocumentType"); +const __1 = require("../.."); var DeedHasDocumentType; (function (DeedHasDocumentType) { - class IDeedHasDocumentType { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.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", DocumentType_1.DocumentType.IDocumentType) - ], IDeedHasDocumentType.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Deed_1.Deed.IDeed) - ], 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); DeedHasDocumentType.IDeedHasDocumentType = IDeedHasDocumentType; })(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {})); diff --git a/dist/Interfaces/Admin/DeedType.d.ts b/dist/Interfaces/Admin/DeedType.d.ts index e06b132..b4b4adb 100644 --- a/dist/Interfaces/Admin/DeedType.d.ts +++ b/dist/Interfaces/Admin/DeedType.d.ts @@ -1,16 +1,5 @@ -import { Deed } from "./Deed"; -import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType"; -import { Office } from "./Office"; +import { DeedTypeClient } from "../.."; export declare namespace DeedType { - class IDeedType { - uuid: string; - name: string; - description: string; - archived_at: Date | null; - office: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - deed?: Deed.IDeed[]; - deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[]; + class IDeedType extends DeedTypeClient.IDeedType { } } diff --git a/dist/Interfaces/Admin/DeedType.js b/dist/Interfaces/Admin/DeedType.js index 4a6d74c..87546c1 100644 --- a/dist/Interfaces/Admin/DeedType.js +++ b/dist/Interfaces/Admin/DeedType.js @@ -1,61 +1,10 @@ "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 }); exports.DeedType = void 0; -const class_validator_1 = require("class-validator"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var DeedType; (function (DeedType) { - class IDeedType { - constructor() { - this.archived_at = null; - this.created_at = null; - this.updated_at = null; - } + class IDeedType extends __1.DeedTypeClient.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.IsDate)(), - __metadata("design:type", Object) - ], IDeedType.prototype, "archived_at", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], IDeedType.prototype, "office", void 0); - __decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) - ], IDeedType.prototype, "created_at", void 0); - __decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) - ], 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); DeedType.IDeedType = IDeedType; })(DeedType = exports.DeedType || (exports.DeedType = {})); diff --git a/dist/Interfaces/Admin/DeedTypeHasDocumentType.d.ts b/dist/Interfaces/Admin/DeedTypeHasDocumentType.d.ts index df6b74d..3df9bce 100644 --- a/dist/Interfaces/Admin/DeedTypeHasDocumentType.d.ts +++ b/dist/Interfaces/Admin/DeedTypeHasDocumentType.d.ts @@ -1,11 +1,5 @@ -import { DeedType } from "./DeedType"; -import { DocumentType } from "./DocumentType"; +import { DeedTypeHasDocumentTypeClient } from "../.."; export declare namespace DeedTypeHasDocumentType { - class IDeedTypeHasDocumentType { - uuid: string; - document_type: DocumentType.IDocumentType; - deed_type: DeedType.IDeedType; - created_at: Date | null; - updated_at: Date | null; + class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType { } } diff --git a/dist/Interfaces/Admin/DeedTypeHasDocumentType.js b/dist/Interfaces/Admin/DeedTypeHasDocumentType.js index d29810f..6a6807d 100644 --- a/dist/Interfaces/Admin/DeedTypeHasDocumentType.js +++ b/dist/Interfaces/Admin/DeedTypeHasDocumentType.js @@ -1,45 +1,10 @@ "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 }); exports.DeedTypeHasDocumentType = void 0; -const class_validator_1 = require("class-validator"); -const DeedType_1 = require("./DeedType"); -const DocumentType_1 = require("./DocumentType"); +const __1 = require("../.."); var DeedTypeHasDocumentType; (function (DeedTypeHasDocumentType) { - class IDeedTypeHasDocumentType { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.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", DocumentType_1.DocumentType.IDocumentType) - ], IDeedTypeHasDocumentType.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", DeedType_1.DeedType.IDeedType) - ], 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); DeedTypeHasDocumentType.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType; })(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {})); diff --git a/dist/Interfaces/Admin/Document.d.ts b/dist/Interfaces/Admin/Document.d.ts index 09070d6..e88b12d 100644 --- a/dist/Interfaces/Admin/Document.d.ts +++ b/dist/Interfaces/Admin/Document.d.ts @@ -1,19 +1,5 @@ -import { Customer } from "./Customer"; -import { DocumentHistory } from "./DocumentHistory"; -import { DocumentType } from "./DocumentType"; -import { File } from "./File"; -import { OfficeFolder } from "./OfficeFolder"; -import { DocumentNotary } from "../.."; +import { DocumentClient } from "../.."; export declare namespace Document { - class IDocument { - uuid: string; - document_status: DocumentNotary.EDocumentStatus; - document_type: DocumentType.IDocumentType; - folder: OfficeFolder.IOfficeFolder; - depositor: Customer.ICustomer; - created_at: Date | null; - updated_at: Date | null; - files?: File.IFile[]; - document_history?: DocumentHistory.IDocumentHistory[]; + class IDocument extends DocumentClient.IDocument { } } diff --git a/dist/Interfaces/Admin/Document.js b/dist/Interfaces/Admin/Document.js index f8b0695..354ef3f 100644 --- a/dist/Interfaces/Admin/Document.js +++ b/dist/Interfaces/Admin/Document.js @@ -1,63 +1,10 @@ "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 }); exports.Document = void 0; -const class_validator_1 = require("class-validator"); -const Customer_1 = require("./Customer"); -const DocumentType_1 = require("./DocumentType"); -const OfficeFolder_1 = require("./OfficeFolder"); const __1 = require("../.."); var Document; (function (Document) { - class IDocument { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDocument extends __1.DocumentClient.IDocument { } - __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", DocumentType_1.DocumentType.IDocumentType) - ], IDocument.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], IDocument.prototype, "folder", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Customer_1.Customer.ICustomer) - ], 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); Document.IDocument = IDocument; })(Document = exports.Document || (exports.Document = {})); diff --git a/dist/Interfaces/Admin/DocumentHistory.d.ts b/dist/Interfaces/Admin/DocumentHistory.d.ts index a8d4a64..bd66cd6 100644 --- a/dist/Interfaces/Admin/DocumentHistory.d.ts +++ b/dist/Interfaces/Admin/DocumentHistory.d.ts @@ -1,11 +1,5 @@ -import { Document } from "../Notary/Document"; +import { DocumentHistoryClient } from "../.."; export declare namespace DocumentHistory { - class IDocumentHistory { - uuid: string; - document_status: Document.EDocumentStatus; - document: Document.IDocument; - refused_reason: string | null; - created_at: Date | null; - updated_at: Date | null; + class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory { } } diff --git a/dist/Interfaces/Admin/DocumentHistory.js b/dist/Interfaces/Admin/DocumentHistory.js index 4962eee..04dad08 100644 --- a/dist/Interfaces/Admin/DocumentHistory.js +++ b/dist/Interfaces/Admin/DocumentHistory.js @@ -1,49 +1,10 @@ "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 }); exports.DocumentHistory = void 0; -const class_validator_1 = require("class-validator"); -const Document_1 = require("../Notary/Document"); +const __1 = require("../.."); var DocumentHistory; (function (DocumentHistory) { - class IDocumentHistory { - constructor() { - this.refused_reason = null; - this.created_at = null; - this.updated_at = null; - } + class IDocumentHistory extends __1.DocumentHistoryClient.IDocumentHistory { } - __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", Document_1.Document.IDocument) - ], 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); DocumentHistory.IDocumentHistory = IDocumentHistory; })(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {})); diff --git a/dist/Interfaces/Admin/DocumentType.d.ts b/dist/Interfaces/Admin/DocumentType.d.ts index 941c152..b176a5e 100644 --- a/dist/Interfaces/Admin/DocumentType.d.ts +++ b/dist/Interfaces/Admin/DocumentType.d.ts @@ -1,17 +1,5 @@ -import { DeedHasDocumentType } from "./DeedHasDocumentType"; -import { Document } from "./Document"; -import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType"; +import { DocumentTypeClient } from "../.."; export declare namespace DocumentType { - 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?: Document.IDocument[]; - deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[]; - deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[]; + class IDocumentType extends DocumentTypeClient.IDocumentType { } } diff --git a/dist/Interfaces/Admin/DocumentType.js b/dist/Interfaces/Admin/DocumentType.js index a9a24d2..7909403 100644 --- a/dist/Interfaces/Admin/DocumentType.js +++ b/dist/Interfaces/Admin/DocumentType.js @@ -1,65 +1,10 @@ "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 }); exports.DocumentType = void 0; -const class_validator_1 = require("class-validator"); +const __1 = require("../.."); var DocumentType; (function (DocumentType) { - class IDocumentType { - constructor() { - this.private_description = null; - this.archived_at = null; - this.created_at = null; - this.updated_at = null; - } + class IDocumentType extends __1.DocumentTypeClient.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", 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); DocumentType.IDocumentType = IDocumentType; })(DocumentType = exports.DocumentType || (exports.DocumentType = {})); diff --git a/dist/Interfaces/Admin/File.d.ts b/dist/Interfaces/Admin/File.d.ts index a8cd4a9..f7d0a90 100644 --- a/dist/Interfaces/Admin/File.d.ts +++ b/dist/Interfaces/Admin/File.d.ts @@ -1,10 +1,5 @@ -import { Document } from "./Document"; +import { FileClient } from "../.."; export declare namespace File { - class IFile { - uuid: string; - document: Document.IDocument; - file_path: string | null; - created_at: Date | null; - updated_at: Date | null; + class IFile extends FileClient.IFile { } } diff --git a/dist/Interfaces/Admin/File.js b/dist/Interfaces/Admin/File.js index 492a936..f128c37 100644 --- a/dist/Interfaces/Admin/File.js +++ b/dist/Interfaces/Admin/File.js @@ -1,45 +1,10 @@ "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 }); exports.File = void 0; -const class_validator_1 = require("class-validator"); -const Document_1 = require("./Document"); +const __1 = require("../.."); var File; (function (File) { - class IFile { - constructor() { - this.file_path = null; - this.created_at = null; - this.updated_at = null; - } + class IFile extends __1.FileClient.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", Document_1.Document.IDocument) - ], 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); File.IFile = IFile; })(File = exports.File || (exports.File = {})); diff --git a/dist/Interfaces/Admin/Notification.d.ts b/dist/Interfaces/Admin/Notification.d.ts index b15e627..e4b065e 100644 --- a/dist/Interfaces/Admin/Notification.d.ts +++ b/dist/Interfaces/Admin/Notification.d.ts @@ -1,11 +1,5 @@ -import { UserHasNotification } from "./UserHasNotification"; +import { NotificationClient } from "../.."; export declare namespace Notification { - class INotification { - uuid: string; - message: string; - redirection_url: string; - created_at: Date | null; - updated_at: Date | null; - user_has_notifications?: UserHasNotification.IUserHasNotification[]; + class INotification extends NotificationClient.INotification { } } diff --git a/dist/Interfaces/Admin/Notification.js b/dist/Interfaces/Admin/Notification.js index 7985faf..d6294e6 100644 --- a/dist/Interfaces/Admin/Notification.js +++ b/dist/Interfaces/Admin/Notification.js @@ -1,48 +1,10 @@ "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 }); exports.Notification = void 0; -const class_validator_1 = require("class-validator"); +const __1 = require("../.."); var Notification; (function (Notification) { - class INotification { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class INotification extends __1.NotificationClient.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", 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); Notification.INotification = INotification; })(Notification = exports.Notification || (exports.Notification = {})); diff --git a/dist/Interfaces/Admin/Office.d.ts b/dist/Interfaces/Admin/Office.d.ts index 44d2d90..dc69382 100644 --- a/dist/Interfaces/Admin/Office.d.ts +++ b/dist/Interfaces/Admin/Office.d.ts @@ -1,20 +1,5 @@ -import { Address } from "./Address"; -import { DeedType } from "./DeedType"; -import { OfficeFolder } from "./OfficeFolder"; -import { User } from "./User"; -import { OfficeNotary } from "../.."; +import { OfficeClient } from "../.."; export declare namespace Office { - class IOffice { - uuid: string; - idNot: string; - name: string; - crpcen: string; - address: Address.IAddress; - office_status: OfficeNotary.EOfficeStatus; - created_at: Date | null; - updated_at: Date | null; - deed_types?: DeedType.IDeedType[]; - users?: User.IUser[]; - office_folders?: OfficeFolder.IOfficeFolder[]; + class IOffice extends OfficeClient.IOffice { } } diff --git a/dist/Interfaces/Admin/Office.js b/dist/Interfaces/Admin/Office.js index 5a55de5..e3b0233 100644 --- a/dist/Interfaces/Admin/Office.js +++ b/dist/Interfaces/Admin/Office.js @@ -1,69 +1,10 @@ "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 }); exports.Office = void 0; -const class_validator_1 = require("class-validator"); -const Address_1 = require("./Address"); const __1 = require("../.."); var Office; (function (Office) { - class IOffice { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOffice extends __1.OfficeClient.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", Address_1.Address.IAddress) - ], 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); Office.IOffice = IOffice; })(Office = exports.Office || (exports.Office = {})); diff --git a/dist/Interfaces/Admin/OfficeFolder.d.ts b/dist/Interfaces/Admin/OfficeFolder.d.ts index 879c030..f25baaf 100644 --- a/dist/Interfaces/Admin/OfficeFolder.d.ts +++ b/dist/Interfaces/Admin/OfficeFolder.d.ts @@ -1,23 +1,5 @@ -import { Deed } from "./Deed"; -import { Document } from "./Document"; -import { Office } from "./Office"; -import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; -import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; -import { OfficeFolderNotary } from "../.."; +import { OfficeFolderClient } from "../.."; export declare namespace OfficeFolder { - class IOfficeFolder { - uuid: string; - folder_number: string; - name: string; - description: string | null; - archived_description: string | null; - status: OfficeFolderNotary.EFolderStatus; - deed: Deed.IDeed; - office: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; - office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; - documents?: Document.IDocument[]; + class IOfficeFolder extends OfficeFolderClient.IOfficeFolder { } } diff --git a/dist/Interfaces/Admin/OfficeFolder.js b/dist/Interfaces/Admin/OfficeFolder.js index a37d503..2b76b32 100644 --- a/dist/Interfaces/Admin/OfficeFolder.js +++ b/dist/Interfaces/Admin/OfficeFolder.js @@ -1,80 +1,10 @@ "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 }); exports.OfficeFolder = void 0; -const class_validator_1 = require("class-validator"); -const Deed_1 = require("./Deed"); -const Office_1 = require("./Office"); const __1 = require("../.."); var OfficeFolder; (function (OfficeFolder) { - class IOfficeFolder { - constructor() { - this.description = null; - this.archived_description = null; - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolder extends __1.OfficeFolderClient.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", 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", Deed_1.Deed.IDeed) - ], IOfficeFolder.prototype, "deed", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], 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); OfficeFolder.IOfficeFolder = IOfficeFolder; })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); diff --git a/dist/Interfaces/Admin/OfficeFolderHasCustomer.d.ts b/dist/Interfaces/Admin/OfficeFolderHasCustomer.d.ts index d685eb7..4a987a1 100644 --- a/dist/Interfaces/Admin/OfficeFolderHasCustomer.d.ts +++ b/dist/Interfaces/Admin/OfficeFolderHasCustomer.d.ts @@ -1,11 +1,5 @@ -import { Customer } from "./Customer"; -import { OfficeFolder } from "./OfficeFolder"; +import { OfficeFolderHasCustomerClient } from "../.."; export declare namespace OfficeFolderHasCustomer { - class IOfficeFolderHasCustomer { - uuid: string; - customer: Customer.ICustomer; - office_folder: OfficeFolder.IOfficeFolder; - created_at: Date | null; - updated_at: Date | null; + class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer { } } diff --git a/dist/Interfaces/Admin/OfficeFolderHasCustomer.js b/dist/Interfaces/Admin/OfficeFolderHasCustomer.js index 30434e0..6985688 100644 --- a/dist/Interfaces/Admin/OfficeFolderHasCustomer.js +++ b/dist/Interfaces/Admin/OfficeFolderHasCustomer.js @@ -1,45 +1,10 @@ "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 }); exports.OfficeFolderHasCustomer = void 0; -const class_validator_1 = require("class-validator"); -const Customer_1 = require("./Customer"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var OfficeFolderHasCustomer; (function (OfficeFolderHasCustomer) { - class IOfficeFolderHasCustomer { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.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", Customer_1.Customer.ICustomer) - ], IOfficeFolderHasCustomer.prototype, "customer", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], 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); OfficeFolderHasCustomer.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer; })(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {})); diff --git a/dist/Interfaces/Admin/OfficeFolderHasStakeholder.d.ts b/dist/Interfaces/Admin/OfficeFolderHasStakeholder.d.ts index f8a03cb..e8643b2 100644 --- a/dist/Interfaces/Admin/OfficeFolderHasStakeholder.d.ts +++ b/dist/Interfaces/Admin/OfficeFolderHasStakeholder.d.ts @@ -1,11 +1,5 @@ -import { OfficeFolder } from "./OfficeFolder"; -import { User } from "./User"; +import { OfficeFolderHasStakeholderClient } from "../.."; export declare namespace OfficeFolderHasStakeholder { - class IOfficeFolderHasStakeholder { - uuid: string; - user_stakeholder: User.IUser; - office_folder: OfficeFolder.IOfficeFolder; - created_at: Date | null; - updated_at: Date | null; + class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder { } } diff --git a/dist/Interfaces/Admin/OfficeFolderHasStakeholder.js b/dist/Interfaces/Admin/OfficeFolderHasStakeholder.js index 5797cb5..66dfdbe 100644 --- a/dist/Interfaces/Admin/OfficeFolderHasStakeholder.js +++ b/dist/Interfaces/Admin/OfficeFolderHasStakeholder.js @@ -1,45 +1,10 @@ "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 }); exports.OfficeFolderHasStakeholder = void 0; -const class_validator_1 = require("class-validator"); -const OfficeFolder_1 = require("./OfficeFolder"); -const User_1 = require("./User"); +const __1 = require("../.."); var OfficeFolderHasStakeholder; (function (OfficeFolderHasStakeholder) { - class IOfficeFolderHasStakeholder { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.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", User_1.User.IUser) - ], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], 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); OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder; })(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {})); diff --git a/dist/Interfaces/Admin/User.d.ts b/dist/Interfaces/Admin/User.d.ts index f9b0225..236a41f 100644 --- a/dist/Interfaces/Admin/User.d.ts +++ b/dist/Interfaces/Admin/User.d.ts @@ -1,16 +1,5 @@ -import { Contact } from "./Contact"; -import { Document } from "./Document"; -import { Office } from "./Office"; -import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; +import { UserClient } from "../.."; export declare namespace User { - class IUser { - uuid: string; - idNot: string; - contact: Contact.IContact; - office_membership: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; - documents?: Document.IDocument; + class IUser extends UserClient.IUser { } } diff --git a/dist/Interfaces/Admin/User.js b/dist/Interfaces/Admin/User.js index 4a397e9..d425e39 100644 --- a/dist/Interfaces/Admin/User.js +++ b/dist/Interfaces/Admin/User.js @@ -1,58 +1,10 @@ "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 }); exports.User = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); -const Document_1 = require("./Document"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var User; (function (User) { - class IUser { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IUser extends __1.UserClient.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", Contact_1.Contact.IContact) - ], IUser.prototype, "contact", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], 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", Document_1.Document.IDocument) - ], IUser.prototype, "documents", void 0); User.IUser = IUser; })(User = exports.User || (exports.User = {})); diff --git a/dist/Interfaces/Admin/UserHasNotification.d.ts b/dist/Interfaces/Admin/UserHasNotification.d.ts index 90f5aee..feb65b4 100644 --- a/dist/Interfaces/Admin/UserHasNotification.d.ts +++ b/dist/Interfaces/Admin/UserHasNotification.d.ts @@ -1,12 +1,5 @@ -import { Notification } from "./Notification"; -import { User } from "./User"; +import { UserHasNotificationClient } from "../.."; export declare namespace UserHasNotification { - class IUserHasNotification { - uuid: string; - user: User.IUser; - notification: Notification.INotification; - created_at: Date | null; - updated_at: Date | null; + class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification { } - type ENotificationStatus = "READ" | "UNREAD"; } diff --git a/dist/Interfaces/Admin/UserHasNotification.js b/dist/Interfaces/Admin/UserHasNotification.js index c350575..258b557 100644 --- a/dist/Interfaces/Admin/UserHasNotification.js +++ b/dist/Interfaces/Admin/UserHasNotification.js @@ -1,45 +1,10 @@ "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 }); exports.UserHasNotification = void 0; -const class_validator_1 = require("class-validator"); -const Notification_1 = require("./Notification"); -const User_1 = require("./User"); +const __1 = require("../.."); var UserHasNotification; (function (UserHasNotification) { - class IUserHasNotification { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IUserHasNotification extends __1.UserHasNotificationClient.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", User_1.User.IUser) - ], IUserHasNotification.prototype, "user", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Notification_1.Notification.INotification) - ], 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); UserHasNotification.IUserHasNotification = IUserHasNotification; })(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {})); diff --git a/dist/Interfaces/Client/Contact.d.ts b/dist/Interfaces/Client/Contact.d.ts index bb0b761..bf2c12e 100644 --- a/dist/Interfaces/Client/Contact.d.ts +++ b/dist/Interfaces/Client/Contact.d.ts @@ -1,7 +1,6 @@ import { Address } from "./Address"; import { Customer } from "./Customer"; import { User } from "./User"; -import { ContactNotary } from "../.."; export declare namespace Contact { class IContact { uuid: string; @@ -10,11 +9,17 @@ export declare namespace Contact { email: string; phone_number: string; cell_phone_number: string; - civility: ContactNotary.ECivility; + civility: ECivility; address: Address.IAddress; created_at: Date | null; updated_at: Date | null; users?: User.IUser; customers?: Customer.ICustomer; } + enum ECivility { + MALE = "MALE", + FEMALE = "FEMALE", + OTHERS = "OTHERS" + } + type TCivility = ECivility.MALE | ECivility.FEMALE | ECivility.OTHERS; } diff --git a/dist/Interfaces/Client/Contact.js b/dist/Interfaces/Client/Contact.js index baa8d95..a8e7a48 100644 --- a/dist/Interfaces/Client/Contact.js +++ b/dist/Interfaces/Client/Contact.js @@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator"); const Address_1 = require("./Address"); const Customer_1 = require("./Customer"); const User_1 = require("./User"); -const __1 = require("../.."); var Contact; (function (Contact) { class IContact { @@ -72,4 +71,10 @@ var Contact; __metadata("design:type", Customer_1.Customer.ICustomer) ], IContact.prototype, "customers", void 0); Contact.IContact = IContact; + let ECivility; + (function (ECivility) { + ECivility["MALE"] = "MALE"; + ECivility["FEMALE"] = "FEMALE"; + ECivility["OTHERS"] = "OTHERS"; + })(ECivility = Contact.ECivility || (Contact.ECivility = {})); })(Contact = exports.Contact || (exports.Contact = {})); diff --git a/dist/Interfaces/Client/Customer.d.ts b/dist/Interfaces/Client/Customer.d.ts index 40ea77f..74266b3 100644 --- a/dist/Interfaces/Client/Customer.d.ts +++ b/dist/Interfaces/Client/Customer.d.ts @@ -1,15 +1,20 @@ import { Contact } from "./Contact"; import { Document } from "./Document"; import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; -import { CustomerNotary } from "../.."; export declare namespace Customer { class ICustomer { uuid: string; - status: CustomerNotary.ECustomerStatus; + status: ECustomerStatus; contact: Contact.IContact; created_at: Date | null; updated_at: Date | null; office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; documents?: Document.IDocument[]; } + enum ECustomerStatus { + VALIDATED = "VALIDATED", + PENDING = "PENDING", + ERRONED = "ERRONED" + } + type TCustomerStatus = ECustomerStatus.VALIDATED | ECustomerStatus.PENDING | ECustomerStatus.ERRONED; } diff --git a/dist/Interfaces/Client/Customer.js b/dist/Interfaces/Client/Customer.js index 95f4c7e..a9f88bd 100644 --- a/dist/Interfaces/Client/Customer.js +++ b/dist/Interfaces/Client/Customer.js @@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.Customer = void 0; const class_validator_1 = require("class-validator"); const Contact_1 = require("./Contact"); -const __1 = require("../.."); var Customer; (function (Customer) { class ICustomer { @@ -50,4 +49,10 @@ var Customer; __metadata("design:type", Array) ], ICustomer.prototype, "documents", void 0); Customer.ICustomer = ICustomer; + let ECustomerStatus; + (function (ECustomerStatus) { + ECustomerStatus["VALIDATED"] = "VALIDATED"; + ECustomerStatus["PENDING"] = "PENDING"; + ECustomerStatus["ERRONED"] = "ERRONED"; + })(ECustomerStatus = Customer.ECustomerStatus || (Customer.ECustomerStatus = {})); })(Customer = exports.Customer || (exports.Customer = {})); diff --git a/dist/Interfaces/Client/Document.d.ts b/dist/Interfaces/Client/Document.d.ts index 09070d6..4696b65 100644 --- a/dist/Interfaces/Client/Document.d.ts +++ b/dist/Interfaces/Client/Document.d.ts @@ -3,11 +3,10 @@ import { DocumentHistory } from "./DocumentHistory"; import { DocumentType } from "./DocumentType"; import { File } from "./File"; import { OfficeFolder } from "./OfficeFolder"; -import { DocumentNotary } from "../.."; export declare namespace Document { class IDocument { uuid: string; - document_status: DocumentNotary.EDocumentStatus; + document_status: EDocumentStatus; document_type: DocumentType.IDocumentType; folder: OfficeFolder.IOfficeFolder; depositor: Customer.ICustomer; @@ -16,4 +15,12 @@ export declare namespace Document { files?: File.IFile[]; document_history?: DocumentHistory.IDocumentHistory[]; } + enum EDocumentStatus { + ASKED = "ASKED", + DEPOSITED = "DEPOSITED", + VALIDATED = "VALIDATED", + ANCHORED = "ANCHORED", + REFUSED = "REFUSED" + } + type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED; } diff --git a/dist/Interfaces/Client/Document.js b/dist/Interfaces/Client/Document.js index f8b0695..5835ea1 100644 --- a/dist/Interfaces/Client/Document.js +++ b/dist/Interfaces/Client/Document.js @@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator"); const Customer_1 = require("./Customer"); const DocumentType_1 = require("./DocumentType"); const OfficeFolder_1 = require("./OfficeFolder"); -const __1 = require("../.."); var Document; (function (Document) { class IDocument { @@ -60,4 +59,12 @@ var Document; __metadata("design:type", Array) ], IDocument.prototype, "document_history", void 0); Document.IDocument = IDocument; + let EDocumentStatus; + (function (EDocumentStatus) { + EDocumentStatus["ASKED"] = "ASKED"; + EDocumentStatus["DEPOSITED"] = "DEPOSITED"; + EDocumentStatus["VALIDATED"] = "VALIDATED"; + EDocumentStatus["ANCHORED"] = "ANCHORED"; + EDocumentStatus["REFUSED"] = "REFUSED"; + })(EDocumentStatus = Document.EDocumentStatus || (Document.EDocumentStatus = {})); })(Document = exports.Document || (exports.Document = {})); diff --git a/dist/Interfaces/Client/DocumentHistory.d.ts b/dist/Interfaces/Client/DocumentHistory.d.ts index a8d4a64..ba7df94 100644 --- a/dist/Interfaces/Client/DocumentHistory.d.ts +++ b/dist/Interfaces/Client/DocumentHistory.d.ts @@ -1,4 +1,4 @@ -import { Document } from "../Notary/Document"; +import { Document } from "../Client/Document"; export declare namespace DocumentHistory { class IDocumentHistory { uuid: string; diff --git a/dist/Interfaces/Client/DocumentHistory.js b/dist/Interfaces/Client/DocumentHistory.js index 4962eee..52c1486 100644 --- a/dist/Interfaces/Client/DocumentHistory.js +++ b/dist/Interfaces/Client/DocumentHistory.js @@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); exports.DocumentHistory = void 0; const class_validator_1 = require("class-validator"); -const Document_1 = require("../Notary/Document"); +const Document_1 = require("../Client/Document"); var DocumentHistory; (function (DocumentHistory) { class IDocumentHistory { diff --git a/dist/Interfaces/Client/Office.d.ts b/dist/Interfaces/Client/Office.d.ts index 44d2d90..b2d90a1 100644 --- a/dist/Interfaces/Client/Office.d.ts +++ b/dist/Interfaces/Client/Office.d.ts @@ -2,7 +2,6 @@ import { Address } from "./Address"; import { DeedType } from "./DeedType"; import { OfficeFolder } from "./OfficeFolder"; import { User } from "./User"; -import { OfficeNotary } from "../.."; export declare namespace Office { class IOffice { uuid: string; @@ -10,11 +9,16 @@ export declare namespace Office { name: string; crpcen: string; address: Address.IAddress; - office_status: OfficeNotary.EOfficeStatus; + office_status: EOfficeStatus; created_at: Date | null; updated_at: Date | null; deed_types?: DeedType.IDeedType[]; users?: User.IUser[]; office_folders?: OfficeFolder.IOfficeFolder[]; } + enum EOfficeStatus { + ACTIVATED = "ACTIVATED", + DESACTIVATED = "DESACTIVATED" + } + type TOfficeStatus = EOfficeStatus.ACTIVATED | EOfficeStatus.DESACTIVATED; } diff --git a/dist/Interfaces/Client/Office.js b/dist/Interfaces/Client/Office.js index 5a55de5..1a1bdf6 100644 --- a/dist/Interfaces/Client/Office.js +++ b/dist/Interfaces/Client/Office.js @@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.Office = void 0; const class_validator_1 = require("class-validator"); const Address_1 = require("./Address"); -const __1 = require("../.."); var Office; (function (Office) { class IOffice { @@ -66,4 +65,9 @@ var Office; __metadata("design:type", Array) ], IOffice.prototype, "office_folders", void 0); Office.IOffice = IOffice; + let EOfficeStatus; + (function (EOfficeStatus) { + EOfficeStatus["ACTIVATED"] = "ACTIVATED"; + EOfficeStatus["DESACTIVATED"] = "DESACTIVATED"; + })(EOfficeStatus = Office.EOfficeStatus || (Office.EOfficeStatus = {})); })(Office = exports.Office || (exports.Office = {})); diff --git a/dist/Interfaces/Client/OfficeFolder.d.ts b/dist/Interfaces/Client/OfficeFolder.d.ts index 879c030..29d1530 100644 --- a/dist/Interfaces/Client/OfficeFolder.d.ts +++ b/dist/Interfaces/Client/OfficeFolder.d.ts @@ -3,7 +3,6 @@ import { Document } from "./Document"; import { Office } from "./Office"; import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; -import { OfficeFolderNotary } from "../.."; export declare namespace OfficeFolder { class IOfficeFolder { uuid: string; @@ -11,7 +10,7 @@ export declare namespace OfficeFolder { name: string; description: string | null; archived_description: string | null; - status: OfficeFolderNotary.EFolderStatus; + status: EFolderStatus; deed: Deed.IDeed; office: Office.IOffice; created_at: Date | null; @@ -20,4 +19,9 @@ export declare namespace OfficeFolder { office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; documents?: Document.IDocument[]; } + enum EFolderStatus { + LIVE = "LIVE", + ARCHIVED = "ARCHIVED" + } + type TFolderStatus = EFolderStatus.LIVE | EFolderStatus.ARCHIVED; } diff --git a/dist/Interfaces/Client/OfficeFolder.js b/dist/Interfaces/Client/OfficeFolder.js index a37d503..53860e2 100644 --- a/dist/Interfaces/Client/OfficeFolder.js +++ b/dist/Interfaces/Client/OfficeFolder.js @@ -13,7 +13,6 @@ exports.OfficeFolder = void 0; const class_validator_1 = require("class-validator"); const Deed_1 = require("./Deed"); const Office_1 = require("./Office"); -const __1 = require("../.."); var OfficeFolder; (function (OfficeFolder) { class IOfficeFolder { @@ -77,4 +76,9 @@ var OfficeFolder; __metadata("design:type", Array) ], IOfficeFolder.prototype, "documents", void 0); OfficeFolder.IOfficeFolder = IOfficeFolder; + let EFolderStatus; + (function (EFolderStatus) { + EFolderStatus["LIVE"] = "LIVE"; + EFolderStatus["ARCHIVED"] = "ARCHIVED"; + })(EFolderStatus = OfficeFolder.EFolderStatus || (OfficeFolder.EFolderStatus = {})); })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); diff --git a/dist/Interfaces/Notary/Address.d.ts b/dist/Interfaces/Notary/Address.d.ts index 02b956a..01e7ace 100644 --- a/dist/Interfaces/Notary/Address.d.ts +++ b/dist/Interfaces/Notary/Address.d.ts @@ -1,14 +1,5 @@ -import { Contact } from "./Contact"; -import { Office } from "./Office"; +import { AddressClient } from "../.."; export declare namespace Address { - class IAddress { - uuid: string; - address: string; - city: string; - zip_code: number; - created_at: Date | null; - updated_at: Date | null; - office?: Office.IOffice; - contacts?: Contact.IContact; + class IAddress extends AddressClient.IAddress { } } diff --git a/dist/Interfaces/Notary/Address.js b/dist/Interfaces/Notary/Address.js index c211973..bcd78b1 100644 --- a/dist/Interfaces/Notary/Address.js +++ b/dist/Interfaces/Notary/Address.js @@ -1,57 +1,10 @@ "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 }); exports.Address = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var Address; (function (Address) { - class IAddress { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IAddress extends __1.AddressClient.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", 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", Office_1.Office.IOffice) - ], IAddress.prototype, "office", void 0); - __decorate([ - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Contact_1.Contact.IContact) - ], IAddress.prototype, "contacts", void 0); Address.IAddress = IAddress; })(Address = exports.Address || (exports.Address = {})); diff --git a/dist/Interfaces/Notary/Contact.d.ts b/dist/Interfaces/Notary/Contact.d.ts index 7603940..186032b 100644 --- a/dist/Interfaces/Notary/Contact.d.ts +++ b/dist/Interfaces/Notary/Contact.d.ts @@ -1,20 +1,5 @@ -import { Address } from "./Address"; -import { Customer } from "./Customer"; -import { User } from "./User"; +import { ContactClient } from "../.."; export declare namespace Contact { - class IContact { - uuid: string; - first_name: string; - last_name: string; - email: string; - phone_number: string; - cell_phone_number: string; - civility: ECivility; - address: Address.IAddress; - created_at: Date | null; - updated_at: Date | null; - users?: User.IUser; - customers?: Customer.ICustomer; + class IContact extends ContactClient.IContact { } - type ECivility = "MALE" | "FEMALE" | "OTHERS"; } diff --git a/dist/Interfaces/Notary/Contact.js b/dist/Interfaces/Notary/Contact.js index 246b3e1..214b5da 100644 --- a/dist/Interfaces/Notary/Contact.js +++ b/dist/Interfaces/Notary/Contact.js @@ -1,74 +1,10 @@ "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 }); exports.Contact = void 0; -const class_validator_1 = require("class-validator"); -const Address_1 = require("./Address"); -const Customer_1 = require("./Customer"); -const User_1 = require("./User"); +const __1 = require("../.."); var Contact; (function (Contact) { - class IContact { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IContact extends __1.ContactClient.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", 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", Address_1.Address.IAddress) - ], 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", User_1.User.IUser) - ], IContact.prototype, "users", void 0); - __decorate([ - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Customer_1.Customer.ICustomer) - ], IContact.prototype, "customers", void 0); Contact.IContact = IContact; })(Contact = exports.Contact || (exports.Contact = {})); diff --git a/dist/Interfaces/Notary/Customer.d.ts b/dist/Interfaces/Notary/Customer.d.ts index 14156bd..937b87f 100644 --- a/dist/Interfaces/Notary/Customer.d.ts +++ b/dist/Interfaces/Notary/Customer.d.ts @@ -1,15 +1,5 @@ -import { Contact } from "./Contact"; -import { Document } from "./Document"; -import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; +import { CustomerClient } from "../.."; export declare namespace Customer { - class ICustomer { - uuid: string; - status: ECustomerStatus; - contact: Contact.IContact; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; - documents?: Document.IDocument[]; + class ICustomer extends CustomerClient.ICustomer { } - type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED"; } diff --git a/dist/Interfaces/Notary/Customer.js b/dist/Interfaces/Notary/Customer.js index 84b7e25..437007d 100644 --- a/dist/Interfaces/Notary/Customer.js +++ b/dist/Interfaces/Notary/Customer.js @@ -1,52 +1,10 @@ "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 }); exports.Customer = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); +const __1 = require("../.."); var Customer; (function (Customer) { - class ICustomer { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class ICustomer extends __1.CustomerClient.ICustomer { } - __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", Contact_1.Contact.IContact) - ], 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); Customer.ICustomer = ICustomer; })(Customer = exports.Customer || (exports.Customer = {})); diff --git a/dist/Interfaces/Notary/Deed.d.ts b/dist/Interfaces/Notary/Deed.d.ts index 4829454..11c085c 100644 --- a/dist/Interfaces/Notary/Deed.d.ts +++ b/dist/Interfaces/Notary/Deed.d.ts @@ -1,13 +1,5 @@ -import { DeedType } from "./DeedType"; -import { DeedHasDocumentType } from "./DeedHasDocumentType"; -import { OfficeFolder } from "./OfficeFolder"; +import { DeedClient } from "../.."; export declare namespace Deed { - class IDeed { - uuid: string; - deed_type: DeedType.IDeedType; - created_at: Date | null; - updated_at: Date | null; - deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[]; - office_folder?: OfficeFolder.IOfficeFolder; + class IDeed extends DeedClient.IDeed { } } diff --git a/dist/Interfaces/Notary/Deed.js b/dist/Interfaces/Notary/Deed.js index 4e98005..288a314 100644 --- a/dist/Interfaces/Notary/Deed.js +++ b/dist/Interfaces/Notary/Deed.js @@ -1,49 +1,10 @@ "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 }); exports.Deed = void 0; -const class_validator_1 = require("class-validator"); -const DeedType_1 = require("./DeedType"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var Deed; (function (Deed) { - class IDeed { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeed extends __1.DeedClient.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", DeedType_1.DeedType.IDeedType) - ], 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", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], IDeed.prototype, "office_folder", void 0); Deed.IDeed = IDeed; })(Deed = exports.Deed || (exports.Deed = {})); diff --git a/dist/Interfaces/Notary/DeedHasDocumentType.d.ts b/dist/Interfaces/Notary/DeedHasDocumentType.d.ts index b735b3d..a504480 100644 --- a/dist/Interfaces/Notary/DeedHasDocumentType.d.ts +++ b/dist/Interfaces/Notary/DeedHasDocumentType.d.ts @@ -1,11 +1,5 @@ -import { Deed } from "./Deed"; -import { DocumentType } from "./DocumentType"; +import { DeedHasDocumentTypeClient } from "../.."; export declare namespace DeedHasDocumentType { - class IDeedHasDocumentType { - uuid: string; - document_type: DocumentType.IDocumentType; - deed: Deed.IDeed; - created_at: Date | null; - updated_at: Date | null; + class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType { } } diff --git a/dist/Interfaces/Notary/DeedHasDocumentType.js b/dist/Interfaces/Notary/DeedHasDocumentType.js index eaa41d6..532e790 100644 --- a/dist/Interfaces/Notary/DeedHasDocumentType.js +++ b/dist/Interfaces/Notary/DeedHasDocumentType.js @@ -1,45 +1,10 @@ "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 }); exports.DeedHasDocumentType = void 0; -const class_validator_1 = require("class-validator"); -const Deed_1 = require("./Deed"); -const DocumentType_1 = require("./DocumentType"); +const __1 = require("../.."); var DeedHasDocumentType; (function (DeedHasDocumentType) { - class IDeedHasDocumentType { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.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", DocumentType_1.DocumentType.IDocumentType) - ], IDeedHasDocumentType.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Deed_1.Deed.IDeed) - ], 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); DeedHasDocumentType.IDeedHasDocumentType = IDeedHasDocumentType; })(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {})); diff --git a/dist/Interfaces/Notary/DeedType.d.ts b/dist/Interfaces/Notary/DeedType.d.ts index e06b132..b4b4adb 100644 --- a/dist/Interfaces/Notary/DeedType.d.ts +++ b/dist/Interfaces/Notary/DeedType.d.ts @@ -1,16 +1,5 @@ -import { Deed } from "./Deed"; -import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType"; -import { Office } from "./Office"; +import { DeedTypeClient } from "../.."; export declare namespace DeedType { - class IDeedType { - uuid: string; - name: string; - description: string; - archived_at: Date | null; - office: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - deed?: Deed.IDeed[]; - deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[]; + class IDeedType extends DeedTypeClient.IDeedType { } } diff --git a/dist/Interfaces/Notary/DeedType.js b/dist/Interfaces/Notary/DeedType.js index 4a6d74c..87546c1 100644 --- a/dist/Interfaces/Notary/DeedType.js +++ b/dist/Interfaces/Notary/DeedType.js @@ -1,61 +1,10 @@ "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 }); exports.DeedType = void 0; -const class_validator_1 = require("class-validator"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var DeedType; (function (DeedType) { - class IDeedType { - constructor() { - this.archived_at = null; - this.created_at = null; - this.updated_at = null; - } + class IDeedType extends __1.DeedTypeClient.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.IsDate)(), - __metadata("design:type", Object) - ], IDeedType.prototype, "archived_at", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], IDeedType.prototype, "office", void 0); - __decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) - ], IDeedType.prototype, "created_at", void 0); - __decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) - ], 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); DeedType.IDeedType = IDeedType; })(DeedType = exports.DeedType || (exports.DeedType = {})); diff --git a/dist/Interfaces/Notary/DeedTypeHasDocumentType.d.ts b/dist/Interfaces/Notary/DeedTypeHasDocumentType.d.ts index df6b74d..3df9bce 100644 --- a/dist/Interfaces/Notary/DeedTypeHasDocumentType.d.ts +++ b/dist/Interfaces/Notary/DeedTypeHasDocumentType.d.ts @@ -1,11 +1,5 @@ -import { DeedType } from "./DeedType"; -import { DocumentType } from "./DocumentType"; +import { DeedTypeHasDocumentTypeClient } from "../.."; export declare namespace DeedTypeHasDocumentType { - class IDeedTypeHasDocumentType { - uuid: string; - document_type: DocumentType.IDocumentType; - deed_type: DeedType.IDeedType; - created_at: Date | null; - updated_at: Date | null; + class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType { } } diff --git a/dist/Interfaces/Notary/DeedTypeHasDocumentType.js b/dist/Interfaces/Notary/DeedTypeHasDocumentType.js index d29810f..6a6807d 100644 --- a/dist/Interfaces/Notary/DeedTypeHasDocumentType.js +++ b/dist/Interfaces/Notary/DeedTypeHasDocumentType.js @@ -1,45 +1,10 @@ "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 }); exports.DeedTypeHasDocumentType = void 0; -const class_validator_1 = require("class-validator"); -const DeedType_1 = require("./DeedType"); -const DocumentType_1 = require("./DocumentType"); +const __1 = require("../.."); var DeedTypeHasDocumentType; (function (DeedTypeHasDocumentType) { - class IDeedTypeHasDocumentType { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.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", DocumentType_1.DocumentType.IDocumentType) - ], IDeedTypeHasDocumentType.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", DeedType_1.DeedType.IDeedType) - ], 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); DeedTypeHasDocumentType.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType; })(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {})); diff --git a/dist/Interfaces/Notary/Document.d.ts b/dist/Interfaces/Notary/Document.d.ts index 4696b65..e88b12d 100644 --- a/dist/Interfaces/Notary/Document.d.ts +++ b/dist/Interfaces/Notary/Document.d.ts @@ -1,26 +1,5 @@ -import { Customer } from "./Customer"; -import { DocumentHistory } from "./DocumentHistory"; -import { DocumentType } from "./DocumentType"; -import { File } from "./File"; -import { OfficeFolder } from "./OfficeFolder"; +import { DocumentClient } from "../.."; export declare namespace Document { - class IDocument { - uuid: string; - document_status: EDocumentStatus; - document_type: DocumentType.IDocumentType; - folder: OfficeFolder.IOfficeFolder; - depositor: Customer.ICustomer; - created_at: Date | null; - updated_at: Date | null; - files?: File.IFile[]; - document_history?: DocumentHistory.IDocumentHistory[]; + class IDocument extends DocumentClient.IDocument { } - enum EDocumentStatus { - ASKED = "ASKED", - DEPOSITED = "DEPOSITED", - VALIDATED = "VALIDATED", - ANCHORED = "ANCHORED", - REFUSED = "REFUSED" - } - type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED; } diff --git a/dist/Interfaces/Notary/Document.js b/dist/Interfaces/Notary/Document.js index 5835ea1..354ef3f 100644 --- a/dist/Interfaces/Notary/Document.js +++ b/dist/Interfaces/Notary/Document.js @@ -1,70 +1,10 @@ "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 }); exports.Document = void 0; -const class_validator_1 = require("class-validator"); -const Customer_1 = require("./Customer"); -const DocumentType_1 = require("./DocumentType"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var Document; (function (Document) { - class IDocument { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDocument extends __1.DocumentClient.IDocument { } - __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", DocumentType_1.DocumentType.IDocumentType) - ], IDocument.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], IDocument.prototype, "folder", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Customer_1.Customer.ICustomer) - ], 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); Document.IDocument = IDocument; - let EDocumentStatus; - (function (EDocumentStatus) { - EDocumentStatus["ASKED"] = "ASKED"; - EDocumentStatus["DEPOSITED"] = "DEPOSITED"; - EDocumentStatus["VALIDATED"] = "VALIDATED"; - EDocumentStatus["ANCHORED"] = "ANCHORED"; - EDocumentStatus["REFUSED"] = "REFUSED"; - })(EDocumentStatus = Document.EDocumentStatus || (Document.EDocumentStatus = {})); })(Document = exports.Document || (exports.Document = {})); diff --git a/dist/Interfaces/Notary/DocumentHistory.d.ts b/dist/Interfaces/Notary/DocumentHistory.d.ts index 2c55dcf..bd66cd6 100644 --- a/dist/Interfaces/Notary/DocumentHistory.d.ts +++ b/dist/Interfaces/Notary/DocumentHistory.d.ts @@ -1,11 +1,5 @@ -import { Document } from "./Document"; +import { DocumentHistoryClient } from "../.."; export declare namespace DocumentHistory { - class IDocumentHistory { - uuid: string; - document_status: Document.EDocumentStatus; - document: Document.IDocument; - refused_reason: string | null; - created_at: Date | null; - updated_at: Date | null; + class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory { } } diff --git a/dist/Interfaces/Notary/DocumentHistory.js b/dist/Interfaces/Notary/DocumentHistory.js index c2af666..04dad08 100644 --- a/dist/Interfaces/Notary/DocumentHistory.js +++ b/dist/Interfaces/Notary/DocumentHistory.js @@ -1,49 +1,10 @@ "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 }); exports.DocumentHistory = void 0; -const class_validator_1 = require("class-validator"); -const Document_1 = require("./Document"); +const __1 = require("../.."); var DocumentHistory; (function (DocumentHistory) { - class IDocumentHistory { - constructor() { - this.refused_reason = null; - this.created_at = null; - this.updated_at = null; - } + class IDocumentHistory extends __1.DocumentHistoryClient.IDocumentHistory { } - __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", Document_1.Document.IDocument) - ], 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); DocumentHistory.IDocumentHistory = IDocumentHistory; })(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {})); diff --git a/dist/Interfaces/Notary/DocumentType.d.ts b/dist/Interfaces/Notary/DocumentType.d.ts index 941c152..b176a5e 100644 --- a/dist/Interfaces/Notary/DocumentType.d.ts +++ b/dist/Interfaces/Notary/DocumentType.d.ts @@ -1,17 +1,5 @@ -import { DeedHasDocumentType } from "./DeedHasDocumentType"; -import { Document } from "./Document"; -import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType"; +import { DocumentTypeClient } from "../.."; export declare namespace DocumentType { - 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?: Document.IDocument[]; - deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[]; - deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[]; + class IDocumentType extends DocumentTypeClient.IDocumentType { } } diff --git a/dist/Interfaces/Notary/DocumentType.js b/dist/Interfaces/Notary/DocumentType.js index a9a24d2..7909403 100644 --- a/dist/Interfaces/Notary/DocumentType.js +++ b/dist/Interfaces/Notary/DocumentType.js @@ -1,65 +1,10 @@ "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 }); exports.DocumentType = void 0; -const class_validator_1 = require("class-validator"); +const __1 = require("../.."); var DocumentType; (function (DocumentType) { - class IDocumentType { - constructor() { - this.private_description = null; - this.archived_at = null; - this.created_at = null; - this.updated_at = null; - } + class IDocumentType extends __1.DocumentTypeClient.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", 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); DocumentType.IDocumentType = IDocumentType; })(DocumentType = exports.DocumentType || (exports.DocumentType = {})); diff --git a/dist/Interfaces/Notary/File.d.ts b/dist/Interfaces/Notary/File.d.ts index a8cd4a9..f7d0a90 100644 --- a/dist/Interfaces/Notary/File.d.ts +++ b/dist/Interfaces/Notary/File.d.ts @@ -1,10 +1,5 @@ -import { Document } from "./Document"; +import { FileClient } from "../.."; export declare namespace File { - class IFile { - uuid: string; - document: Document.IDocument; - file_path: string | null; - created_at: Date | null; - updated_at: Date | null; + class IFile extends FileClient.IFile { } } diff --git a/dist/Interfaces/Notary/File.js b/dist/Interfaces/Notary/File.js index 492a936..f128c37 100644 --- a/dist/Interfaces/Notary/File.js +++ b/dist/Interfaces/Notary/File.js @@ -1,45 +1,10 @@ "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 }); exports.File = void 0; -const class_validator_1 = require("class-validator"); -const Document_1 = require("./Document"); +const __1 = require("../.."); var File; (function (File) { - class IFile { - constructor() { - this.file_path = null; - this.created_at = null; - this.updated_at = null; - } + class IFile extends __1.FileClient.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", Document_1.Document.IDocument) - ], 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); File.IFile = IFile; })(File = exports.File || (exports.File = {})); diff --git a/dist/Interfaces/Notary/Notification.d.ts b/dist/Interfaces/Notary/Notification.d.ts index b15e627..e4b065e 100644 --- a/dist/Interfaces/Notary/Notification.d.ts +++ b/dist/Interfaces/Notary/Notification.d.ts @@ -1,11 +1,5 @@ -import { UserHasNotification } from "./UserHasNotification"; +import { NotificationClient } from "../.."; export declare namespace Notification { - class INotification { - uuid: string; - message: string; - redirection_url: string; - created_at: Date | null; - updated_at: Date | null; - user_has_notifications?: UserHasNotification.IUserHasNotification[]; + class INotification extends NotificationClient.INotification { } } diff --git a/dist/Interfaces/Notary/Notification.js b/dist/Interfaces/Notary/Notification.js index 7985faf..d6294e6 100644 --- a/dist/Interfaces/Notary/Notification.js +++ b/dist/Interfaces/Notary/Notification.js @@ -1,48 +1,10 @@ "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 }); exports.Notification = void 0; -const class_validator_1 = require("class-validator"); +const __1 = require("../.."); var Notification; (function (Notification) { - class INotification { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class INotification extends __1.NotificationClient.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", 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); Notification.INotification = INotification; })(Notification = exports.Notification || (exports.Notification = {})); diff --git a/dist/Interfaces/Notary/Office.d.ts b/dist/Interfaces/Notary/Office.d.ts index 0ce9946..dc69382 100644 --- a/dist/Interfaces/Notary/Office.d.ts +++ b/dist/Interfaces/Notary/Office.d.ts @@ -1,25 +1,5 @@ -import { Address } from "./Address"; -import { DeedType } from "./DeedType"; -import { OfficeFolder } from "./OfficeFolder"; -import { User } from "./User"; +import { OfficeClient } from "../.."; export declare namespace Office { - class IOffice { - uuid: string; - idNot: string; - name: string; - crpcen: string; - address: Address.IAddress; - office_status: EOfficeStatus; - created_at: Date | null; - updated_at: Date | null; - deed_types?: DeedType.IDeedType[]; - users?: User.IUser[]; - office_folders?: OfficeFolder.IOfficeFolder[]; - balbala: string; + class IOffice extends OfficeClient.IOffice { } - enum EOfficeStatus { - ACTIVATED = "ACTIVATED", - DESACTIVATED = "DESACTIVATED" - } - type TOfficeStatus = EOfficeStatus.ACTIVATED | EOfficeStatus.DESACTIVATED; } diff --git a/dist/Interfaces/Notary/Office.js b/dist/Interfaces/Notary/Office.js index 1a1bdf6..e3b0233 100644 --- a/dist/Interfaces/Notary/Office.js +++ b/dist/Interfaces/Notary/Office.js @@ -1,73 +1,10 @@ "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 }); exports.Office = void 0; -const class_validator_1 = require("class-validator"); -const Address_1 = require("./Address"); +const __1 = require("../.."); var Office; (function (Office) { - class IOffice { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOffice extends __1.OfficeClient.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", Address_1.Address.IAddress) - ], 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); Office.IOffice = IOffice; - let EOfficeStatus; - (function (EOfficeStatus) { - EOfficeStatus["ACTIVATED"] = "ACTIVATED"; - EOfficeStatus["DESACTIVATED"] = "DESACTIVATED"; - })(EOfficeStatus = Office.EOfficeStatus || (Office.EOfficeStatus = {})); })(Office = exports.Office || (exports.Office = {})); diff --git a/dist/Interfaces/Notary/OfficeFolder.d.ts b/dist/Interfaces/Notary/OfficeFolder.d.ts index 0add733..f25baaf 100644 --- a/dist/Interfaces/Notary/OfficeFolder.d.ts +++ b/dist/Interfaces/Notary/OfficeFolder.d.ts @@ -1,23 +1,5 @@ -import { Deed } from "./Deed"; -import { Document } from "./Document"; -import { Office } from "./Office"; -import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; -import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; +import { OfficeFolderClient } from "../.."; export declare namespace OfficeFolder { - class IOfficeFolder { - uuid: string; - folder_number: string; - name: string; - description: string | null; - archived_description: string | null; - status: EFolderStatus; - deed: Deed.IDeed; - office: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; - office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; - documents?: Document.IDocument[]; + class IOfficeFolder extends OfficeFolderClient.IOfficeFolder { } - type EFolderStatus = "LIVE" | "ARCHIVED"; } diff --git a/dist/Interfaces/Notary/OfficeFolder.js b/dist/Interfaces/Notary/OfficeFolder.js index cbd70a8..2b76b32 100644 --- a/dist/Interfaces/Notary/OfficeFolder.js +++ b/dist/Interfaces/Notary/OfficeFolder.js @@ -1,79 +1,10 @@ "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 }); exports.OfficeFolder = void 0; -const class_validator_1 = require("class-validator"); -const Deed_1 = require("./Deed"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var OfficeFolder; (function (OfficeFolder) { - class IOfficeFolder { - constructor() { - this.description = null; - this.archived_description = null; - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolder extends __1.OfficeFolderClient.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", 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", Deed_1.Deed.IDeed) - ], IOfficeFolder.prototype, "deed", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], 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); OfficeFolder.IOfficeFolder = IOfficeFolder; })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); diff --git a/dist/Interfaces/Notary/OfficeFolderHasCustomer.d.ts b/dist/Interfaces/Notary/OfficeFolderHasCustomer.d.ts index d685eb7..4a987a1 100644 --- a/dist/Interfaces/Notary/OfficeFolderHasCustomer.d.ts +++ b/dist/Interfaces/Notary/OfficeFolderHasCustomer.d.ts @@ -1,11 +1,5 @@ -import { Customer } from "./Customer"; -import { OfficeFolder } from "./OfficeFolder"; +import { OfficeFolderHasCustomerClient } from "../.."; export declare namespace OfficeFolderHasCustomer { - class IOfficeFolderHasCustomer { - uuid: string; - customer: Customer.ICustomer; - office_folder: OfficeFolder.IOfficeFolder; - created_at: Date | null; - updated_at: Date | null; + class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer { } } diff --git a/dist/Interfaces/Notary/OfficeFolderHasCustomer.js b/dist/Interfaces/Notary/OfficeFolderHasCustomer.js index 30434e0..6985688 100644 --- a/dist/Interfaces/Notary/OfficeFolderHasCustomer.js +++ b/dist/Interfaces/Notary/OfficeFolderHasCustomer.js @@ -1,45 +1,10 @@ "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 }); exports.OfficeFolderHasCustomer = void 0; -const class_validator_1 = require("class-validator"); -const Customer_1 = require("./Customer"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var OfficeFolderHasCustomer; (function (OfficeFolderHasCustomer) { - class IOfficeFolderHasCustomer { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.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", Customer_1.Customer.ICustomer) - ], IOfficeFolderHasCustomer.prototype, "customer", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], 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); OfficeFolderHasCustomer.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer; })(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {})); diff --git a/dist/Interfaces/Notary/OfficeFolderHasStakeholder.d.ts b/dist/Interfaces/Notary/OfficeFolderHasStakeholder.d.ts index f8a03cb..e8643b2 100644 --- a/dist/Interfaces/Notary/OfficeFolderHasStakeholder.d.ts +++ b/dist/Interfaces/Notary/OfficeFolderHasStakeholder.d.ts @@ -1,11 +1,5 @@ -import { OfficeFolder } from "./OfficeFolder"; -import { User } from "./User"; +import { OfficeFolderHasStakeholderClient } from "../.."; export declare namespace OfficeFolderHasStakeholder { - class IOfficeFolderHasStakeholder { - uuid: string; - user_stakeholder: User.IUser; - office_folder: OfficeFolder.IOfficeFolder; - created_at: Date | null; - updated_at: Date | null; + class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder { } } diff --git a/dist/Interfaces/Notary/OfficeFolderHasStakeholder.js b/dist/Interfaces/Notary/OfficeFolderHasStakeholder.js index 5797cb5..66dfdbe 100644 --- a/dist/Interfaces/Notary/OfficeFolderHasStakeholder.js +++ b/dist/Interfaces/Notary/OfficeFolderHasStakeholder.js @@ -1,45 +1,10 @@ "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 }); exports.OfficeFolderHasStakeholder = void 0; -const class_validator_1 = require("class-validator"); -const OfficeFolder_1 = require("./OfficeFolder"); -const User_1 = require("./User"); +const __1 = require("../.."); var OfficeFolderHasStakeholder; (function (OfficeFolderHasStakeholder) { - class IOfficeFolderHasStakeholder { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.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", User_1.User.IUser) - ], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], 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); OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder; })(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {})); diff --git a/dist/Interfaces/Notary/User.d.ts b/dist/Interfaces/Notary/User.d.ts index f9b0225..236a41f 100644 --- a/dist/Interfaces/Notary/User.d.ts +++ b/dist/Interfaces/Notary/User.d.ts @@ -1,16 +1,5 @@ -import { Contact } from "./Contact"; -import { Document } from "./Document"; -import { Office } from "./Office"; -import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; +import { UserClient } from "../.."; export declare namespace User { - class IUser { - uuid: string; - idNot: string; - contact: Contact.IContact; - office_membership: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; - documents?: Document.IDocument; + class IUser extends UserClient.IUser { } } diff --git a/dist/Interfaces/Notary/User.js b/dist/Interfaces/Notary/User.js index 4a397e9..d425e39 100644 --- a/dist/Interfaces/Notary/User.js +++ b/dist/Interfaces/Notary/User.js @@ -1,58 +1,10 @@ "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 }); exports.User = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); -const Document_1 = require("./Document"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var User; (function (User) { - class IUser { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IUser extends __1.UserClient.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", Contact_1.Contact.IContact) - ], IUser.prototype, "contact", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], 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", Document_1.Document.IDocument) - ], IUser.prototype, "documents", void 0); User.IUser = IUser; })(User = exports.User || (exports.User = {})); diff --git a/dist/Interfaces/Notary/UserHasNotification.d.ts b/dist/Interfaces/Notary/UserHasNotification.d.ts index 0a375dd..feb65b4 100644 --- a/dist/Interfaces/Notary/UserHasNotification.d.ts +++ b/dist/Interfaces/Notary/UserHasNotification.d.ts @@ -1,11 +1,5 @@ -import { Notification } from "./Notification"; -import { User } from "./User"; +import { UserHasNotificationClient } from "../.."; export declare namespace UserHasNotification { - class IUserHasNotification { - uuid: string; - user: User.IUser; - notification: Notification.INotification; - created_at: Date | null; - updated_at: Date | null; + class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification { } } diff --git a/dist/Interfaces/Notary/UserHasNotification.js b/dist/Interfaces/Notary/UserHasNotification.js index c350575..258b557 100644 --- a/dist/Interfaces/Notary/UserHasNotification.js +++ b/dist/Interfaces/Notary/UserHasNotification.js @@ -1,45 +1,10 @@ "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 }); exports.UserHasNotification = void 0; -const class_validator_1 = require("class-validator"); -const Notification_1 = require("./Notification"); -const User_1 = require("./User"); +const __1 = require("../.."); var UserHasNotification; (function (UserHasNotification) { - class IUserHasNotification { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IUserHasNotification extends __1.UserHasNotificationClient.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", User_1.User.IUser) - ], IUserHasNotification.prototype, "user", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Notification_1.Notification.INotification) - ], 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); UserHasNotification.IUserHasNotification = IUserHasNotification; })(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {})); diff --git a/dist/Interfaces/SuperAdmin/Address.d.ts b/dist/Interfaces/SuperAdmin/Address.d.ts index 02b956a..01e7ace 100644 --- a/dist/Interfaces/SuperAdmin/Address.d.ts +++ b/dist/Interfaces/SuperAdmin/Address.d.ts @@ -1,14 +1,5 @@ -import { Contact } from "./Contact"; -import { Office } from "./Office"; +import { AddressClient } from "../.."; export declare namespace Address { - class IAddress { - uuid: string; - address: string; - city: string; - zip_code: number; - created_at: Date | null; - updated_at: Date | null; - office?: Office.IOffice; - contacts?: Contact.IContact; + class IAddress extends AddressClient.IAddress { } } diff --git a/dist/Interfaces/SuperAdmin/Address.js b/dist/Interfaces/SuperAdmin/Address.js index c211973..bcd78b1 100644 --- a/dist/Interfaces/SuperAdmin/Address.js +++ b/dist/Interfaces/SuperAdmin/Address.js @@ -1,57 +1,10 @@ "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 }); exports.Address = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var Address; (function (Address) { - class IAddress { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IAddress extends __1.AddressClient.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", 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", Office_1.Office.IOffice) - ], IAddress.prototype, "office", void 0); - __decorate([ - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Contact_1.Contact.IContact) - ], IAddress.prototype, "contacts", void 0); Address.IAddress = IAddress; })(Address = exports.Address || (exports.Address = {})); diff --git a/dist/Interfaces/SuperAdmin/Contact.d.ts b/dist/Interfaces/SuperAdmin/Contact.d.ts index bb0b761..186032b 100644 --- a/dist/Interfaces/SuperAdmin/Contact.d.ts +++ b/dist/Interfaces/SuperAdmin/Contact.d.ts @@ -1,20 +1,5 @@ -import { Address } from "./Address"; -import { Customer } from "./Customer"; -import { User } from "./User"; -import { ContactNotary } from "../.."; +import { ContactClient } from "../.."; export declare namespace Contact { - class IContact { - uuid: string; - first_name: string; - last_name: string; - email: string; - phone_number: string; - cell_phone_number: string; - civility: ContactNotary.ECivility; - address: Address.IAddress; - created_at: Date | null; - updated_at: Date | null; - users?: User.IUser; - customers?: Customer.ICustomer; + class IContact extends ContactClient.IContact { } } diff --git a/dist/Interfaces/SuperAdmin/Contact.js b/dist/Interfaces/SuperAdmin/Contact.js index baa8d95..214b5da 100644 --- a/dist/Interfaces/SuperAdmin/Contact.js +++ b/dist/Interfaces/SuperAdmin/Contact.js @@ -1,75 +1,10 @@ "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 }); exports.Contact = void 0; -const class_validator_1 = require("class-validator"); -const Address_1 = require("./Address"); -const Customer_1 = require("./Customer"); -const User_1 = require("./User"); const __1 = require("../.."); var Contact; (function (Contact) { - class IContact { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IContact extends __1.ContactClient.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", 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", Address_1.Address.IAddress) - ], 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", User_1.User.IUser) - ], IContact.prototype, "users", void 0); - __decorate([ - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Customer_1.Customer.ICustomer) - ], IContact.prototype, "customers", void 0); Contact.IContact = IContact; })(Contact = exports.Contact || (exports.Contact = {})); diff --git a/dist/Interfaces/SuperAdmin/Customer.d.ts b/dist/Interfaces/SuperAdmin/Customer.d.ts index 40ea77f..937b87f 100644 --- a/dist/Interfaces/SuperAdmin/Customer.d.ts +++ b/dist/Interfaces/SuperAdmin/Customer.d.ts @@ -1,15 +1,5 @@ -import { Contact } from "./Contact"; -import { Document } from "./Document"; -import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; -import { CustomerNotary } from "../.."; +import { CustomerClient } from "../.."; export declare namespace Customer { - class ICustomer { - uuid: string; - status: CustomerNotary.ECustomerStatus; - contact: Contact.IContact; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; - documents?: Document.IDocument[]; + class ICustomer extends CustomerClient.ICustomer { } } diff --git a/dist/Interfaces/SuperAdmin/Customer.js b/dist/Interfaces/SuperAdmin/Customer.js index 95f4c7e..437007d 100644 --- a/dist/Interfaces/SuperAdmin/Customer.js +++ b/dist/Interfaces/SuperAdmin/Customer.js @@ -1,53 +1,10 @@ "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 }); exports.Customer = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); const __1 = require("../.."); var Customer; (function (Customer) { - class ICustomer { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class ICustomer extends __1.CustomerClient.ICustomer { } - __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", Contact_1.Contact.IContact) - ], 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); Customer.ICustomer = ICustomer; })(Customer = exports.Customer || (exports.Customer = {})); diff --git a/dist/Interfaces/SuperAdmin/Deed.d.ts b/dist/Interfaces/SuperAdmin/Deed.d.ts index 4829454..11c085c 100644 --- a/dist/Interfaces/SuperAdmin/Deed.d.ts +++ b/dist/Interfaces/SuperAdmin/Deed.d.ts @@ -1,13 +1,5 @@ -import { DeedType } from "./DeedType"; -import { DeedHasDocumentType } from "./DeedHasDocumentType"; -import { OfficeFolder } from "./OfficeFolder"; +import { DeedClient } from "../.."; export declare namespace Deed { - class IDeed { - uuid: string; - deed_type: DeedType.IDeedType; - created_at: Date | null; - updated_at: Date | null; - deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[]; - office_folder?: OfficeFolder.IOfficeFolder; + class IDeed extends DeedClient.IDeed { } } diff --git a/dist/Interfaces/SuperAdmin/Deed.js b/dist/Interfaces/SuperAdmin/Deed.js index 4e98005..288a314 100644 --- a/dist/Interfaces/SuperAdmin/Deed.js +++ b/dist/Interfaces/SuperAdmin/Deed.js @@ -1,49 +1,10 @@ "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 }); exports.Deed = void 0; -const class_validator_1 = require("class-validator"); -const DeedType_1 = require("./DeedType"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var Deed; (function (Deed) { - class IDeed { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeed extends __1.DeedClient.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", DeedType_1.DeedType.IDeedType) - ], 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", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], IDeed.prototype, "office_folder", void 0); Deed.IDeed = IDeed; })(Deed = exports.Deed || (exports.Deed = {})); diff --git a/dist/Interfaces/SuperAdmin/DeedHasDocumentType.d.ts b/dist/Interfaces/SuperAdmin/DeedHasDocumentType.d.ts index b735b3d..a504480 100644 --- a/dist/Interfaces/SuperAdmin/DeedHasDocumentType.d.ts +++ b/dist/Interfaces/SuperAdmin/DeedHasDocumentType.d.ts @@ -1,11 +1,5 @@ -import { Deed } from "./Deed"; -import { DocumentType } from "./DocumentType"; +import { DeedHasDocumentTypeClient } from "../.."; export declare namespace DeedHasDocumentType { - class IDeedHasDocumentType { - uuid: string; - document_type: DocumentType.IDocumentType; - deed: Deed.IDeed; - created_at: Date | null; - updated_at: Date | null; + class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType { } } diff --git a/dist/Interfaces/SuperAdmin/DeedHasDocumentType.js b/dist/Interfaces/SuperAdmin/DeedHasDocumentType.js index eaa41d6..532e790 100644 --- a/dist/Interfaces/SuperAdmin/DeedHasDocumentType.js +++ b/dist/Interfaces/SuperAdmin/DeedHasDocumentType.js @@ -1,45 +1,10 @@ "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 }); exports.DeedHasDocumentType = void 0; -const class_validator_1 = require("class-validator"); -const Deed_1 = require("./Deed"); -const DocumentType_1 = require("./DocumentType"); +const __1 = require("../.."); var DeedHasDocumentType; (function (DeedHasDocumentType) { - class IDeedHasDocumentType { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.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", DocumentType_1.DocumentType.IDocumentType) - ], IDeedHasDocumentType.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Deed_1.Deed.IDeed) - ], 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); DeedHasDocumentType.IDeedHasDocumentType = IDeedHasDocumentType; })(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {})); diff --git a/dist/Interfaces/SuperAdmin/DeedType.d.ts b/dist/Interfaces/SuperAdmin/DeedType.d.ts index e06b132..b4b4adb 100644 --- a/dist/Interfaces/SuperAdmin/DeedType.d.ts +++ b/dist/Interfaces/SuperAdmin/DeedType.d.ts @@ -1,16 +1,5 @@ -import { Deed } from "./Deed"; -import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType"; -import { Office } from "./Office"; +import { DeedTypeClient } from "../.."; export declare namespace DeedType { - class IDeedType { - uuid: string; - name: string; - description: string; - archived_at: Date | null; - office: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - deed?: Deed.IDeed[]; - deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[]; + class IDeedType extends DeedTypeClient.IDeedType { } } diff --git a/dist/Interfaces/SuperAdmin/DeedType.js b/dist/Interfaces/SuperAdmin/DeedType.js index 4a6d74c..87546c1 100644 --- a/dist/Interfaces/SuperAdmin/DeedType.js +++ b/dist/Interfaces/SuperAdmin/DeedType.js @@ -1,61 +1,10 @@ "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 }); exports.DeedType = void 0; -const class_validator_1 = require("class-validator"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var DeedType; (function (DeedType) { - class IDeedType { - constructor() { - this.archived_at = null; - this.created_at = null; - this.updated_at = null; - } + class IDeedType extends __1.DeedTypeClient.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.IsDate)(), - __metadata("design:type", Object) - ], IDeedType.prototype, "archived_at", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], IDeedType.prototype, "office", void 0); - __decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) - ], IDeedType.prototype, "created_at", void 0); - __decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) - ], 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); DeedType.IDeedType = IDeedType; })(DeedType = exports.DeedType || (exports.DeedType = {})); diff --git a/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.d.ts b/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.d.ts index df6b74d..3df9bce 100644 --- a/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.d.ts +++ b/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.d.ts @@ -1,11 +1,5 @@ -import { DeedType } from "./DeedType"; -import { DocumentType } from "./DocumentType"; +import { DeedTypeHasDocumentTypeClient } from "../.."; export declare namespace DeedTypeHasDocumentType { - class IDeedTypeHasDocumentType { - uuid: string; - document_type: DocumentType.IDocumentType; - deed_type: DeedType.IDeedType; - created_at: Date | null; - updated_at: Date | null; + class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType { } } diff --git a/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.js b/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.js index d29810f..6a6807d 100644 --- a/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.js +++ b/dist/Interfaces/SuperAdmin/DeedTypeHasDocumentType.js @@ -1,45 +1,10 @@ "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 }); exports.DeedTypeHasDocumentType = void 0; -const class_validator_1 = require("class-validator"); -const DeedType_1 = require("./DeedType"); -const DocumentType_1 = require("./DocumentType"); +const __1 = require("../.."); var DeedTypeHasDocumentType; (function (DeedTypeHasDocumentType) { - class IDeedTypeHasDocumentType { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.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", DocumentType_1.DocumentType.IDocumentType) - ], IDeedTypeHasDocumentType.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", DeedType_1.DeedType.IDeedType) - ], 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); DeedTypeHasDocumentType.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType; })(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {})); diff --git a/dist/Interfaces/SuperAdmin/Document.d.ts b/dist/Interfaces/SuperAdmin/Document.d.ts index 09070d6..e88b12d 100644 --- a/dist/Interfaces/SuperAdmin/Document.d.ts +++ b/dist/Interfaces/SuperAdmin/Document.d.ts @@ -1,19 +1,5 @@ -import { Customer } from "./Customer"; -import { DocumentHistory } from "./DocumentHistory"; -import { DocumentType } from "./DocumentType"; -import { File } from "./File"; -import { OfficeFolder } from "./OfficeFolder"; -import { DocumentNotary } from "../.."; +import { DocumentClient } from "../.."; export declare namespace Document { - class IDocument { - uuid: string; - document_status: DocumentNotary.EDocumentStatus; - document_type: DocumentType.IDocumentType; - folder: OfficeFolder.IOfficeFolder; - depositor: Customer.ICustomer; - created_at: Date | null; - updated_at: Date | null; - files?: File.IFile[]; - document_history?: DocumentHistory.IDocumentHistory[]; + class IDocument extends DocumentClient.IDocument { } } diff --git a/dist/Interfaces/SuperAdmin/Document.js b/dist/Interfaces/SuperAdmin/Document.js index f8b0695..354ef3f 100644 --- a/dist/Interfaces/SuperAdmin/Document.js +++ b/dist/Interfaces/SuperAdmin/Document.js @@ -1,63 +1,10 @@ "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 }); exports.Document = void 0; -const class_validator_1 = require("class-validator"); -const Customer_1 = require("./Customer"); -const DocumentType_1 = require("./DocumentType"); -const OfficeFolder_1 = require("./OfficeFolder"); const __1 = require("../.."); var Document; (function (Document) { - class IDocument { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IDocument extends __1.DocumentClient.IDocument { } - __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", DocumentType_1.DocumentType.IDocumentType) - ], IDocument.prototype, "document_type", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], IDocument.prototype, "folder", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Customer_1.Customer.ICustomer) - ], 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); Document.IDocument = IDocument; })(Document = exports.Document || (exports.Document = {})); diff --git a/dist/Interfaces/SuperAdmin/DocumentHistory.d.ts b/dist/Interfaces/SuperAdmin/DocumentHistory.d.ts index a8d4a64..bd66cd6 100644 --- a/dist/Interfaces/SuperAdmin/DocumentHistory.d.ts +++ b/dist/Interfaces/SuperAdmin/DocumentHistory.d.ts @@ -1,11 +1,5 @@ -import { Document } from "../Notary/Document"; +import { DocumentHistoryClient } from "../.."; export declare namespace DocumentHistory { - class IDocumentHistory { - uuid: string; - document_status: Document.EDocumentStatus; - document: Document.IDocument; - refused_reason: string | null; - created_at: Date | null; - updated_at: Date | null; + class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory { } } diff --git a/dist/Interfaces/SuperAdmin/DocumentHistory.js b/dist/Interfaces/SuperAdmin/DocumentHistory.js index 4962eee..04dad08 100644 --- a/dist/Interfaces/SuperAdmin/DocumentHistory.js +++ b/dist/Interfaces/SuperAdmin/DocumentHistory.js @@ -1,49 +1,10 @@ "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 }); exports.DocumentHistory = void 0; -const class_validator_1 = require("class-validator"); -const Document_1 = require("../Notary/Document"); +const __1 = require("../.."); var DocumentHistory; (function (DocumentHistory) { - class IDocumentHistory { - constructor() { - this.refused_reason = null; - this.created_at = null; - this.updated_at = null; - } + class IDocumentHistory extends __1.DocumentHistoryClient.IDocumentHistory { } - __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", Document_1.Document.IDocument) - ], 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); DocumentHistory.IDocumentHistory = IDocumentHistory; })(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {})); diff --git a/dist/Interfaces/SuperAdmin/DocumentType.d.ts b/dist/Interfaces/SuperAdmin/DocumentType.d.ts index 941c152..b176a5e 100644 --- a/dist/Interfaces/SuperAdmin/DocumentType.d.ts +++ b/dist/Interfaces/SuperAdmin/DocumentType.d.ts @@ -1,17 +1,5 @@ -import { DeedHasDocumentType } from "./DeedHasDocumentType"; -import { Document } from "./Document"; -import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType"; +import { DocumentTypeClient } from "../.."; export declare namespace DocumentType { - 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?: Document.IDocument[]; - deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[]; - deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[]; + class IDocumentType extends DocumentTypeClient.IDocumentType { } } diff --git a/dist/Interfaces/SuperAdmin/DocumentType.js b/dist/Interfaces/SuperAdmin/DocumentType.js index a9a24d2..7909403 100644 --- a/dist/Interfaces/SuperAdmin/DocumentType.js +++ b/dist/Interfaces/SuperAdmin/DocumentType.js @@ -1,65 +1,10 @@ "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 }); exports.DocumentType = void 0; -const class_validator_1 = require("class-validator"); +const __1 = require("../.."); var DocumentType; (function (DocumentType) { - class IDocumentType { - constructor() { - this.private_description = null; - this.archived_at = null; - this.created_at = null; - this.updated_at = null; - } + class IDocumentType extends __1.DocumentTypeClient.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", 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); DocumentType.IDocumentType = IDocumentType; })(DocumentType = exports.DocumentType || (exports.DocumentType = {})); diff --git a/dist/Interfaces/SuperAdmin/File.d.ts b/dist/Interfaces/SuperAdmin/File.d.ts index a8cd4a9..f7d0a90 100644 --- a/dist/Interfaces/SuperAdmin/File.d.ts +++ b/dist/Interfaces/SuperAdmin/File.d.ts @@ -1,10 +1,5 @@ -import { Document } from "./Document"; +import { FileClient } from "../.."; export declare namespace File { - class IFile { - uuid: string; - document: Document.IDocument; - file_path: string | null; - created_at: Date | null; - updated_at: Date | null; + class IFile extends FileClient.IFile { } } diff --git a/dist/Interfaces/SuperAdmin/File.js b/dist/Interfaces/SuperAdmin/File.js index 492a936..f128c37 100644 --- a/dist/Interfaces/SuperAdmin/File.js +++ b/dist/Interfaces/SuperAdmin/File.js @@ -1,45 +1,10 @@ "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 }); exports.File = void 0; -const class_validator_1 = require("class-validator"); -const Document_1 = require("./Document"); +const __1 = require("../.."); var File; (function (File) { - class IFile { - constructor() { - this.file_path = null; - this.created_at = null; - this.updated_at = null; - } + class IFile extends __1.FileClient.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", Document_1.Document.IDocument) - ], 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); File.IFile = IFile; })(File = exports.File || (exports.File = {})); diff --git a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts deleted file mode 100644 index 327153f..0000000 --- a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Document } from "./Document"; -export default class IBlockchainAnchor { - uuid: string; - smartSigJobId: string; - created_at: Date | null; - updated_at: Date | null; - documents?: Document.IDocument[]; -} diff --git a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js deleted file mode 100644 index 810e018..0000000 --- a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const class_validator_1 = require("class-validator"); -class IBlockchainAnchor { - constructor() { - this.created_at = null; - this.updated_at = null; - } -} -__decorate([ - (0, class_validator_1.IsNotEmpty)(), - __metadata("design:type", String) -], IBlockchainAnchor.prototype, "uuid", void 0); -__decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", String) -], IBlockchainAnchor.prototype, "smartSigJobId", void 0); -__decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) -], IBlockchainAnchor.prototype, "created_at", void 0); -__decorate([ - (0, class_validator_1.IsDate)(), - __metadata("design:type", Object) -], IBlockchainAnchor.prototype, "updated_at", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Array) -], IBlockchainAnchor.prototype, "documents", void 0); -exports.default = IBlockchainAnchor; diff --git a/dist/Interfaces/SuperAdmin/Notification.d.ts b/dist/Interfaces/SuperAdmin/Notification.d.ts index b15e627..e4b065e 100644 --- a/dist/Interfaces/SuperAdmin/Notification.d.ts +++ b/dist/Interfaces/SuperAdmin/Notification.d.ts @@ -1,11 +1,5 @@ -import { UserHasNotification } from "./UserHasNotification"; +import { NotificationClient } from "../.."; export declare namespace Notification { - class INotification { - uuid: string; - message: string; - redirection_url: string; - created_at: Date | null; - updated_at: Date | null; - user_has_notifications?: UserHasNotification.IUserHasNotification[]; + class INotification extends NotificationClient.INotification { } } diff --git a/dist/Interfaces/SuperAdmin/Notification.js b/dist/Interfaces/SuperAdmin/Notification.js index 7985faf..d6294e6 100644 --- a/dist/Interfaces/SuperAdmin/Notification.js +++ b/dist/Interfaces/SuperAdmin/Notification.js @@ -1,48 +1,10 @@ "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 }); exports.Notification = void 0; -const class_validator_1 = require("class-validator"); +const __1 = require("../.."); var Notification; (function (Notification) { - class INotification { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class INotification extends __1.NotificationClient.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", 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); Notification.INotification = INotification; })(Notification = exports.Notification || (exports.Notification = {})); diff --git a/dist/Interfaces/SuperAdmin/Office.d.ts b/dist/Interfaces/SuperAdmin/Office.d.ts index 44d2d90..dc69382 100644 --- a/dist/Interfaces/SuperAdmin/Office.d.ts +++ b/dist/Interfaces/SuperAdmin/Office.d.ts @@ -1,20 +1,5 @@ -import { Address } from "./Address"; -import { DeedType } from "./DeedType"; -import { OfficeFolder } from "./OfficeFolder"; -import { User } from "./User"; -import { OfficeNotary } from "../.."; +import { OfficeClient } from "../.."; export declare namespace Office { - class IOffice { - uuid: string; - idNot: string; - name: string; - crpcen: string; - address: Address.IAddress; - office_status: OfficeNotary.EOfficeStatus; - created_at: Date | null; - updated_at: Date | null; - deed_types?: DeedType.IDeedType[]; - users?: User.IUser[]; - office_folders?: OfficeFolder.IOfficeFolder[]; + class IOffice extends OfficeClient.IOffice { } } diff --git a/dist/Interfaces/SuperAdmin/Office.js b/dist/Interfaces/SuperAdmin/Office.js index 5a55de5..e3b0233 100644 --- a/dist/Interfaces/SuperAdmin/Office.js +++ b/dist/Interfaces/SuperAdmin/Office.js @@ -1,69 +1,10 @@ "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 }); exports.Office = void 0; -const class_validator_1 = require("class-validator"); -const Address_1 = require("./Address"); const __1 = require("../.."); var Office; (function (Office) { - class IOffice { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOffice extends __1.OfficeClient.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", Address_1.Address.IAddress) - ], 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); Office.IOffice = IOffice; })(Office = exports.Office || (exports.Office = {})); diff --git a/dist/Interfaces/SuperAdmin/OfficeFolder.d.ts b/dist/Interfaces/SuperAdmin/OfficeFolder.d.ts index 879c030..f25baaf 100644 --- a/dist/Interfaces/SuperAdmin/OfficeFolder.d.ts +++ b/dist/Interfaces/SuperAdmin/OfficeFolder.d.ts @@ -1,23 +1,5 @@ -import { Deed } from "./Deed"; -import { Document } from "./Document"; -import { Office } from "./Office"; -import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; -import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; -import { OfficeFolderNotary } from "../.."; +import { OfficeFolderClient } from "../.."; export declare namespace OfficeFolder { - class IOfficeFolder { - uuid: string; - folder_number: string; - name: string; - description: string | null; - archived_description: string | null; - status: OfficeFolderNotary.EFolderStatus; - deed: Deed.IDeed; - office: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; - office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; - documents?: Document.IDocument[]; + class IOfficeFolder extends OfficeFolderClient.IOfficeFolder { } } diff --git a/dist/Interfaces/SuperAdmin/OfficeFolder.js b/dist/Interfaces/SuperAdmin/OfficeFolder.js index a37d503..2b76b32 100644 --- a/dist/Interfaces/SuperAdmin/OfficeFolder.js +++ b/dist/Interfaces/SuperAdmin/OfficeFolder.js @@ -1,80 +1,10 @@ "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 }); exports.OfficeFolder = void 0; -const class_validator_1 = require("class-validator"); -const Deed_1 = require("./Deed"); -const Office_1 = require("./Office"); const __1 = require("../.."); var OfficeFolder; (function (OfficeFolder) { - class IOfficeFolder { - constructor() { - this.description = null; - this.archived_description = null; - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolder extends __1.OfficeFolderClient.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", 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", Deed_1.Deed.IDeed) - ], IOfficeFolder.prototype, "deed", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], 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); OfficeFolder.IOfficeFolder = IOfficeFolder; })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); diff --git a/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.d.ts b/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.d.ts index d685eb7..4a987a1 100644 --- a/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.d.ts +++ b/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.d.ts @@ -1,11 +1,5 @@ -import { Customer } from "./Customer"; -import { OfficeFolder } from "./OfficeFolder"; +import { OfficeFolderHasCustomerClient } from "../.."; export declare namespace OfficeFolderHasCustomer { - class IOfficeFolderHasCustomer { - uuid: string; - customer: Customer.ICustomer; - office_folder: OfficeFolder.IOfficeFolder; - created_at: Date | null; - updated_at: Date | null; + class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer { } } diff --git a/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.js b/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.js index 30434e0..6985688 100644 --- a/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.js +++ b/dist/Interfaces/SuperAdmin/OfficeFolderHasCustomer.js @@ -1,45 +1,10 @@ "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 }); exports.OfficeFolderHasCustomer = void 0; -const class_validator_1 = require("class-validator"); -const Customer_1 = require("./Customer"); -const OfficeFolder_1 = require("./OfficeFolder"); +const __1 = require("../.."); var OfficeFolderHasCustomer; (function (OfficeFolderHasCustomer) { - class IOfficeFolderHasCustomer { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.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", Customer_1.Customer.ICustomer) - ], IOfficeFolderHasCustomer.prototype, "customer", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], 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); OfficeFolderHasCustomer.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer; })(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {})); diff --git a/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.d.ts b/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.d.ts index f8a03cb..e8643b2 100644 --- a/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.d.ts +++ b/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.d.ts @@ -1,11 +1,5 @@ -import { OfficeFolder } from "./OfficeFolder"; -import { User } from "./User"; +import { OfficeFolderHasStakeholderClient } from "../.."; export declare namespace OfficeFolderHasStakeholder { - class IOfficeFolderHasStakeholder { - uuid: string; - user_stakeholder: User.IUser; - office_folder: OfficeFolder.IOfficeFolder; - created_at: Date | null; - updated_at: Date | null; + class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder { } } diff --git a/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.js b/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.js index 5797cb5..66dfdbe 100644 --- a/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.js +++ b/dist/Interfaces/SuperAdmin/OfficeFolderHasStakeholder.js @@ -1,45 +1,10 @@ "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 }); exports.OfficeFolderHasStakeholder = void 0; -const class_validator_1 = require("class-validator"); -const OfficeFolder_1 = require("./OfficeFolder"); -const User_1 = require("./User"); +const __1 = require("../.."); var OfficeFolderHasStakeholder; (function (OfficeFolderHasStakeholder) { - class IOfficeFolderHasStakeholder { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.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", User_1.User.IUser) - ], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder) - ], 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); OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder; })(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {})); diff --git a/dist/Interfaces/SuperAdmin/User.d.ts b/dist/Interfaces/SuperAdmin/User.d.ts index f9b0225..236a41f 100644 --- a/dist/Interfaces/SuperAdmin/User.d.ts +++ b/dist/Interfaces/SuperAdmin/User.d.ts @@ -1,16 +1,5 @@ -import { Contact } from "./Contact"; -import { Document } from "./Document"; -import { Office } from "./Office"; -import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; +import { UserClient } from "../.."; export declare namespace User { - class IUser { - uuid: string; - idNot: string; - contact: Contact.IContact; - office_membership: Office.IOffice; - created_at: Date | null; - updated_at: Date | null; - office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; - documents?: Document.IDocument; + class IUser extends UserClient.IUser { } } diff --git a/dist/Interfaces/SuperAdmin/User.js b/dist/Interfaces/SuperAdmin/User.js index 4a397e9..d425e39 100644 --- a/dist/Interfaces/SuperAdmin/User.js +++ b/dist/Interfaces/SuperAdmin/User.js @@ -1,58 +1,10 @@ "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 }); exports.User = void 0; -const class_validator_1 = require("class-validator"); -const Contact_1 = require("./Contact"); -const Document_1 = require("./Document"); -const Office_1 = require("./Office"); +const __1 = require("../.."); var User; (function (User) { - class IUser { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IUser extends __1.UserClient.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", Contact_1.Contact.IContact) - ], IUser.prototype, "contact", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Office_1.Office.IOffice) - ], 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", Document_1.Document.IDocument) - ], IUser.prototype, "documents", void 0); User.IUser = IUser; })(User = exports.User || (exports.User = {})); diff --git a/dist/Interfaces/SuperAdmin/UserHasNotification.d.ts b/dist/Interfaces/SuperAdmin/UserHasNotification.d.ts index 90f5aee..feb65b4 100644 --- a/dist/Interfaces/SuperAdmin/UserHasNotification.d.ts +++ b/dist/Interfaces/SuperAdmin/UserHasNotification.d.ts @@ -1,12 +1,5 @@ -import { Notification } from "./Notification"; -import { User } from "./User"; +import { UserHasNotificationClient } from "../.."; export declare namespace UserHasNotification { - class IUserHasNotification { - uuid: string; - user: User.IUser; - notification: Notification.INotification; - created_at: Date | null; - updated_at: Date | null; + class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification { } - type ENotificationStatus = "READ" | "UNREAD"; } diff --git a/dist/Interfaces/SuperAdmin/UserHasNotification.js b/dist/Interfaces/SuperAdmin/UserHasNotification.js index c350575..258b557 100644 --- a/dist/Interfaces/SuperAdmin/UserHasNotification.js +++ b/dist/Interfaces/SuperAdmin/UserHasNotification.js @@ -1,45 +1,10 @@ "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 }); exports.UserHasNotification = void 0; -const class_validator_1 = require("class-validator"); -const Notification_1 = require("./Notification"); -const User_1 = require("./User"); +const __1 = require("../.."); var UserHasNotification; (function (UserHasNotification) { - class IUserHasNotification { - constructor() { - this.created_at = null; - this.updated_at = null; - } + class IUserHasNotification extends __1.UserHasNotificationClient.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", User_1.User.IUser) - ], IUserHasNotification.prototype, "user", void 0); - __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", Notification_1.Notification.INotification) - ], 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); UserHasNotification.IUserHasNotification = IUserHasNotification; })(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {})); diff --git a/dist/index.d.ts b/dist/index.d.ts index e334ec9..260295e 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,3 +1,21 @@ +export { Address as AddressClient } from "./Interfaces/Client/Address"; +export { Contact as ContactClient } from "./Interfaces/Client/Contact"; +export { Customer as CustomerClient } from "./Interfaces/Client/Customer"; +export { Deed as DeedClient } from "./Interfaces/Client/Deed"; +export { DeedHasDocumentType as DeedHasDocumentTypeClient } from "./Interfaces/Client/DeedHasDocumentType"; +export { DeedType as DeedTypeClient } from "./Interfaces/Client/DeedType"; +export { DeedTypeHasDocumentType as DeedTypeHasDocumentTypeClient } from "./Interfaces/Client/DeedTypeHasDocumentType"; +export { Document as DocumentClient } from "./Interfaces/Client/Document"; +export { DocumentHistory as DocumentHistoryClient } from "./Interfaces/Client/DocumentHistory"; +export { DocumentType as DocumentTypeClient } from "./Interfaces/Client/DocumentType"; +export { File as FileClient } from "./Interfaces/Client/File"; +export { Notification as NotificationClient } from "./Interfaces/Client/Notification"; +export { Office as OfficeClient } from "./Interfaces/Client/Office"; +export { OfficeFolder as OfficeFolderClient } from "./Interfaces/Client/OfficeFolder"; +export { OfficeFolderHasCustomer as OfficeFolderHasCustomerClient } from "./Interfaces/Client/OfficeFolderHasCustomer"; +export { OfficeFolderHasStakeholder as OfficeFolderHasStakeholderClient } from "./Interfaces/Client/OfficeFolderHasStakeholder"; +export { User as UserClient } from "./Interfaces/Client/User"; +export { UserHasNotification as UserHasNotificationClient } from "./Interfaces/Client/UserHasNotification"; export { Address as AddressNotary } from "./Interfaces/Notary/Address"; export { Contact as ContactNotary } from "./Interfaces/Notary/Contact"; export { Customer as CustomerNotary } from "./Interfaces/Notary/Customer"; @@ -34,24 +52,6 @@ export { OfficeFolderHasCustomer as OfficeFolderHasCustomerAdmin } from "./Inter export { OfficeFolderHasStakeholder as OfficeFolderHasStakeholderAdmin } from "./Interfaces/Admin/OfficeFolderHasStakeholder"; export { User as UserAdmin } from "./Interfaces/Admin/User"; export { UserHasNotification as UserHasNotificationAdmin } from "./Interfaces/Admin/UserHasNotification"; -export { Address as AddressClient } from "./Interfaces/Client/Address"; -export { Contact as ContactClient } from "./Interfaces/Client/Contact"; -export { Customer as ClientClient } from "./Interfaces/Client/Customer"; -export { Deed as DeedClient } from "./Interfaces/Client/Deed"; -export { DeedHasDocumentType as DeedHasDocumentTypeClient } from "./Interfaces/Client/DeedHasDocumentType"; -export { DeedType as DeedTypeClient } from "./Interfaces/Client/DeedType"; -export { DeedTypeHasDocumentType as DeedTypeHasDocumentTypeClient } from "./Interfaces/Client/DeedTypeHasDocumentType"; -export { Document as DocumentClient } from "./Interfaces/Client/Document"; -export { DocumentHistory as DocumentHistoryClient } from "./Interfaces/Client/DocumentHistory"; -export { DocumentType as DocumentTypeClient } from "./Interfaces/Client/DocumentType"; -export { File as FileClient } from "./Interfaces/Client/File"; -export { Notification as NotificationClient } from "./Interfaces/Client/Notification"; -export { Office as OfficeClient } from "./Interfaces/Client/Office"; -export { OfficeFolder as OfficeFolderClient } from "./Interfaces/Client/OfficeFolder"; -export { OfficeFolderHasCustomer as OfficeFolderHasClientClient } from "./Interfaces/Client/OfficeFolderHasCustomer"; -export { OfficeFolderHasStakeholder as OfficeFolderHasStakeholderClient } from "./Interfaces/Client/OfficeFolderHasStakeholder"; -export { User as UserClient } from "./Interfaces/Client/User"; -export { UserHasNotification as UserHasNotificationClient } from "./Interfaces/Client/UserHasNotification"; export { Address as AddressSuperAdmin } from "./Interfaces/SuperAdmin/Address"; export { Contact as ContactSuperAdmin } from "./Interfaces/SuperAdmin/Contact"; export { Customer as SuperAdminSuperAdmin } from "./Interfaces/SuperAdmin/Customer"; diff --git a/dist/index.js b/dist/index.js index 464a200..1b3b188 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,115 +1,115 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.OfficeFolderClient = exports.OfficeClient = exports.NotificationClient = exports.FileClient = exports.DocumentTypeClient = exports.DocumentHistoryClient = exports.DocumentClient = exports.DeedTypeHasDocumentTypeClient = exports.DeedTypeClient = exports.DeedHasDocumentTypeClient = exports.DeedClient = exports.ClientClient = exports.ContactClient = exports.AddressClient = exports.UserHasNotificationAdmin = exports.UserAdmin = exports.OfficeFolderHasStakeholderAdmin = exports.OfficeFolderHasCustomerAdmin = exports.OfficeFolderAdmin = exports.OfficeAdmin = exports.NotificationAdmin = exports.FileAdmin = exports.DocumentTypeAdmin = exports.DocumentHistoryAdmin = exports.DocumentAdmin = exports.DeedTypeHasDocumentTypeAdmin = exports.DeedTypeAdmin = exports.DeedHasDocumentTypeAdmin = exports.DeedAdmin = exports.CustomerAdmin = exports.ContactAdmin = exports.AddressAdmin = exports.UserHasNotificationNotary = exports.UserNotary = exports.OfficeFolderHasStakeholderNotary = exports.OfficeFolderHasCustomerNotary = exports.OfficeFolderNotary = exports.OfficeNotary = exports.NotificationNotary = exports.FileNotary = exports.DocumentTypeNotary = exports.DocumentHistoryNotary = exports.DocumentNotary = exports.DeedTypeHasDocumentTypeNotary = exports.DeedTypeNotary = exports.DeedHasDocumentTypeNotary = exports.DeedNotary = exports.CustomerNotary = exports.ContactNotary = exports.AddressNotary = void 0; -exports.UserHasNotificationSuperAdmin = exports.UserSuperAdmin = exports.OfficeFolderHasStakeholderSuperAdmin = exports.OfficeFolderHasSuperAdminSuperAdmin = exports.OfficeFolderSuperAdmin = exports.OfficeSuperAdmin = exports.NotificationSuperAdmin = exports.FileSuperAdmin = exports.DocumentTypeSuperAdmin = exports.DocumentHistorySuperAdmin = exports.DocumentSuperAdmin = exports.DeedTypeHasDocumentTypeSuperAdmin = exports.DeedTypeSuperAdmin = exports.DeedHasDocumentTypeSuperAdmin = exports.DeedSuperAdmin = exports.SuperAdminSuperAdmin = exports.ContactSuperAdmin = exports.AddressSuperAdmin = exports.UserHasNotificationClient = exports.UserClient = exports.OfficeFolderHasStakeholderClient = exports.OfficeFolderHasClientClient = void 0; -var Address_1 = require("./Interfaces/Notary/Address"); -Object.defineProperty(exports, "AddressNotary", { enumerable: true, get: function () { return Address_1.Address; } }); -var Contact_1 = require("./Interfaces/Notary/Contact"); -Object.defineProperty(exports, "ContactNotary", { enumerable: true, get: function () { return Contact_1.Contact; } }); -var Customer_1 = require("./Interfaces/Notary/Customer"); -Object.defineProperty(exports, "CustomerNotary", { enumerable: true, get: function () { return Customer_1.Customer; } }); -var Deed_1 = require("./Interfaces/Notary/Deed"); -Object.defineProperty(exports, "DeedNotary", { enumerable: true, get: function () { return Deed_1.Deed; } }); -var DeedHasDocumentType_1 = require("./Interfaces/Notary/DeedHasDocumentType"); -Object.defineProperty(exports, "DeedHasDocumentTypeNotary", { enumerable: true, get: function () { return DeedHasDocumentType_1.DeedHasDocumentType; } }); -var DeedType_1 = require("./Interfaces/Notary/DeedType"); -Object.defineProperty(exports, "DeedTypeNotary", { enumerable: true, get: function () { return DeedType_1.DeedType; } }); -var DeedTypeHasDocumentType_1 = require("./Interfaces/Notary/DeedTypeHasDocumentType"); -Object.defineProperty(exports, "DeedTypeHasDocumentTypeNotary", { enumerable: true, get: function () { return DeedTypeHasDocumentType_1.DeedTypeHasDocumentType; } }); -var Document_1 = require("./Interfaces/Notary/Document"); -Object.defineProperty(exports, "DocumentNotary", { enumerable: true, get: function () { return Document_1.Document; } }); -var DocumentHistory_1 = require("./Interfaces/Notary/DocumentHistory"); -Object.defineProperty(exports, "DocumentHistoryNotary", { enumerable: true, get: function () { return DocumentHistory_1.DocumentHistory; } }); -var DocumentType_1 = require("./Interfaces/Notary/DocumentType"); -Object.defineProperty(exports, "DocumentTypeNotary", { enumerable: true, get: function () { return DocumentType_1.DocumentType; } }); -var File_1 = require("./Interfaces/Notary/File"); -Object.defineProperty(exports, "FileNotary", { enumerable: true, get: function () { return File_1.File; } }); -var Notification_1 = require("./Interfaces/Notary/Notification"); -Object.defineProperty(exports, "NotificationNotary", { enumerable: true, get: function () { return Notification_1.Notification; } }); -var Office_1 = require("./Interfaces/Notary/Office"); -Object.defineProperty(exports, "OfficeNotary", { enumerable: true, get: function () { return Office_1.Office; } }); -var OfficeFolder_1 = require("./Interfaces/Notary/OfficeFolder"); -Object.defineProperty(exports, "OfficeFolderNotary", { enumerable: true, get: function () { return OfficeFolder_1.OfficeFolder; } }); -var OfficeFolderHasCustomer_1 = require("./Interfaces/Notary/OfficeFolderHasCustomer"); -Object.defineProperty(exports, "OfficeFolderHasCustomerNotary", { enumerable: true, get: function () { return OfficeFolderHasCustomer_1.OfficeFolderHasCustomer; } }); -var OfficeFolderHasStakeholder_1 = require("./Interfaces/Notary/OfficeFolderHasStakeholder"); -Object.defineProperty(exports, "OfficeFolderHasStakeholderNotary", { enumerable: true, get: function () { return OfficeFolderHasStakeholder_1.OfficeFolderHasStakeholder; } }); -var User_1 = require("./Interfaces/Notary/User"); -Object.defineProperty(exports, "UserNotary", { enumerable: true, get: function () { return User_1.User; } }); -var UserHasNotification_1 = require("./Interfaces/Notary/UserHasNotification"); -Object.defineProperty(exports, "UserHasNotificationNotary", { enumerable: true, get: function () { return UserHasNotification_1.UserHasNotification; } }); -var Address_2 = require("./Interfaces/Admin/Address"); -Object.defineProperty(exports, "AddressAdmin", { enumerable: true, get: function () { return Address_2.Address; } }); -var Contact_2 = require("./Interfaces/Admin/Contact"); -Object.defineProperty(exports, "ContactAdmin", { enumerable: true, get: function () { return Contact_2.Contact; } }); -var Customer_2 = require("./Interfaces/Admin/Customer"); -Object.defineProperty(exports, "CustomerAdmin", { enumerable: true, get: function () { return Customer_2.Customer; } }); -var Deed_2 = require("./Interfaces/Admin/Deed"); -Object.defineProperty(exports, "DeedAdmin", { enumerable: true, get: function () { return Deed_2.Deed; } }); -var DeedHasDocumentType_2 = require("./Interfaces/Admin/DeedHasDocumentType"); -Object.defineProperty(exports, "DeedHasDocumentTypeAdmin", { enumerable: true, get: function () { return DeedHasDocumentType_2.DeedHasDocumentType; } }); -var DeedType_2 = require("./Interfaces/Admin/DeedType"); -Object.defineProperty(exports, "DeedTypeAdmin", { enumerable: true, get: function () { return DeedType_2.DeedType; } }); -var DeedTypeHasDocumentType_2 = require("./Interfaces/Admin/DeedTypeHasDocumentType"); -Object.defineProperty(exports, "DeedTypeHasDocumentTypeAdmin", { enumerable: true, get: function () { return DeedTypeHasDocumentType_2.DeedTypeHasDocumentType; } }); -var Document_2 = require("./Interfaces/Admin/Document"); -Object.defineProperty(exports, "DocumentAdmin", { enumerable: true, get: function () { return Document_2.Document; } }); -var DocumentHistory_2 = require("./Interfaces/Admin/DocumentHistory"); -Object.defineProperty(exports, "DocumentHistoryAdmin", { enumerable: true, get: function () { return DocumentHistory_2.DocumentHistory; } }); -var DocumentType_2 = require("./Interfaces/Admin/DocumentType"); -Object.defineProperty(exports, "DocumentTypeAdmin", { enumerable: true, get: function () { return DocumentType_2.DocumentType; } }); -var File_2 = require("./Interfaces/Admin/File"); -Object.defineProperty(exports, "FileAdmin", { enumerable: true, get: function () { return File_2.File; } }); -var Notification_2 = require("./Interfaces/Admin/Notification"); -Object.defineProperty(exports, "NotificationAdmin", { enumerable: true, get: function () { return Notification_2.Notification; } }); -var Office_2 = require("./Interfaces/Admin/Office"); -Object.defineProperty(exports, "OfficeAdmin", { enumerable: true, get: function () { return Office_2.Office; } }); -var OfficeFolder_2 = require("./Interfaces/Admin/OfficeFolder"); -Object.defineProperty(exports, "OfficeFolderAdmin", { enumerable: true, get: function () { return OfficeFolder_2.OfficeFolder; } }); -var OfficeFolderHasCustomer_2 = require("./Interfaces/Admin/OfficeFolderHasCustomer"); -Object.defineProperty(exports, "OfficeFolderHasCustomerAdmin", { enumerable: true, get: function () { return OfficeFolderHasCustomer_2.OfficeFolderHasCustomer; } }); -var OfficeFolderHasStakeholder_2 = require("./Interfaces/Admin/OfficeFolderHasStakeholder"); -Object.defineProperty(exports, "OfficeFolderHasStakeholderAdmin", { enumerable: true, get: function () { return OfficeFolderHasStakeholder_2.OfficeFolderHasStakeholder; } }); -var User_2 = require("./Interfaces/Admin/User"); -Object.defineProperty(exports, "UserAdmin", { enumerable: true, get: function () { return User_2.User; } }); -var UserHasNotification_2 = require("./Interfaces/Admin/UserHasNotification"); -Object.defineProperty(exports, "UserHasNotificationAdmin", { enumerable: true, get: function () { return UserHasNotification_2.UserHasNotification; } }); -var Address_3 = require("./Interfaces/Client/Address"); -Object.defineProperty(exports, "AddressClient", { enumerable: true, get: function () { return Address_3.Address; } }); -var Contact_3 = require("./Interfaces/Client/Contact"); -Object.defineProperty(exports, "ContactClient", { enumerable: true, get: function () { return Contact_3.Contact; } }); -var Customer_3 = require("./Interfaces/Client/Customer"); -Object.defineProperty(exports, "ClientClient", { enumerable: true, get: function () { return Customer_3.Customer; } }); -var Deed_3 = require("./Interfaces/Client/Deed"); -Object.defineProperty(exports, "DeedClient", { enumerable: true, get: function () { return Deed_3.Deed; } }); -var DeedHasDocumentType_3 = require("./Interfaces/Client/DeedHasDocumentType"); -Object.defineProperty(exports, "DeedHasDocumentTypeClient", { enumerable: true, get: function () { return DeedHasDocumentType_3.DeedHasDocumentType; } }); -var DeedType_3 = require("./Interfaces/Client/DeedType"); -Object.defineProperty(exports, "DeedTypeClient", { enumerable: true, get: function () { return DeedType_3.DeedType; } }); -var DeedTypeHasDocumentType_3 = require("./Interfaces/Client/DeedTypeHasDocumentType"); -Object.defineProperty(exports, "DeedTypeHasDocumentTypeClient", { enumerable: true, get: function () { return DeedTypeHasDocumentType_3.DeedTypeHasDocumentType; } }); -var Document_3 = require("./Interfaces/Client/Document"); -Object.defineProperty(exports, "DocumentClient", { enumerable: true, get: function () { return Document_3.Document; } }); -var DocumentHistory_3 = require("./Interfaces/Client/DocumentHistory"); -Object.defineProperty(exports, "DocumentHistoryClient", { enumerable: true, get: function () { return DocumentHistory_3.DocumentHistory; } }); -var DocumentType_3 = require("./Interfaces/Client/DocumentType"); -Object.defineProperty(exports, "DocumentTypeClient", { enumerable: true, get: function () { return DocumentType_3.DocumentType; } }); -var File_3 = require("./Interfaces/Client/File"); -Object.defineProperty(exports, "FileClient", { enumerable: true, get: function () { return File_3.File; } }); -var Notification_3 = require("./Interfaces/Client/Notification"); -Object.defineProperty(exports, "NotificationClient", { enumerable: true, get: function () { return Notification_3.Notification; } }); -var Office_3 = require("./Interfaces/Client/Office"); -Object.defineProperty(exports, "OfficeClient", { enumerable: true, get: function () { return Office_3.Office; } }); -var OfficeFolder_3 = require("./Interfaces/Client/OfficeFolder"); -Object.defineProperty(exports, "OfficeFolderClient", { enumerable: true, get: function () { return OfficeFolder_3.OfficeFolder; } }); -var OfficeFolderHasCustomer_3 = require("./Interfaces/Client/OfficeFolderHasCustomer"); -Object.defineProperty(exports, "OfficeFolderHasClientClient", { enumerable: true, get: function () { return OfficeFolderHasCustomer_3.OfficeFolderHasCustomer; } }); -var OfficeFolderHasStakeholder_3 = require("./Interfaces/Client/OfficeFolderHasStakeholder"); -Object.defineProperty(exports, "OfficeFolderHasStakeholderClient", { enumerable: true, get: function () { return OfficeFolderHasStakeholder_3.OfficeFolderHasStakeholder; } }); -var User_3 = require("./Interfaces/Client/User"); -Object.defineProperty(exports, "UserClient", { enumerable: true, get: function () { return User_3.User; } }); -var UserHasNotification_3 = require("./Interfaces/Client/UserHasNotification"); -Object.defineProperty(exports, "UserHasNotificationClient", { enumerable: true, get: function () { return UserHasNotification_3.UserHasNotification; } }); +exports.OfficeFolderAdmin = exports.OfficeAdmin = exports.NotificationAdmin = exports.FileAdmin = exports.DocumentTypeAdmin = exports.DocumentHistoryAdmin = exports.DocumentAdmin = exports.DeedTypeHasDocumentTypeAdmin = exports.DeedTypeAdmin = exports.DeedHasDocumentTypeAdmin = exports.DeedAdmin = exports.CustomerAdmin = exports.ContactAdmin = exports.AddressAdmin = exports.UserHasNotificationNotary = exports.UserNotary = exports.OfficeFolderHasStakeholderNotary = exports.OfficeFolderHasCustomerNotary = exports.OfficeFolderNotary = exports.OfficeNotary = exports.NotificationNotary = exports.FileNotary = exports.DocumentTypeNotary = exports.DocumentHistoryNotary = exports.DocumentNotary = exports.DeedTypeHasDocumentTypeNotary = exports.DeedTypeNotary = exports.DeedHasDocumentTypeNotary = exports.DeedNotary = exports.CustomerNotary = exports.ContactNotary = exports.AddressNotary = exports.UserHasNotificationClient = exports.UserClient = exports.OfficeFolderHasStakeholderClient = exports.OfficeFolderHasCustomerClient = exports.OfficeFolderClient = exports.OfficeClient = exports.NotificationClient = exports.FileClient = exports.DocumentTypeClient = exports.DocumentHistoryClient = exports.DocumentClient = exports.DeedTypeHasDocumentTypeClient = exports.DeedTypeClient = exports.DeedHasDocumentTypeClient = exports.DeedClient = exports.CustomerClient = exports.ContactClient = exports.AddressClient = void 0; +exports.UserHasNotificationSuperAdmin = exports.UserSuperAdmin = exports.OfficeFolderHasStakeholderSuperAdmin = exports.OfficeFolderHasSuperAdminSuperAdmin = exports.OfficeFolderSuperAdmin = exports.OfficeSuperAdmin = exports.NotificationSuperAdmin = exports.FileSuperAdmin = exports.DocumentTypeSuperAdmin = exports.DocumentHistorySuperAdmin = exports.DocumentSuperAdmin = exports.DeedTypeHasDocumentTypeSuperAdmin = exports.DeedTypeSuperAdmin = exports.DeedHasDocumentTypeSuperAdmin = exports.DeedSuperAdmin = exports.SuperAdminSuperAdmin = exports.ContactSuperAdmin = exports.AddressSuperAdmin = exports.UserHasNotificationAdmin = exports.UserAdmin = exports.OfficeFolderHasStakeholderAdmin = exports.OfficeFolderHasCustomerAdmin = void 0; +var Address_1 = require("./Interfaces/Client/Address"); +Object.defineProperty(exports, "AddressClient", { enumerable: true, get: function () { return Address_1.Address; } }); +var Contact_1 = require("./Interfaces/Client/Contact"); +Object.defineProperty(exports, "ContactClient", { enumerable: true, get: function () { return Contact_1.Contact; } }); +var Customer_1 = require("./Interfaces/Client/Customer"); +Object.defineProperty(exports, "CustomerClient", { enumerable: true, get: function () { return Customer_1.Customer; } }); +var Deed_1 = require("./Interfaces/Client/Deed"); +Object.defineProperty(exports, "DeedClient", { enumerable: true, get: function () { return Deed_1.Deed; } }); +var DeedHasDocumentType_1 = require("./Interfaces/Client/DeedHasDocumentType"); +Object.defineProperty(exports, "DeedHasDocumentTypeClient", { enumerable: true, get: function () { return DeedHasDocumentType_1.DeedHasDocumentType; } }); +var DeedType_1 = require("./Interfaces/Client/DeedType"); +Object.defineProperty(exports, "DeedTypeClient", { enumerable: true, get: function () { return DeedType_1.DeedType; } }); +var DeedTypeHasDocumentType_1 = require("./Interfaces/Client/DeedTypeHasDocumentType"); +Object.defineProperty(exports, "DeedTypeHasDocumentTypeClient", { enumerable: true, get: function () { return DeedTypeHasDocumentType_1.DeedTypeHasDocumentType; } }); +var Document_1 = require("./Interfaces/Client/Document"); +Object.defineProperty(exports, "DocumentClient", { enumerable: true, get: function () { return Document_1.Document; } }); +var DocumentHistory_1 = require("./Interfaces/Client/DocumentHistory"); +Object.defineProperty(exports, "DocumentHistoryClient", { enumerable: true, get: function () { return DocumentHistory_1.DocumentHistory; } }); +var DocumentType_1 = require("./Interfaces/Client/DocumentType"); +Object.defineProperty(exports, "DocumentTypeClient", { enumerable: true, get: function () { return DocumentType_1.DocumentType; } }); +var File_1 = require("./Interfaces/Client/File"); +Object.defineProperty(exports, "FileClient", { enumerable: true, get: function () { return File_1.File; } }); +var Notification_1 = require("./Interfaces/Client/Notification"); +Object.defineProperty(exports, "NotificationClient", { enumerable: true, get: function () { return Notification_1.Notification; } }); +var Office_1 = require("./Interfaces/Client/Office"); +Object.defineProperty(exports, "OfficeClient", { enumerable: true, get: function () { return Office_1.Office; } }); +var OfficeFolder_1 = require("./Interfaces/Client/OfficeFolder"); +Object.defineProperty(exports, "OfficeFolderClient", { enumerable: true, get: function () { return OfficeFolder_1.OfficeFolder; } }); +var OfficeFolderHasCustomer_1 = require("./Interfaces/Client/OfficeFolderHasCustomer"); +Object.defineProperty(exports, "OfficeFolderHasCustomerClient", { enumerable: true, get: function () { return OfficeFolderHasCustomer_1.OfficeFolderHasCustomer; } }); +var OfficeFolderHasStakeholder_1 = require("./Interfaces/Client/OfficeFolderHasStakeholder"); +Object.defineProperty(exports, "OfficeFolderHasStakeholderClient", { enumerable: true, get: function () { return OfficeFolderHasStakeholder_1.OfficeFolderHasStakeholder; } }); +var User_1 = require("./Interfaces/Client/User"); +Object.defineProperty(exports, "UserClient", { enumerable: true, get: function () { return User_1.User; } }); +var UserHasNotification_1 = require("./Interfaces/Client/UserHasNotification"); +Object.defineProperty(exports, "UserHasNotificationClient", { enumerable: true, get: function () { return UserHasNotification_1.UserHasNotification; } }); +var Address_2 = require("./Interfaces/Notary/Address"); +Object.defineProperty(exports, "AddressNotary", { enumerable: true, get: function () { return Address_2.Address; } }); +var Contact_2 = require("./Interfaces/Notary/Contact"); +Object.defineProperty(exports, "ContactNotary", { enumerable: true, get: function () { return Contact_2.Contact; } }); +var Customer_2 = require("./Interfaces/Notary/Customer"); +Object.defineProperty(exports, "CustomerNotary", { enumerable: true, get: function () { return Customer_2.Customer; } }); +var Deed_2 = require("./Interfaces/Notary/Deed"); +Object.defineProperty(exports, "DeedNotary", { enumerable: true, get: function () { return Deed_2.Deed; } }); +var DeedHasDocumentType_2 = require("./Interfaces/Notary/DeedHasDocumentType"); +Object.defineProperty(exports, "DeedHasDocumentTypeNotary", { enumerable: true, get: function () { return DeedHasDocumentType_2.DeedHasDocumentType; } }); +var DeedType_2 = require("./Interfaces/Notary/DeedType"); +Object.defineProperty(exports, "DeedTypeNotary", { enumerable: true, get: function () { return DeedType_2.DeedType; } }); +var DeedTypeHasDocumentType_2 = require("./Interfaces/Notary/DeedTypeHasDocumentType"); +Object.defineProperty(exports, "DeedTypeHasDocumentTypeNotary", { enumerable: true, get: function () { return DeedTypeHasDocumentType_2.DeedTypeHasDocumentType; } }); +var Document_2 = require("./Interfaces/Notary/Document"); +Object.defineProperty(exports, "DocumentNotary", { enumerable: true, get: function () { return Document_2.Document; } }); +var DocumentHistory_2 = require("./Interfaces/Notary/DocumentHistory"); +Object.defineProperty(exports, "DocumentHistoryNotary", { enumerable: true, get: function () { return DocumentHistory_2.DocumentHistory; } }); +var DocumentType_2 = require("./Interfaces/Notary/DocumentType"); +Object.defineProperty(exports, "DocumentTypeNotary", { enumerable: true, get: function () { return DocumentType_2.DocumentType; } }); +var File_2 = require("./Interfaces/Notary/File"); +Object.defineProperty(exports, "FileNotary", { enumerable: true, get: function () { return File_2.File; } }); +var Notification_2 = require("./Interfaces/Notary/Notification"); +Object.defineProperty(exports, "NotificationNotary", { enumerable: true, get: function () { return Notification_2.Notification; } }); +var Office_2 = require("./Interfaces/Notary/Office"); +Object.defineProperty(exports, "OfficeNotary", { enumerable: true, get: function () { return Office_2.Office; } }); +var OfficeFolder_2 = require("./Interfaces/Notary/OfficeFolder"); +Object.defineProperty(exports, "OfficeFolderNotary", { enumerable: true, get: function () { return OfficeFolder_2.OfficeFolder; } }); +var OfficeFolderHasCustomer_2 = require("./Interfaces/Notary/OfficeFolderHasCustomer"); +Object.defineProperty(exports, "OfficeFolderHasCustomerNotary", { enumerable: true, get: function () { return OfficeFolderHasCustomer_2.OfficeFolderHasCustomer; } }); +var OfficeFolderHasStakeholder_2 = require("./Interfaces/Notary/OfficeFolderHasStakeholder"); +Object.defineProperty(exports, "OfficeFolderHasStakeholderNotary", { enumerable: true, get: function () { return OfficeFolderHasStakeholder_2.OfficeFolderHasStakeholder; } }); +var User_2 = require("./Interfaces/Notary/User"); +Object.defineProperty(exports, "UserNotary", { enumerable: true, get: function () { return User_2.User; } }); +var UserHasNotification_2 = require("./Interfaces/Notary/UserHasNotification"); +Object.defineProperty(exports, "UserHasNotificationNotary", { enumerable: true, get: function () { return UserHasNotification_2.UserHasNotification; } }); +var Address_3 = require("./Interfaces/Admin/Address"); +Object.defineProperty(exports, "AddressAdmin", { enumerable: true, get: function () { return Address_3.Address; } }); +var Contact_3 = require("./Interfaces/Admin/Contact"); +Object.defineProperty(exports, "ContactAdmin", { enumerable: true, get: function () { return Contact_3.Contact; } }); +var Customer_3 = require("./Interfaces/Admin/Customer"); +Object.defineProperty(exports, "CustomerAdmin", { enumerable: true, get: function () { return Customer_3.Customer; } }); +var Deed_3 = require("./Interfaces/Admin/Deed"); +Object.defineProperty(exports, "DeedAdmin", { enumerable: true, get: function () { return Deed_3.Deed; } }); +var DeedHasDocumentType_3 = require("./Interfaces/Admin/DeedHasDocumentType"); +Object.defineProperty(exports, "DeedHasDocumentTypeAdmin", { enumerable: true, get: function () { return DeedHasDocumentType_3.DeedHasDocumentType; } }); +var DeedType_3 = require("./Interfaces/Admin/DeedType"); +Object.defineProperty(exports, "DeedTypeAdmin", { enumerable: true, get: function () { return DeedType_3.DeedType; } }); +var DeedTypeHasDocumentType_3 = require("./Interfaces/Admin/DeedTypeHasDocumentType"); +Object.defineProperty(exports, "DeedTypeHasDocumentTypeAdmin", { enumerable: true, get: function () { return DeedTypeHasDocumentType_3.DeedTypeHasDocumentType; } }); +var Document_3 = require("./Interfaces/Admin/Document"); +Object.defineProperty(exports, "DocumentAdmin", { enumerable: true, get: function () { return Document_3.Document; } }); +var DocumentHistory_3 = require("./Interfaces/Admin/DocumentHistory"); +Object.defineProperty(exports, "DocumentHistoryAdmin", { enumerable: true, get: function () { return DocumentHistory_3.DocumentHistory; } }); +var DocumentType_3 = require("./Interfaces/Admin/DocumentType"); +Object.defineProperty(exports, "DocumentTypeAdmin", { enumerable: true, get: function () { return DocumentType_3.DocumentType; } }); +var File_3 = require("./Interfaces/Admin/File"); +Object.defineProperty(exports, "FileAdmin", { enumerable: true, get: function () { return File_3.File; } }); +var Notification_3 = require("./Interfaces/Admin/Notification"); +Object.defineProperty(exports, "NotificationAdmin", { enumerable: true, get: function () { return Notification_3.Notification; } }); +var Office_3 = require("./Interfaces/Admin/Office"); +Object.defineProperty(exports, "OfficeAdmin", { enumerable: true, get: function () { return Office_3.Office; } }); +var OfficeFolder_3 = require("./Interfaces/Admin/OfficeFolder"); +Object.defineProperty(exports, "OfficeFolderAdmin", { enumerable: true, get: function () { return OfficeFolder_3.OfficeFolder; } }); +var OfficeFolderHasCustomer_3 = require("./Interfaces/Admin/OfficeFolderHasCustomer"); +Object.defineProperty(exports, "OfficeFolderHasCustomerAdmin", { enumerable: true, get: function () { return OfficeFolderHasCustomer_3.OfficeFolderHasCustomer; } }); +var OfficeFolderHasStakeholder_3 = require("./Interfaces/Admin/OfficeFolderHasStakeholder"); +Object.defineProperty(exports, "OfficeFolderHasStakeholderAdmin", { enumerable: true, get: function () { return OfficeFolderHasStakeholder_3.OfficeFolderHasStakeholder; } }); +var User_3 = require("./Interfaces/Admin/User"); +Object.defineProperty(exports, "UserAdmin", { enumerable: true, get: function () { return User_3.User; } }); +var UserHasNotification_3 = require("./Interfaces/Admin/UserHasNotification"); +Object.defineProperty(exports, "UserHasNotificationAdmin", { enumerable: true, get: function () { return UserHasNotification_3.UserHasNotification; } }); var Address_4 = require("./Interfaces/SuperAdmin/Address"); Object.defineProperty(exports, "AddressSuperAdmin", { enumerable: true, get: function () { return Address_4.Address; } }); var Contact_4 = require("./Interfaces/SuperAdmin/Contact"); diff --git a/src/Interfaces/Admin/Customer.ts b/src/Interfaces/Admin/Customer.ts index 5cc1729..113d813 100644 --- a/src/Interfaces/Admin/Customer.ts +++ b/src/Interfaces/Admin/Customer.ts @@ -1,4 +1,4 @@ -import { CustomerClient, CustomerNotary } from "../.."; +import { CustomerClient } from "../.."; export namespace Customer { export class ICustomer extends CustomerClient.ICustomer {} diff --git a/src/Interfaces/Notary/Customer.ts b/src/Interfaces/Notary/Customer.ts index 5cc1729..113d813 100644 --- a/src/Interfaces/Notary/Customer.ts +++ b/src/Interfaces/Notary/Customer.ts @@ -1,4 +1,4 @@ -import { CustomerClient, CustomerNotary } from "../.."; +import { CustomerClient } from "../.."; export namespace Customer { export class ICustomer extends CustomerClient.ICustomer {} diff --git a/src/Interfaces/SuperAdmin/Customer.ts b/src/Interfaces/SuperAdmin/Customer.ts index 5cc1729..113d813 100644 --- a/src/Interfaces/SuperAdmin/Customer.ts +++ b/src/Interfaces/SuperAdmin/Customer.ts @@ -1,4 +1,4 @@ -import { CustomerClient, CustomerNotary } from "../.."; +import { CustomerClient } from "../.."; export namespace Customer { export class ICustomer extends CustomerClient.ICustomer {}