refacto index

This commit is contained in:
hugolxt 2023-03-23 14:57:34 +01:00
parent b212ff5085
commit 1bf821e10f
225 changed files with 9362 additions and 240 deletions

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

@ -0,0 +1,14 @@
import { Contact } from "./Contact";
import { Office } from "./Office";
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;
}
}

58
dist/Interfaces/Admin/Address.js vendored Normal file
View File

@ -0,0 +1,58 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var Address;
(function (Address) {
class IAddress {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IAddress.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IAddress.prototype, "address", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IAddress.prototype, "city", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", Number)
], IAddress.prototype, "zip_code", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IAddress.prototype, "created_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IAddress.prototype, "updated_at", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=Address.js.map

1
dist/Interfaces/Admin/Address.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Address.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AACpC,qCAAkC;AAElC,IAAiB,OAAO,CA0BvB;AA1BD,WAAiB,OAAO;IACtB,MAAa,QAAQ;QAArB;YAcS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAtBC;QADC,IAAA,4BAAU,GAAE;;0CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACX;IAGxB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACV;IAGzB;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;kCACG,eAAM,CAAC,OAAO;4CAAC;IAG/B;QADC,IAAA,4BAAU,GAAE;kCACK,iBAAO,CAAC,QAAQ;8CAAC;IAvBxB,gBAAQ,WAwBpB,CAAA;AACH,CAAC,EA1BgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA0BvB"}

20
dist/Interfaces/Admin/Contact.d.ts vendored Normal file
View File

@ -0,0 +1,20 @@
import { Address } from "./Address";
import { Customer } from "./Customer";
import { User } from "./User";
import { ContactNotary } 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;
}
}

76
dist/Interfaces/Admin/Contact.js vendored Normal file
View File

@ -0,0 +1,76 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=Contact.js.map

1
dist/Interfaces/Admin/Contact.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Contact.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Contact.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AACpC,yCAAsC;AACtC,iCAA8B;AAC9B,6BAAsC;AAEtC,IAAiB,OAAO,CAsCvB;AAtCD,WAAiB,OAAO;IACtB,MAAa,QAAQ;QAArB;YA0BS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAlCC;QADC,IAAA,4BAAU,GAAE;;0CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACR;IAG3B;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACT;IAG1B;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACb;IAGtB;QADC,IAAA,4BAAU,GAAE;;kDACgB;IAG7B;QADC,IAAA,4BAAU,GAAE;;uDACqB;IAGlC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACO;IAG1C;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;6CAAC;IAGlC;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;kCACE,WAAI,CAAC,KAAK;2CAAC;IAG1B;QADC,IAAA,4BAAU,GAAE;kCACM,mBAAQ,CAAC,SAAS;+CAAC;IAnC3B,gBAAQ,WAoCpB,CAAA;AACH,CAAC,EAtCgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAsCvB"}

15
dist/Interfaces/Admin/Customer.d.ts vendored Normal file
View File

@ -0,0 +1,15 @@
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;
contact: Contact.IContact;
created_at: Date | null;
updated_at: Date | null;
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
documents?: Document.IDocument[];
}
}

54
dist/Interfaces/Admin/Customer.js vendored Normal file
View File

@ -0,0 +1,54 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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;
}
}
__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 = {}));
//# sourceMappingURL=Customer.js.map

1
dist/Interfaces/Admin/Customer.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Customer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AAGpC,6BAAuC;AAEvC,IAAiB,QAAQ,CAuBxB;AAvBD,WAAiB,QAAQ;IACvB,MAAa,SAAS;QAAtB;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAnBC;QADC,IAAA,4BAAU,GAAE;;2CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACY;IAG/C;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;8CAAC;IAGlC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;kEACoE;IAGjF;QADC,IAAA,4BAAU,GAAE;;gDACoB;IApBtB,kBAAS,YAqBrB,CAAA;AACH,CAAC,EAvBgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAuBxB"}

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

@ -0,0 +1,13 @@
import { DeedType } from "./DeedType";
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { OfficeFolder } from "./OfficeFolder";
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;
}
}

50
dist/Interfaces/Admin/Deed.js vendored Normal file
View File

@ -0,0 +1,50 @@
"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");
var Deed;
(function (Deed) {
class IDeed {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDeed.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=Deed.js.map

1
dist/Interfaces/Admin/Deed.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Deed.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Deed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAAsC;AAEtC,iDAA8C;AAC9C,IAAiB,IAAI,CAoBpB;AApBD,WAAiB,IAAI;IACnB,MAAa,KAAK;QAAlB;YAQS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAhBC;QADC,IAAA,4BAAU,GAAE;;uCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAChB,mBAAQ,CAAC,SAAS;4CAAC;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;0DAC+D;IAG5E;QADC,IAAA,4BAAU,GAAE;kCACU,2BAAY,CAAC,aAAa;gDAAC;IAjBvC,UAAK,QAkBjB,CAAA;AACH,CAAC,EApBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAoBpB"}

View File

@ -0,0 +1,11 @@
import { Deed } from "./Deed";
import { DocumentType } from "./DocumentType";
export declare namespace DeedHasDocumentType {
class IDeedHasDocumentType {
uuid: string;
document_type: DocumentType.IDocumentType;
deed: Deed.IDeed;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var DeedHasDocumentType;
(function (DeedHasDocumentType) {
class IDeedHasDocumentType {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDeedHasDocumentType.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=DeedHasDocumentType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/DeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,iCAA8B;AAC9B,iDAA8C;AAC9C,IAAiB,mBAAmB,CAiBnC;AAjBD,WAAiB,mBAAmB;IAClC,MAAa,oBAAoB;QAAjC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;sDACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;+DAAC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACrB,WAAI,CAAC,KAAK;sDAAC;IAGzB;QADC,IAAA,wBAAM,GAAE;;4DAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;4DAC6B;IAd3B,wCAAoB,uBAehC,CAAA;AACH,CAAC,EAjBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAiBnC"}

16
dist/Interfaces/Admin/DeedType.d.ts vendored Normal file
View File

@ -0,0 +1,16 @@
import { Deed } from "./Deed";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
import { Office } from "./Office";
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[];
}
}

62
dist/Interfaces/Admin/DeedType.js vendored Normal file
View File

@ -0,0 +1,62 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedType = void 0;
const class_validator_1 = require("class-validator");
const Office_1 = require("./Office");
var DeedType;
(function (DeedType) {
class IDeedType {
constructor() {
this.archived_at = null;
this.created_at = null;
this.updated_at = null;
}
}
__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 = {}));
//# sourceMappingURL=DeedType.js.map

1
dist/Interfaces/Admin/DeedType.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"DeedType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/DeedType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAIjE,qCAAkC;AAElC,IAAiB,QAAQ,CA6BxB;AA7BD,WAAiB,QAAQ;IACvB,MAAa,SAAS;QAAtB;YAWS,gBAAW,GAAgB,IAAI,CAAC;YAMhC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAzBC;QADC,IAAA,4BAAU,GAAE;;2CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACP;IAG5B;QADC,IAAA,wBAAM,GAAE;;kDAC8B;IAGvC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACnB,eAAM,CAAC,OAAO;6CAAC;IAG/B;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;2CACc;IAG3B;QADC,IAAA,4BAAU,GAAE;;mEAC4E;IA1B9E,kBAAS,YA2BrB,CAAA;AACH,CAAC,EA7BgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA6BxB"}

View File

@ -0,0 +1,11 @@
import { DeedType } from "./DeedType";
import { DocumentType } from "./DocumentType";
export declare namespace DeedTypeHasDocumentType {
class IDeedTypeHasDocumentType {
uuid: string;
document_type: DocumentType.IDocumentType;
deed_type: DeedType.IDeedType;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var DeedTypeHasDocumentType;
(function (DeedTypeHasDocumentType) {
class IDeedTypeHasDocumentType {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=DeedTypeHasDocumentType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/DeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,yCAAsC;AACtC,iDAA8C;AAE9C,IAAiB,uBAAuB,CAiBvC;AAjBD,WAAiB,uBAAuB;IACtC,MAAa,wBAAwB;QAArC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;0DACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;mEAAC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAChB,mBAAQ,CAAC,SAAS;+DAAC;IAGtC;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAd3B,gDAAwB,2BAepC,CAAA;AACH,CAAC,EAjBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAiBvC"}

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

@ -0,0 +1,19 @@
import { Customer } from "./Customer";
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_type: DocumentType.IDocumentType;
folder: OfficeFolder.IOfficeFolder;
depositor: Customer.ICustomer;
created_at: Date | null;
updated_at: Date | null;
files?: File.IFile[];
document_history?: DocumentHistory.IDocumentHistory[];
}
}

64
dist/Interfaces/Admin/Document.js vendored Normal file
View File

@ -0,0 +1,64 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=Document.js.map

1
dist/Interfaces/Admin/Document.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Document.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Document.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAAsC;AAEtC,iDAA8C;AAE9C,iDAA8C;AAC9C,6BAAuC;AAEvC,IAAiB,QAAQ,CA6BxB;AA7BD,WAAiB,QAAQ;IACvB,MAAa,SAAS;QAAtB;YAiBS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAzBC;QADC,IAAA,4BAAU,GAAE;;2CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sDACqB;IAGxD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;oDAAC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACnB,2BAAY,CAAC,aAAa;6CAAC;IAG3C;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAChB,mBAAQ,CAAC,SAAS;gDAAC;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;4CACe;IAG5B;QADC,IAAA,4BAAU,GAAE;;uDACgD;IA1BlD,kBAAS,YA2BrB,CAAA;AACH,CAAC,EA7BgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA6BxB"}

View File

@ -0,0 +1,11 @@
import { Document } from "../Notary/Document";
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;
}
}

View File

@ -0,0 +1,50 @@
"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");
var DocumentHistory;
(function (DocumentHistory) {
class IDocumentHistory {
constructor() {
this.refused_reason = null;
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDocumentHistory.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IDocumentHistory.prototype, "document_status", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=DocumentHistory.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/DocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,iDAA8C;AAE9C,IAAiB,eAAe,CAoB/B;AApBD,WAAiB,eAAe;IAC9B,MAAa,gBAAgB;QAA7B;YAWS,mBAAc,GAAkB,IAAI,CAAC;YAGrC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAhBC;QADC,IAAA,4BAAU,GAAE;;kDACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6DACe;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACjB,mBAAQ,CAAC,SAAS;sDAAC;IAGrC;QADC,IAAA,4BAAU,GAAE;;4DAC+B;IAG5C;QADC,IAAA,wBAAM,GAAE;;wDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;wDAC6B;IAjB3B,gCAAgB,mBAkB5B,CAAA;AACH,CAAC,EApBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoB/B"}

17
dist/Interfaces/Admin/DocumentType.d.ts vendored Normal file
View File

@ -0,0 +1,17 @@
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { Document } from "./Document";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
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[];
}
}

66
dist/Interfaces/Admin/DocumentType.js vendored Normal file
View File

@ -0,0 +1,66 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentType = void 0;
const class_validator_1 = require("class-validator");
var DocumentType;
(function (DocumentType) {
class IDocumentType {
constructor() {
this.private_description = null;
this.archived_at = null;
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDocumentType.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IDocumentType.prototype, "name", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IDocumentType.prototype, "public_description", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "private_description", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "archived_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "created_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "updated_at", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], IDocumentType.prototype, "documents", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], IDocumentType.prototype, "deed_has_document_types", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], IDocumentType.prototype, "deed_type_has_document_types", void 0);
DocumentType.IDocumentType = IDocumentType;
})(DocumentType = exports.DocumentType || (exports.DocumentType = {}));
//# sourceMappingURL=DocumentType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/DocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAKjE,IAAiB,YAAY,CAgC5B;AAhCD,WAAiB,YAAY;IAC3B,MAAa,aAAa;QAA1B;YAWS,wBAAmB,GAAkB,IAAI,CAAC;YAG1C,gBAAW,GAAgB,IAAI,CAAC;YAGhC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAUxC,CAAC;KAAA;IA5BC;QADC,IAAA,4BAAU,GAAE;;+CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6DACA;IAGnC;QADC,IAAA,4BAAU,GAAE;;8DACoC;IAGjD;QADC,IAAA,wBAAM,GAAE;;sDAC8B;IAGvC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;oDAC2B;IAGxC;QADC,IAAA,4BAAU,GAAE;;kEAC+D;IAG5E;QADC,IAAA,4BAAU,GAAE;;uEAC4E;IA7B9E,0BAAa,gBA8BzB,CAAA;AACH,CAAC,EAhCgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAgC5B"}

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

@ -0,0 +1,10 @@
import { Document } from "./Document";
export declare namespace File {
class IFile {
uuid: string;
document: Document.IDocument;
file_path: string | null;
created_at: Date | null;
updated_at: Date | null;
}
}

46
dist/Interfaces/Admin/File.js vendored Normal file
View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0;
const class_validator_1 = require("class-validator");
const Document_1 = require("./Document");
var File;
(function (File) {
class IFile {
constructor() {
this.file_path = null;
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IFile.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=File.js.map

1
dist/Interfaces/Admin/File.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"File.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/File.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAAsC;AAEtC,IAAiB,IAAI,CAiBpB;AAjBD,WAAiB,IAAI;IACnB,MAAa,KAAK;QAAlB;YAQS,cAAS,GAAkB,IAAI,CAAC;YAGhC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;uCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACjB,mBAAQ,CAAC,SAAS;2CAAC;IAGrC;QADC,IAAA,4BAAU,GAAE;;4CAC0B;IAGvC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAd3B,UAAK,QAejB,CAAA;AACH,CAAC,EAjBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAiBpB"}

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

@ -0,0 +1,11 @@
import { UserHasNotification } from "./UserHasNotification";
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[];
}
}

49
dist/Interfaces/Admin/Notification.js vendored Normal file
View File

@ -0,0 +1,49 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Notification = void 0;
const class_validator_1 = require("class-validator");
var Notification;
(function (Notification) {
class INotification {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], INotification.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], INotification.prototype, "message", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
(0, class_validator_1.IsUrl)(),
__metadata("design:type", String)
], INotification.prototype, "redirection_url", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], INotification.prototype, "created_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], INotification.prototype, "updated_at", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], INotification.prototype, "user_has_notifications", void 0);
Notification.INotification = INotification;
})(Notification = exports.Notification || (exports.Notification = {}));
//# sourceMappingURL=Notification.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AAGxE,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAC3B,MAAa,aAAa;QAA1B;YAYS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAIxC,CAAC;KAAA;IAjBC;QADC,IAAA,4BAAU,GAAE;;+CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACX;IAIxB;QAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,IAAA,uBAAK,GAAE;;0DACwB;IAGhC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;iEACuD;IAlBzD,0BAAa,gBAmBzB,CAAA;AACH,CAAC,EArBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqB5B"}

20
dist/Interfaces/Admin/Office.d.ts vendored Normal file
View File

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

70
dist/Interfaces/Admin/Office.js vendored Normal file
View File

@ -0,0 +1,70 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=Office.js.map

1
dist/Interfaces/Admin/Office.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Office.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/Office.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AAIpC,6BAAqC;AAErC,IAAiB,MAAM,CAmCtB;AAnCD,WAAiB,MAAM;IACrB,MAAa,OAAO;QAApB;YAoBS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAUxC,CAAC;KAAA;IA/BC;QADC,IAAA,4BAAU,GAAE;;yCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACb;IAGtB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACZ;IAGvB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;4CAAC;IAGlC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACe;IAGlD;QADC,IAAA,wBAAM,GAAE;;+CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;+CAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;+CACqB;IAGlC;QADC,IAAA,4BAAU,GAAE;;0CACQ;IAGrB;QADC,IAAA,4BAAU,GAAE;;mDACiC;IAhCnC,cAAO,UAiCnB,CAAA;AACH,CAAC,EAnCgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAmCtB"}

23
dist/Interfaces/Admin/OfficeFolder.d.ts vendored Normal file
View File

@ -0,0 +1,23 @@
import { Deed } from "./Deed";
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;
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[];
}
}

81
dist/Interfaces/Admin/OfficeFolder.js vendored Normal file
View File

@ -0,0 +1,81 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=OfficeFolder.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"OfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/OfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,iCAA8B;AAE9B,qCAAkC;AAGlC,6BAA2C;AAE3C,IAAiB,YAAY,CAyC5B;AAzCD,WAAiB,YAAY;IAC3B,MAAa,aAAa;QAA1B;YAWS,gBAAW,GAAkB,IAAI,CAAC;YAGlC,yBAAoB,GAAkB,IAAI,CAAC;YAY3C,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAUxC,CAAC;KAAA;IArCC;QADC,IAAA,4BAAU,GAAE;;+CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;IAG9B;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACd;IAGrB;QADC,IAAA,4BAAU,GAAE;;sDAC4B;IAGzC;QADC,IAAA,4BAAU,GAAE;;+DACqC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;iDACc;IAGjD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACrB,WAAI,CAAC,KAAK;+CAAC;IAGzB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACnB,eAAM,CAAC,OAAO;iDAAC;IAG/B;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;sEACoE;IAGjF;QADC,IAAA,4BAAU,GAAE;;wEAC4E;IAGzF;QADC,IAAA,4BAAU,GAAE;;oDACoB;IAtCtB,0BAAa,gBAuCzB,CAAA;AACH,CAAC,EAzCgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyC5B"}

View File

@ -0,0 +1,11 @@
import { Customer } from "./Customer";
import { OfficeFolder } from "./OfficeFolder";
export declare namespace OfficeFolderHasCustomer {
class IOfficeFolderHasCustomer {
uuid: string;
customer: Customer.ICustomer;
office_folder: OfficeFolder.IOfficeFolder;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var OfficeFolderHasCustomer;
(function (OfficeFolderHasCustomer) {
class IOfficeFolderHasCustomer {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IOfficeFolderHasCustomer.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=OfficeFolderHasCustomer.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"OfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/OfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,yCAAsC;AACtC,iDAA8C;AAC9C,IAAiB,uBAAuB,CAiBvC;AAjBD,WAAiB,uBAAuB;IACtC,MAAa,wBAAwB;QAArC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;0DACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACjB,mBAAQ,CAAC,SAAS;8DAAC;IAGrC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;mEAAC;IAGlD;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAd3B,gDAAwB,2BAepC,CAAA;AACH,CAAC,EAjBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAiBvC"}

View File

@ -0,0 +1,11 @@
import { OfficeFolder } from "./OfficeFolder";
import { User } from "./User";
export declare namespace OfficeFolderHasStakeholder {
class IOfficeFolderHasStakeholder {
uuid: string;
user_stakeholder: User.IUser;
office_folder: OfficeFolder.IOfficeFolder;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var OfficeFolderHasStakeholder;
(function (OfficeFolderHasStakeholder) {
class IOfficeFolderHasStakeholder {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IOfficeFolderHasStakeholder.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=OfficeFolderHasStakeholder.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"OfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/OfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,iDAA8C;AAC9C,iCAA8B;AAE9B,IAAiB,0BAA0B,CAiB1C;AAjBD,WAAiB,0BAA0B;IACzC,MAAa,2BAA2B;QAAxC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;6DACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACT,WAAI,CAAC,KAAK;yEAAC;IAGrC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;sEAAC;IAGlD;QADC,IAAA,wBAAM,GAAE;;mEAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;mEAC6B;IAd3B,sDAA2B,8BAevC,CAAA;AACH,CAAC,EAjBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiB1C"}

16
dist/Interfaces/Admin/User.d.ts vendored Normal file
View File

@ -0,0 +1,16 @@
import { Contact } from "./Contact";
import { Document } from "./Document";
import { Office } from "./Office";
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
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;
}
}

59
dist/Interfaces/Admin/User.js vendored Normal file
View File

@ -0,0 +1,59 @@
"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");
var User;
(function (User) {
class IUser {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IUser.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IUser.prototype, "idNot", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=User.js.map

1
dist/Interfaces/Admin/User.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/User.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AACpC,yCAAsC;AACtC,qCAAkC;AAGlC,IAAiB,IAAI,CA0BpB;AA1BD,WAAiB,IAAI;IACnB,MAAa,KAAK;QAAlB;YAcS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAtBC;QADC,IAAA,4BAAU,GAAE;;uCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACb;IAGtB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;0CAAC;IAGlC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACR,eAAM,CAAC,OAAO;oDAAC;IAG1C;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;iEAC6E;IAG1F;QADC,IAAA,4BAAU,GAAE;kCACD,mBAAQ,CAAC,SAAS;4CAAC;IAvBpB,UAAK,QAwBjB,CAAA;AACH,CAAC,EA1BgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QA0BpB"}

View File

@ -0,0 +1,12 @@
import { Notification } from "./Notification";
import { User } from "./User";
export declare namespace UserHasNotification {
class IUserHasNotification {
uuid: string;
user: User.IUser;
notification: Notification.INotification;
created_at: Date | null;
updated_at: Date | null;
}
type ENotificationStatus = "READ" | "UNREAD";
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var UserHasNotification;
(function (UserHasNotification) {
class IUserHasNotification {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IUserHasNotification.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=UserHasNotification.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"UserHasNotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/UserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,iDAA8C;AAC9C,iCAA8B;AAE9B,IAAiB,mBAAmB,CAkBnC;AAlBD,WAAiB,mBAAmB;IAClC,MAAa,oBAAoB;QAAjC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;sDACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACrB,WAAI,CAAC,KAAK;sDAAC;IAGzB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACb,2BAAY,CAAC,aAAa;8DAAC;IAGjD;QADC,IAAA,wBAAM,GAAE;;4DAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;4DAC6B;IAd3B,wCAAoB,uBAehC,CAAA;AAEH,CAAC,EAlBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAkBnC"}

14
dist/Interfaces/Client/Address.d.ts vendored Normal file
View File

@ -0,0 +1,14 @@
import { Contact } from "./Contact";
import { Office } from "./Office";
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;
}
}

58
dist/Interfaces/Client/Address.js vendored Normal file
View File

@ -0,0 +1,58 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var Address;
(function (Address) {
class IAddress {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IAddress.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IAddress.prototype, "address", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IAddress.prototype, "city", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", Number)
], IAddress.prototype, "zip_code", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IAddress.prototype, "created_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IAddress.prototype, "updated_at", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=Address.js.map

1
dist/Interfaces/Client/Address.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Address.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AACpC,qCAAkC;AAElC,IAAiB,OAAO,CA0BvB;AA1BD,WAAiB,OAAO;IACtB,MAAa,QAAQ;QAArB;YAcS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAtBC;QADC,IAAA,4BAAU,GAAE;;0CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACX;IAGxB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACV;IAGzB;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;kCACG,eAAM,CAAC,OAAO;4CAAC;IAG/B;QADC,IAAA,4BAAU,GAAE;kCACK,iBAAO,CAAC,QAAQ;8CAAC;IAvBxB,gBAAQ,WAwBpB,CAAA;AACH,CAAC,EA1BgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA0BvB"}

20
dist/Interfaces/Client/Contact.d.ts vendored Normal file
View File

@ -0,0 +1,20 @@
import { Address } from "./Address";
import { Customer } from "./Customer";
import { User } from "./User";
import { ContactNotary } 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;
}
}

76
dist/Interfaces/Client/Contact.js vendored Normal file
View File

@ -0,0 +1,76 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=Contact.js.map

1
dist/Interfaces/Client/Contact.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Contact.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Contact.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AACpC,yCAAsC;AACtC,iCAA8B;AAC9B,6BAAsC;AAEtC,IAAiB,OAAO,CAsCvB;AAtCD,WAAiB,OAAO;IACtB,MAAa,QAAQ;QAArB;YA0BS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAlCC;QADC,IAAA,4BAAU,GAAE;;0CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACR;IAG3B;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACT;IAG1B;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACb;IAGtB;QADC,IAAA,4BAAU,GAAE;;kDACgB;IAG7B;QADC,IAAA,4BAAU,GAAE;;uDACqB;IAGlC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACO;IAG1C;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;6CAAC;IAGlC;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;kCACE,WAAI,CAAC,KAAK;2CAAC;IAG1B;QADC,IAAA,4BAAU,GAAE;kCACM,mBAAQ,CAAC,SAAS;+CAAC;IAnC3B,gBAAQ,WAoCpB,CAAA;AACH,CAAC,EAtCgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAsCvB"}

15
dist/Interfaces/Client/Customer.d.ts vendored Normal file
View File

@ -0,0 +1,15 @@
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;
contact: Contact.IContact;
created_at: Date | null;
updated_at: Date | null;
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
documents?: Document.IDocument[];
}
}

54
dist/Interfaces/Client/Customer.js vendored Normal file
View File

@ -0,0 +1,54 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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;
}
}
__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 = {}));
//# sourceMappingURL=Customer.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Customer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AAGpC,6BAAuC;AAEvC,IAAiB,QAAQ,CAuBxB;AAvBD,WAAiB,QAAQ;IACvB,MAAa,SAAS;QAAtB;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAnBC;QADC,IAAA,4BAAU,GAAE;;2CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACY;IAG/C;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;8CAAC;IAGlC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;kEACoE;IAGjF;QADC,IAAA,4BAAU,GAAE;;gDACoB;IApBtB,kBAAS,YAqBrB,CAAA;AACH,CAAC,EAvBgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAuBxB"}

13
dist/Interfaces/Client/Deed.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
import { DeedType } from "./DeedType";
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { OfficeFolder } from "./OfficeFolder";
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;
}
}

50
dist/Interfaces/Client/Deed.js vendored Normal file
View File

@ -0,0 +1,50 @@
"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");
var Deed;
(function (Deed) {
class IDeed {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDeed.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=Deed.js.map

1
dist/Interfaces/Client/Deed.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Deed.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Deed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAAsC;AAEtC,iDAA8C;AAC9C,IAAiB,IAAI,CAoBpB;AApBD,WAAiB,IAAI;IACnB,MAAa,KAAK;QAAlB;YAQS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAhBC;QADC,IAAA,4BAAU,GAAE;;uCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAChB,mBAAQ,CAAC,SAAS;4CAAC;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;0DAC+D;IAG5E;QADC,IAAA,4BAAU,GAAE;kCACU,2BAAY,CAAC,aAAa;gDAAC;IAjBvC,UAAK,QAkBjB,CAAA;AACH,CAAC,EApBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAoBpB"}

View File

@ -0,0 +1,11 @@
import { Deed } from "./Deed";
import { DocumentType } from "./DocumentType";
export declare namespace DeedHasDocumentType {
class IDeedHasDocumentType {
uuid: string;
document_type: DocumentType.IDocumentType;
deed: Deed.IDeed;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var DeedHasDocumentType;
(function (DeedHasDocumentType) {
class IDeedHasDocumentType {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDeedHasDocumentType.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=DeedHasDocumentType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/DeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,iCAA8B;AAC9B,iDAA8C;AAC9C,IAAiB,mBAAmB,CAiBnC;AAjBD,WAAiB,mBAAmB;IAClC,MAAa,oBAAoB;QAAjC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;sDACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;+DAAC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACrB,WAAI,CAAC,KAAK;sDAAC;IAGzB;QADC,IAAA,wBAAM,GAAE;;4DAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;4DAC6B;IAd3B,wCAAoB,uBAehC,CAAA;AACH,CAAC,EAjBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAiBnC"}

16
dist/Interfaces/Client/DeedType.d.ts vendored Normal file
View File

@ -0,0 +1,16 @@
import { Deed } from "./Deed";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
import { Office } from "./Office";
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[];
}
}

62
dist/Interfaces/Client/DeedType.js vendored Normal file
View File

@ -0,0 +1,62 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedType = void 0;
const class_validator_1 = require("class-validator");
const Office_1 = require("./Office");
var DeedType;
(function (DeedType) {
class IDeedType {
constructor() {
this.archived_at = null;
this.created_at = null;
this.updated_at = null;
}
}
__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 = {}));
//# sourceMappingURL=DeedType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DeedType.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/DeedType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAIjE,qCAAkC;AAElC,IAAiB,QAAQ,CA6BxB;AA7BD,WAAiB,QAAQ;IACvB,MAAa,SAAS;QAAtB;YAWS,gBAAW,GAAgB,IAAI,CAAC;YAMhC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAzBC;QADC,IAAA,4BAAU,GAAE;;2CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACP;IAG5B;QADC,IAAA,wBAAM,GAAE;;kDAC8B;IAGvC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACnB,eAAM,CAAC,OAAO;6CAAC;IAG/B;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;2CACc;IAG3B;QADC,IAAA,4BAAU,GAAE;;mEAC4E;IA1B9E,kBAAS,YA2BrB,CAAA;AACH,CAAC,EA7BgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA6BxB"}

View File

@ -0,0 +1,11 @@
import { DeedType } from "./DeedType";
import { DocumentType } from "./DocumentType";
export declare namespace DeedTypeHasDocumentType {
class IDeedTypeHasDocumentType {
uuid: string;
document_type: DocumentType.IDocumentType;
deed_type: DeedType.IDeedType;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var DeedTypeHasDocumentType;
(function (DeedTypeHasDocumentType) {
class IDeedTypeHasDocumentType {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=DeedTypeHasDocumentType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/DeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,yCAAsC;AACtC,iDAA8C;AAE9C,IAAiB,uBAAuB,CAiBvC;AAjBD,WAAiB,uBAAuB;IACtC,MAAa,wBAAwB;QAArC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;0DACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;mEAAC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAChB,mBAAQ,CAAC,SAAS;+DAAC;IAGtC;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAd3B,gDAAwB,2BAepC,CAAA;AACH,CAAC,EAjBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAiBvC"}

19
dist/Interfaces/Client/Document.d.ts vendored Normal file
View File

@ -0,0 +1,19 @@
import { Customer } from "./Customer";
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_type: DocumentType.IDocumentType;
folder: OfficeFolder.IOfficeFolder;
depositor: Customer.ICustomer;
created_at: Date | null;
updated_at: Date | null;
files?: File.IFile[];
document_history?: DocumentHistory.IDocumentHistory[];
}
}

64
dist/Interfaces/Client/Document.js vendored Normal file
View File

@ -0,0 +1,64 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=Document.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Document.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Document.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAAsC;AAEtC,iDAA8C;AAE9C,iDAA8C;AAC9C,6BAAuC;AAEvC,IAAiB,QAAQ,CA6BxB;AA7BD,WAAiB,QAAQ;IACvB,MAAa,SAAS;QAAtB;YAiBS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAOxC,CAAC;KAAA;IAzBC;QADC,IAAA,4BAAU,GAAE;;2CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sDACqB;IAGxD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;oDAAC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACnB,2BAAY,CAAC,aAAa;6CAAC;IAG3C;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAChB,mBAAQ,CAAC,SAAS;gDAAC;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;iDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;4CACe;IAG5B;QADC,IAAA,4BAAU,GAAE;;uDACgD;IA1BlD,kBAAS,YA2BrB,CAAA;AACH,CAAC,EA7BgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA6BxB"}

View File

@ -0,0 +1,11 @@
import { Document } from "../Notary/Document";
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;
}
}

View File

@ -0,0 +1,50 @@
"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");
var DocumentHistory;
(function (DocumentHistory) {
class IDocumentHistory {
constructor() {
this.refused_reason = null;
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDocumentHistory.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IDocumentHistory.prototype, "document_status", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=DocumentHistory.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/DocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,iDAA8C;AAE9C,IAAiB,eAAe,CAoB/B;AApBD,WAAiB,eAAe;IAC9B,MAAa,gBAAgB;QAA7B;YAWS,mBAAc,GAAkB,IAAI,CAAC;YAGrC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAhBC;QADC,IAAA,4BAAU,GAAE;;kDACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6DACe;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACjB,mBAAQ,CAAC,SAAS;sDAAC;IAGrC;QADC,IAAA,4BAAU,GAAE;;4DAC+B;IAG5C;QADC,IAAA,wBAAM,GAAE;;wDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;wDAC6B;IAjB3B,gCAAgB,mBAkB5B,CAAA;AACH,CAAC,EApBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoB/B"}

View File

@ -0,0 +1,17 @@
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { Document } from "./Document";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
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[];
}
}

66
dist/Interfaces/Client/DocumentType.js vendored Normal file
View File

@ -0,0 +1,66 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentType = void 0;
const class_validator_1 = require("class-validator");
var DocumentType;
(function (DocumentType) {
class IDocumentType {
constructor() {
this.private_description = null;
this.archived_at = null;
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IDocumentType.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IDocumentType.prototype, "name", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], IDocumentType.prototype, "public_description", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "private_description", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "archived_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "created_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], IDocumentType.prototype, "updated_at", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], IDocumentType.prototype, "documents", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], IDocumentType.prototype, "deed_has_document_types", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], IDocumentType.prototype, "deed_type_has_document_types", void 0);
DocumentType.IDocumentType = IDocumentType;
})(DocumentType = exports.DocumentType || (exports.DocumentType = {}));
//# sourceMappingURL=DocumentType.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"DocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/DocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAKjE,IAAiB,YAAY,CAgC5B;AAhCD,WAAiB,YAAY;IAC3B,MAAa,aAAa;QAA1B;YAWS,wBAAmB,GAAkB,IAAI,CAAC;YAG1C,gBAAW,GAAgB,IAAI,CAAC;YAGhC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAUxC,CAAC;KAAA;IA5BC;QADC,IAAA,4BAAU,GAAE;;+CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6DACA;IAGnC;QADC,IAAA,4BAAU,GAAE;;8DACoC;IAGjD;QADC,IAAA,wBAAM,GAAE;;sDAC8B;IAGvC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;oDAC2B;IAGxC;QADC,IAAA,4BAAU,GAAE;;kEAC+D;IAG5E;QADC,IAAA,4BAAU,GAAE;;uEAC4E;IA7B9E,0BAAa,gBA8BzB,CAAA;AACH,CAAC,EAhCgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAgC5B"}

10
dist/Interfaces/Client/File.d.ts vendored Normal file
View File

@ -0,0 +1,10 @@
import { Document } from "./Document";
export declare namespace File {
class IFile {
uuid: string;
document: Document.IDocument;
file_path: string | null;
created_at: Date | null;
updated_at: Date | null;
}
}

46
dist/Interfaces/Client/File.js vendored Normal file
View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0;
const class_validator_1 = require("class-validator");
const Document_1 = require("./Document");
var File;
(function (File) {
class IFile {
constructor() {
this.file_path = null;
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IFile.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=File.js.map

1
dist/Interfaces/Client/File.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"File.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/File.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAAsC;AAEtC,IAAiB,IAAI,CAiBpB;AAjBD,WAAiB,IAAI;IACnB,MAAa,KAAK;QAAlB;YAQS,cAAS,GAAkB,IAAI,CAAC;YAGhC,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;uCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACjB,mBAAQ,CAAC,SAAS;2CAAC;IAGrC;QADC,IAAA,4BAAU,GAAE;;4CAC0B;IAGvC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;6CAC6B;IAd3B,UAAK,QAejB,CAAA;AACH,CAAC,EAjBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAiBpB"}

View File

@ -0,0 +1,11 @@
import { UserHasNotification } from "./UserHasNotification";
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[];
}
}

49
dist/Interfaces/Client/Notification.js vendored Normal file
View File

@ -0,0 +1,49 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Notification = void 0;
const class_validator_1 = require("class-validator");
var Notification;
(function (Notification) {
class INotification {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], INotification.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", String)
], INotification.prototype, "message", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
(0, class_validator_1.IsUrl)(),
__metadata("design:type", String)
], INotification.prototype, "redirection_url", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], INotification.prototype, "created_at", void 0);
__decorate([
(0, class_validator_1.IsDate)(),
__metadata("design:type", Object)
], INotification.prototype, "updated_at", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Array)
], INotification.prototype, "user_has_notifications", void 0);
Notification.INotification = INotification;
})(Notification = exports.Notification || (exports.Notification = {}));
//# sourceMappingURL=Notification.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AAGxE,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAC3B,MAAa,aAAa;QAA1B;YAYS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAIxC,CAAC;KAAA;IAjBC;QADC,IAAA,4BAAU,GAAE;;+CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACX;IAIxB;QAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,IAAA,uBAAK,GAAE;;0DACwB;IAGhC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;iEACuD;IAlBzD,0BAAa,gBAmBzB,CAAA;AACH,CAAC,EArBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqB5B"}

20
dist/Interfaces/Client/Office.d.ts vendored Normal file
View File

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

70
dist/Interfaces/Client/Office.js vendored Normal file
View File

@ -0,0 +1,70 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=Office.js.map

1
dist/Interfaces/Client/Office.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"Office.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/Office.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,uCAAoC;AAIpC,6BAAqC;AAErC,IAAiB,MAAM,CAmCtB;AAnCD,WAAiB,MAAM;IACrB,MAAa,OAAO;QAApB;YAoBS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAUxC,CAAC;KAAA;IA/BC;QADC,IAAA,4BAAU,GAAE;;yCACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACb;IAGtB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACd;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACZ;IAGvB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCAClB,iBAAO,CAAC,QAAQ;4CAAC;IAGlC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACe;IAGlD;QADC,IAAA,wBAAM,GAAE;;+CAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;+CAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;+CACqB;IAGlC;QADC,IAAA,4BAAU,GAAE;;0CACQ;IAGrB;QADC,IAAA,4BAAU,GAAE;;mDACiC;IAhCnC,cAAO,UAiCnB,CAAA;AACH,CAAC,EAnCgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAmCtB"}

View File

@ -0,0 +1,23 @@
import { Deed } from "./Deed";
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;
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[];
}
}

81
dist/Interfaces/Client/OfficeFolder.js vendored Normal file
View File

@ -0,0 +1,81 @@
"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;
}
}
__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 = {}));
//# sourceMappingURL=OfficeFolder.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"OfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/OfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,iCAA8B;AAE9B,qCAAkC;AAGlC,6BAA2C;AAE3C,IAAiB,YAAY,CAyC5B;AAzCD,WAAiB,YAAY;IAC3B,MAAa,aAAa;QAA1B;YAWS,gBAAW,GAAkB,IAAI,CAAC;YAGlC,yBAAoB,GAAkB,IAAI,CAAC;YAY3C,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QAUxC,CAAC;KAAA;IArCC;QADC,IAAA,4BAAU,GAAE;;+CACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;IAG9B;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACd;IAGrB;QADC,IAAA,4BAAU,GAAE;;sDAC4B;IAGzC;QADC,IAAA,4BAAU,GAAE;;+DACqC;IAGlD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;iDACc;IAGjD;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACrB,WAAI,CAAC,KAAK;+CAAC;IAGzB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACnB,eAAM,CAAC,OAAO;iDAAC;IAG/B;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;qDAC6B;IAGtC;QADC,IAAA,4BAAU,GAAE;;sEACoE;IAGjF;QADC,IAAA,4BAAU,GAAE;;wEAC4E;IAGzF;QADC,IAAA,4BAAU,GAAE;;oDACoB;IAtCtB,0BAAa,gBAuCzB,CAAA;AACH,CAAC,EAzCgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyC5B"}

View File

@ -0,0 +1,11 @@
import { Customer } from "./Customer";
import { OfficeFolder } from "./OfficeFolder";
export declare namespace OfficeFolderHasCustomer {
class IOfficeFolderHasCustomer {
uuid: string;
customer: Customer.ICustomer;
office_folder: OfficeFolder.IOfficeFolder;
created_at: Date | null;
updated_at: Date | null;
}
}

View File

@ -0,0 +1,46 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
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");
var OfficeFolderHasCustomer;
(function (OfficeFolderHasCustomer) {
class IOfficeFolderHasCustomer {
constructor() {
this.created_at = null;
this.updated_at = null;
}
}
__decorate([
(0, class_validator_1.IsNotEmpty)(),
__metadata("design:type", String)
], IOfficeFolderHasCustomer.prototype, "uuid", void 0);
__decorate([
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
__metadata("design:type", 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 = {}));
//# sourceMappingURL=OfficeFolderHasCustomer.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"OfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Client/OfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,yCAAsC;AACtC,iDAA8C;AAC9C,IAAiB,uBAAuB,CAiBvC;AAjBD,WAAiB,uBAAuB;IACtC,MAAa,wBAAwB;QAArC;YAWS,eAAU,GAAgB,IAAI,CAAC;YAG/B,eAAU,GAAgB,IAAI,CAAC;QACxC,CAAC;KAAA;IAbC;QADC,IAAA,4BAAU,GAAE;;0DACQ;IAGrB;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACjB,mBAAQ,CAAC,SAAS;8DAAC;IAGrC;QADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;kCACZ,2BAAY,CAAC,aAAa;mEAAC;IAGlD;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAGtC;QADC,IAAA,wBAAM,GAAE;;gEAC6B;IAd3B,gDAAwB,2BAepC,CAAA;AACH,CAAC,EAjBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAiBvC"}

View File

@ -0,0 +1,11 @@
import { OfficeFolder } from "./OfficeFolder";
import { User } from "./User";
export declare namespace OfficeFolderHasStakeholder {
class IOfficeFolderHasStakeholder {
uuid: string;
user_stakeholder: User.IUser;
office_folder: OfficeFolder.IOfficeFolder;
created_at: Date | null;
updated_at: Date | null;
}
}

Some files were not shown because too many files have changed in this diff Show More