🎨 fix .dist folder

This commit is contained in:
Hugo Lextrait 2023-03-23 16:55:12 +01:00
parent de86dc49c4
commit d3462729fa
127 changed files with 403 additions and 3327 deletions

View File

@ -1,5 +1,5 @@
import { AddressNotary } from "../.."; import { AddressClient } from "../..";
export declare namespace Address { export declare namespace Address {
class IAddress extends AddressNotary.IAddress { class IAddress extends AddressClient.IAddress {
} }
} }

View File

@ -4,7 +4,7 @@ exports.Address = void 0;
const __1 = require("../.."); const __1 = require("../..");
var Address; var Address;
(function (Address) { (function (Address) {
class IAddress extends __1.AddressNotary.IAddress { class IAddress extends __1.AddressClient.IAddress {
} }
Address.IAddress = IAddress; Address.IAddress = IAddress;
})(Address = exports.Address || (exports.Address = {})); })(Address = exports.Address || (exports.Address = {}));

View File

@ -1,20 +1,5 @@
import { Address } from "./Address"; import { ContactClient } from "../..";
import { Customer } from "./Customer";
import { User } from "./User";
import { ContactNotary } from "../..";
export declare namespace Contact { export declare namespace Contact {
class IContact { class IContact extends ContactClient.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;
} }
} }

View File

@ -1,75 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Contact = void 0; 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("../.."); const __1 = require("../..");
var Contact; var Contact;
(function (Contact) { (function (Contact) {
class IContact { class IContact extends __1.ContactClient.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.IContact = IContact;
})(Contact = exports.Contact || (exports.Contact = {})); })(Contact = exports.Contact || (exports.Contact = {}));

View File

@ -1,15 +1,5 @@
import { Contact } from "./Contact"; import { CustomerClient } from "../..";
import { Document } from "./Document";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
import { CustomerNotary } from "../..";
export declare namespace Customer { export declare namespace Customer {
class ICustomer { class ICustomer extends CustomerClient.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[];
} }
} }

View File

@ -1,53 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Customer = void 0; exports.Customer = void 0;
const class_validator_1 = require("class-validator");
const Contact_1 = require("./Contact");
const __1 = require("../.."); const __1 = require("../..");
var Customer; var Customer;
(function (Customer) { (function (Customer) {
class ICustomer { class ICustomer extends __1.CustomerClient.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.ICustomer = ICustomer;
})(Customer = exports.Customer || (exports.Customer = {})); })(Customer = exports.Customer || (exports.Customer = {}));

View File

@ -1,13 +1,5 @@
import { DeedType } from "./DeedType"; import { DeedClient } from "../..";
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { OfficeFolder } from "./OfficeFolder";
export declare namespace Deed { export declare namespace Deed {
class IDeed { class IDeed extends DeedClient.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;
} }
} }

View File

@ -1,49 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Deed = void 0; exports.Deed = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const DeedType_1 = require("./DeedType");
const OfficeFolder_1 = require("./OfficeFolder");
var Deed; var Deed;
(function (Deed) { (function (Deed) {
class IDeed { class IDeed extends __1.DeedClient.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.IDeed = IDeed;
})(Deed = exports.Deed || (exports.Deed = {})); })(Deed = exports.Deed || (exports.Deed = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedHasDocumentType = void 0; exports.DeedHasDocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Deed_1 = require("./Deed");
const DocumentType_1 = require("./DocumentType");
var DeedHasDocumentType; var DeedHasDocumentType;
(function (DeedHasDocumentType) { (function (DeedHasDocumentType) {
class IDeedHasDocumentType { class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.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.IDeedHasDocumentType = IDeedHasDocumentType;
})(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {})); })(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {}));

View File

@ -1,16 +1,5 @@
import { Deed } from "./Deed"; import { DeedTypeClient } from "../..";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
import { Office } from "./Office";
export declare namespace DeedType { export declare namespace DeedType {
class IDeedType { class IDeedType extends DeedTypeClient.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[];
} }
} }

View File

@ -1,61 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedType = void 0; exports.DeedType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Office_1 = require("./Office");
var DeedType; var DeedType;
(function (DeedType) { (function (DeedType) {
class IDeedType { class IDeedType extends __1.DeedTypeClient.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.IDeedType = IDeedType;
})(DeedType = exports.DeedType || (exports.DeedType = {})); })(DeedType = exports.DeedType || (exports.DeedType = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedTypeHasDocumentType = void 0; exports.DeedTypeHasDocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const DeedType_1 = require("./DeedType");
const DocumentType_1 = require("./DocumentType");
var DeedTypeHasDocumentType; var DeedTypeHasDocumentType;
(function (DeedTypeHasDocumentType) { (function (DeedTypeHasDocumentType) {
class IDeedTypeHasDocumentType { class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.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.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType;
})(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {})); })(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {}));

View File

@ -1,19 +1,5 @@
import { Customer } from "./Customer"; import { DocumentClient } from "../..";
import { DocumentHistory } from "./DocumentHistory";
import { DocumentType } from "./DocumentType";
import { File } from "./File";
import { OfficeFolder } from "./OfficeFolder";
import { DocumentNotary } from "../..";
export declare namespace Document { export declare namespace Document {
class IDocument { class IDocument extends DocumentClient.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[];
} }
} }

View File

@ -1,63 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Document = void 0; 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("../.."); const __1 = require("../..");
var Document; var Document;
(function (Document) { (function (Document) {
class IDocument { class IDocument extends __1.DocumentClient.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.IDocument = IDocument;
})(Document = exports.Document || (exports.Document = {})); })(Document = exports.Document || (exports.Document = {}));

View File

@ -1,11 +1,5 @@
import { Document } from "../Notary/Document"; import { DocumentHistoryClient } from "../..";
export declare namespace DocumentHistory { export declare namespace DocumentHistory {
class IDocumentHistory { class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {
uuid: string;
document_status: Document.EDocumentStatus;
document: Document.IDocument;
refused_reason: string | null;
created_at: Date | null;
updated_at: Date | null;
} }
} }

View File

@ -1,49 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentHistory = void 0; exports.DocumentHistory = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Document_1 = require("../Notary/Document");
var DocumentHistory; var DocumentHistory;
(function (DocumentHistory) { (function (DocumentHistory) {
class IDocumentHistory { class IDocumentHistory extends __1.DocumentHistoryClient.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.IDocumentHistory = IDocumentHistory;
})(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {})); })(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {}));

View File

@ -1,17 +1,5 @@
import { DeedHasDocumentType } from "./DeedHasDocumentType"; import { DocumentTypeClient } from "../..";
import { Document } from "./Document";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
export declare namespace DocumentType { export declare namespace DocumentType {
class IDocumentType { class IDocumentType extends DocumentTypeClient.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[];
} }
} }

View File

@ -1,65 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentType = void 0; exports.DocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
var DocumentType; var DocumentType;
(function (DocumentType) { (function (DocumentType) {
class IDocumentType { class IDocumentType extends __1.DocumentTypeClient.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.IDocumentType = IDocumentType;
})(DocumentType = exports.DocumentType || (exports.DocumentType = {})); })(DocumentType = exports.DocumentType || (exports.DocumentType = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0; exports.File = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Document_1 = require("./Document");
var File; var File;
(function (File) { (function (File) {
class IFile { class IFile extends __1.FileClient.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.IFile = IFile;
})(File = exports.File || (exports.File = {})); })(File = exports.File || (exports.File = {}));

View File

@ -1,11 +1,5 @@
import { UserHasNotification } from "./UserHasNotification"; import { NotificationClient } from "../..";
export declare namespace Notification { export declare namespace Notification {
class INotification { class INotification extends NotificationClient.INotification {
uuid: string;
message: string;
redirection_url: string;
created_at: Date | null;
updated_at: Date | null;
user_has_notifications?: UserHasNotification.IUserHasNotification[];
} }
} }

View File

@ -1,48 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Notification = void 0; exports.Notification = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
var Notification; var Notification;
(function (Notification) { (function (Notification) {
class INotification { class INotification extends __1.NotificationClient.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.INotification = INotification;
})(Notification = exports.Notification || (exports.Notification = {})); })(Notification = exports.Notification || (exports.Notification = {}));

View File

@ -1,20 +1,5 @@
import { Address } from "./Address"; import { OfficeClient } from "../..";
import { DeedType } from "./DeedType";
import { OfficeFolder } from "./OfficeFolder";
import { User } from "./User";
import { OfficeNotary } from "../..";
export declare namespace Office { export declare namespace Office {
class IOffice { class IOffice extends OfficeClient.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[];
} }
} }

View File

@ -1,69 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Office = void 0; exports.Office = void 0;
const class_validator_1 = require("class-validator");
const Address_1 = require("./Address");
const __1 = require("../.."); const __1 = require("../..");
var Office; var Office;
(function (Office) { (function (Office) {
class IOffice { class IOffice extends __1.OfficeClient.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.IOffice = IOffice;
})(Office = exports.Office || (exports.Office = {})); })(Office = exports.Office || (exports.Office = {}));

View File

@ -1,23 +1,5 @@
import { Deed } from "./Deed"; import { OfficeFolderClient } from "../..";
import { Document } from "./Document";
import { Office } from "./Office";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
import { OfficeFolderNotary } from "../..";
export declare namespace OfficeFolder { export declare namespace OfficeFolder {
class IOfficeFolder { class IOfficeFolder extends OfficeFolderClient.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[];
} }
} }

View File

@ -1,80 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.OfficeFolder = void 0; exports.OfficeFolder = void 0;
const class_validator_1 = require("class-validator");
const Deed_1 = require("./Deed");
const Office_1 = require("./Office");
const __1 = require("../.."); const __1 = require("../..");
var OfficeFolder; var OfficeFolder;
(function (OfficeFolder) { (function (OfficeFolder) {
class IOfficeFolder { class IOfficeFolder extends __1.OfficeFolderClient.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.IOfficeFolder = IOfficeFolder;
})(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.OfficeFolderHasCustomer = void 0; exports.OfficeFolderHasCustomer = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Customer_1 = require("./Customer");
const OfficeFolder_1 = require("./OfficeFolder");
var OfficeFolderHasCustomer; var OfficeFolderHasCustomer;
(function (OfficeFolderHasCustomer) { (function (OfficeFolderHasCustomer) {
class IOfficeFolderHasCustomer { class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.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.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer;
})(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {})); })(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.OfficeFolderHasStakeholder = void 0; exports.OfficeFolderHasStakeholder = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const OfficeFolder_1 = require("./OfficeFolder");
const User_1 = require("./User");
var OfficeFolderHasStakeholder; var OfficeFolderHasStakeholder;
(function (OfficeFolderHasStakeholder) { (function (OfficeFolderHasStakeholder) {
class IOfficeFolderHasStakeholder { class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.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.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder;
})(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {})); })(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {}));

View File

@ -1,16 +1,5 @@
import { Contact } from "./Contact"; import { UserClient } from "../..";
import { Document } from "./Document";
import { Office } from "./Office";
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
export declare namespace User { export declare namespace User {
class IUser { class IUser extends UserClient.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;
} }
} }

View File

@ -1,58 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.User = void 0; exports.User = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Contact_1 = require("./Contact");
const Document_1 = require("./Document");
const Office_1 = require("./Office");
var User; var User;
(function (User) { (function (User) {
class IUser { class IUser extends __1.UserClient.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.IUser = IUser;
})(User = exports.User || (exports.User = {})); })(User = exports.User || (exports.User = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.UserHasNotification = void 0; exports.UserHasNotification = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Notification_1 = require("./Notification");
const User_1 = require("./User");
var UserHasNotification; var UserHasNotification;
(function (UserHasNotification) { (function (UserHasNotification) {
class IUserHasNotification { class IUserHasNotification extends __1.UserHasNotificationClient.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.IUserHasNotification = IUserHasNotification;
})(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {})); })(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {}));

View File

@ -1,7 +1,6 @@
import { Address } from "./Address"; import { Address } from "./Address";
import { Customer } from "./Customer"; import { Customer } from "./Customer";
import { User } from "./User"; import { User } from "./User";
import { ContactNotary } from "../..";
export declare namespace Contact { export declare namespace Contact {
class IContact { class IContact {
uuid: string; uuid: string;
@ -10,11 +9,17 @@ export declare namespace Contact {
email: string; email: string;
phone_number: string; phone_number: string;
cell_phone_number: string; cell_phone_number: string;
civility: ContactNotary.ECivility; civility: ECivility;
address: Address.IAddress; address: Address.IAddress;
created_at: Date | null; created_at: Date | null;
updated_at: Date | null; updated_at: Date | null;
users?: User.IUser; users?: User.IUser;
customers?: Customer.ICustomer; customers?: Customer.ICustomer;
} }
enum ECivility {
MALE = "MALE",
FEMALE = "FEMALE",
OTHERS = "OTHERS"
}
type TCivility = ECivility.MALE | ECivility.FEMALE | ECivility.OTHERS;
} }

View File

@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
const Address_1 = require("./Address"); const Address_1 = require("./Address");
const Customer_1 = require("./Customer"); const Customer_1 = require("./Customer");
const User_1 = require("./User"); const User_1 = require("./User");
const __1 = require("../..");
var Contact; var Contact;
(function (Contact) { (function (Contact) {
class IContact { class IContact {
@ -72,4 +71,10 @@ var Contact;
__metadata("design:type", Customer_1.Customer.ICustomer) __metadata("design:type", Customer_1.Customer.ICustomer)
], IContact.prototype, "customers", void 0); ], IContact.prototype, "customers", void 0);
Contact.IContact = IContact; Contact.IContact = IContact;
let ECivility;
(function (ECivility) {
ECivility["MALE"] = "MALE";
ECivility["FEMALE"] = "FEMALE";
ECivility["OTHERS"] = "OTHERS";
})(ECivility = Contact.ECivility || (Contact.ECivility = {}));
})(Contact = exports.Contact || (exports.Contact = {})); })(Contact = exports.Contact || (exports.Contact = {}));

View File

@ -1,15 +1,20 @@
import { Contact } from "./Contact"; import { Contact } from "./Contact";
import { Document } from "./Document"; import { Document } from "./Document";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
import { CustomerNotary } from "../..";
export declare namespace Customer { export declare namespace Customer {
class ICustomer { class ICustomer {
uuid: string; uuid: string;
status: CustomerNotary.ECustomerStatus; status: ECustomerStatus;
contact: Contact.IContact; contact: Contact.IContact;
created_at: Date | null; created_at: Date | null;
updated_at: Date | null; updated_at: Date | null;
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[]; office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
documents?: Document.IDocument[]; documents?: Document.IDocument[];
} }
enum ECustomerStatus {
VALIDATED = "VALIDATED",
PENDING = "PENDING",
ERRONED = "ERRONED"
}
type TCustomerStatus = ECustomerStatus.VALIDATED | ECustomerStatus.PENDING | ECustomerStatus.ERRONED;
} }

View File

@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.Customer = void 0; exports.Customer = void 0;
const class_validator_1 = require("class-validator"); const class_validator_1 = require("class-validator");
const Contact_1 = require("./Contact"); const Contact_1 = require("./Contact");
const __1 = require("../..");
var Customer; var Customer;
(function (Customer) { (function (Customer) {
class ICustomer { class ICustomer {
@ -50,4 +49,10 @@ var Customer;
__metadata("design:type", Array) __metadata("design:type", Array)
], ICustomer.prototype, "documents", void 0); ], ICustomer.prototype, "documents", void 0);
Customer.ICustomer = ICustomer; Customer.ICustomer = ICustomer;
let ECustomerStatus;
(function (ECustomerStatus) {
ECustomerStatus["VALIDATED"] = "VALIDATED";
ECustomerStatus["PENDING"] = "PENDING";
ECustomerStatus["ERRONED"] = "ERRONED";
})(ECustomerStatus = Customer.ECustomerStatus || (Customer.ECustomerStatus = {}));
})(Customer = exports.Customer || (exports.Customer = {})); })(Customer = exports.Customer || (exports.Customer = {}));

View File

@ -3,11 +3,10 @@ import { DocumentHistory } from "./DocumentHistory";
import { DocumentType } from "./DocumentType"; import { DocumentType } from "./DocumentType";
import { File } from "./File"; import { File } from "./File";
import { OfficeFolder } from "./OfficeFolder"; import { OfficeFolder } from "./OfficeFolder";
import { DocumentNotary } from "../..";
export declare namespace Document { export declare namespace Document {
class IDocument { class IDocument {
uuid: string; uuid: string;
document_status: DocumentNotary.EDocumentStatus; document_status: EDocumentStatus;
document_type: DocumentType.IDocumentType; document_type: DocumentType.IDocumentType;
folder: OfficeFolder.IOfficeFolder; folder: OfficeFolder.IOfficeFolder;
depositor: Customer.ICustomer; depositor: Customer.ICustomer;
@ -16,4 +15,12 @@ export declare namespace Document {
files?: File.IFile[]; files?: File.IFile[];
document_history?: DocumentHistory.IDocumentHistory[]; document_history?: DocumentHistory.IDocumentHistory[];
} }
enum EDocumentStatus {
ASKED = "ASKED",
DEPOSITED = "DEPOSITED",
VALIDATED = "VALIDATED",
ANCHORED = "ANCHORED",
REFUSED = "REFUSED"
}
type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED;
} }

View File

@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
const Customer_1 = require("./Customer"); const Customer_1 = require("./Customer");
const DocumentType_1 = require("./DocumentType"); const DocumentType_1 = require("./DocumentType");
const OfficeFolder_1 = require("./OfficeFolder"); const OfficeFolder_1 = require("./OfficeFolder");
const __1 = require("../..");
var Document; var Document;
(function (Document) { (function (Document) {
class IDocument { class IDocument {
@ -60,4 +59,12 @@ var Document;
__metadata("design:type", Array) __metadata("design:type", Array)
], IDocument.prototype, "document_history", void 0); ], IDocument.prototype, "document_history", void 0);
Document.IDocument = IDocument; Document.IDocument = IDocument;
let EDocumentStatus;
(function (EDocumentStatus) {
EDocumentStatus["ASKED"] = "ASKED";
EDocumentStatus["DEPOSITED"] = "DEPOSITED";
EDocumentStatus["VALIDATED"] = "VALIDATED";
EDocumentStatus["ANCHORED"] = "ANCHORED";
EDocumentStatus["REFUSED"] = "REFUSED";
})(EDocumentStatus = Document.EDocumentStatus || (Document.EDocumentStatus = {}));
})(Document = exports.Document || (exports.Document = {})); })(Document = exports.Document || (exports.Document = {}));

View File

@ -1,4 +1,4 @@
import { Document } from "../Notary/Document"; import { Document } from "../Client/Document";
export declare namespace DocumentHistory { export declare namespace DocumentHistory {
class IDocumentHistory { class IDocumentHistory {
uuid: string; uuid: string;

View File

@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentHistory = void 0; exports.DocumentHistory = void 0;
const class_validator_1 = require("class-validator"); const class_validator_1 = require("class-validator");
const Document_1 = require("../Notary/Document"); const Document_1 = require("../Client/Document");
var DocumentHistory; var DocumentHistory;
(function (DocumentHistory) { (function (DocumentHistory) {
class IDocumentHistory { class IDocumentHistory {

View File

@ -2,7 +2,6 @@ import { Address } from "./Address";
import { DeedType } from "./DeedType"; import { DeedType } from "./DeedType";
import { OfficeFolder } from "./OfficeFolder"; import { OfficeFolder } from "./OfficeFolder";
import { User } from "./User"; import { User } from "./User";
import { OfficeNotary } from "../..";
export declare namespace Office { export declare namespace Office {
class IOffice { class IOffice {
uuid: string; uuid: string;
@ -10,11 +9,16 @@ export declare namespace Office {
name: string; name: string;
crpcen: string; crpcen: string;
address: Address.IAddress; address: Address.IAddress;
office_status: OfficeNotary.EOfficeStatus; office_status: EOfficeStatus;
created_at: Date | null; created_at: Date | null;
updated_at: Date | null; updated_at: Date | null;
deed_types?: DeedType.IDeedType[]; deed_types?: DeedType.IDeedType[];
users?: User.IUser[]; users?: User.IUser[];
office_folders?: OfficeFolder.IOfficeFolder[]; office_folders?: OfficeFolder.IOfficeFolder[];
} }
enum EOfficeStatus {
ACTIVATED = "ACTIVATED",
DESACTIVATED = "DESACTIVATED"
}
type TOfficeStatus = EOfficeStatus.ACTIVATED | EOfficeStatus.DESACTIVATED;
} }

View File

@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.Office = void 0; exports.Office = void 0;
const class_validator_1 = require("class-validator"); const class_validator_1 = require("class-validator");
const Address_1 = require("./Address"); const Address_1 = require("./Address");
const __1 = require("../..");
var Office; var Office;
(function (Office) { (function (Office) {
class IOffice { class IOffice {
@ -66,4 +65,9 @@ var Office;
__metadata("design:type", Array) __metadata("design:type", Array)
], IOffice.prototype, "office_folders", void 0); ], IOffice.prototype, "office_folders", void 0);
Office.IOffice = IOffice; Office.IOffice = IOffice;
let EOfficeStatus;
(function (EOfficeStatus) {
EOfficeStatus["ACTIVATED"] = "ACTIVATED";
EOfficeStatus["DESACTIVATED"] = "DESACTIVATED";
})(EOfficeStatus = Office.EOfficeStatus || (Office.EOfficeStatus = {}));
})(Office = exports.Office || (exports.Office = {})); })(Office = exports.Office || (exports.Office = {}));

View File

@ -3,7 +3,6 @@ import { Document } from "./Document";
import { Office } from "./Office"; import { Office } from "./Office";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer"; import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder"; import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
import { OfficeFolderNotary } from "../..";
export declare namespace OfficeFolder { export declare namespace OfficeFolder {
class IOfficeFolder { class IOfficeFolder {
uuid: string; uuid: string;
@ -11,7 +10,7 @@ export declare namespace OfficeFolder {
name: string; name: string;
description: string | null; description: string | null;
archived_description: string | null; archived_description: string | null;
status: OfficeFolderNotary.EFolderStatus; status: EFolderStatus;
deed: Deed.IDeed; deed: Deed.IDeed;
office: Office.IOffice; office: Office.IOffice;
created_at: Date | null; created_at: Date | null;
@ -20,4 +19,9 @@ export declare namespace OfficeFolder {
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[]; office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
documents?: Document.IDocument[]; documents?: Document.IDocument[];
} }
enum EFolderStatus {
LIVE = "LIVE",
ARCHIVED = "ARCHIVED"
}
type TFolderStatus = EFolderStatus.LIVE | EFolderStatus.ARCHIVED;
} }

View File

@ -13,7 +13,6 @@ exports.OfficeFolder = void 0;
const class_validator_1 = require("class-validator"); const class_validator_1 = require("class-validator");
const Deed_1 = require("./Deed"); const Deed_1 = require("./Deed");
const Office_1 = require("./Office"); const Office_1 = require("./Office");
const __1 = require("../..");
var OfficeFolder; var OfficeFolder;
(function (OfficeFolder) { (function (OfficeFolder) {
class IOfficeFolder { class IOfficeFolder {
@ -77,4 +76,9 @@ var OfficeFolder;
__metadata("design:type", Array) __metadata("design:type", Array)
], IOfficeFolder.prototype, "documents", void 0); ], IOfficeFolder.prototype, "documents", void 0);
OfficeFolder.IOfficeFolder = IOfficeFolder; OfficeFolder.IOfficeFolder = IOfficeFolder;
let EFolderStatus;
(function (EFolderStatus) {
EFolderStatus["LIVE"] = "LIVE";
EFolderStatus["ARCHIVED"] = "ARCHIVED";
})(EFolderStatus = OfficeFolder.EFolderStatus || (OfficeFolder.EFolderStatus = {}));
})(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {}));

View File

@ -1,14 +1,5 @@
import { Contact } from "./Contact"; import { AddressClient } from "../..";
import { Office } from "./Office";
export declare namespace Address { export declare namespace Address {
class IAddress { class IAddress extends AddressClient.IAddress {
uuid: string;
address: string;
city: string;
zip_code: number;
created_at: Date | null;
updated_at: Date | null;
office?: Office.IOffice;
contacts?: Contact.IContact;
} }
} }

View File

@ -1,57 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Address = void 0; exports.Address = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Contact_1 = require("./Contact");
const Office_1 = require("./Office");
var Address; var Address;
(function (Address) { (function (Address) {
class IAddress { class IAddress extends __1.AddressClient.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.IAddress = IAddress;
})(Address = exports.Address || (exports.Address = {})); })(Address = exports.Address || (exports.Address = {}));

View File

@ -1,20 +1,5 @@
import { Address } from "./Address"; import { ContactClient } from "../..";
import { Customer } from "./Customer";
import { User } from "./User";
export declare namespace Contact { export declare namespace Contact {
class IContact { class IContact extends ContactClient.IContact {
uuid: string;
first_name: string;
last_name: string;
email: string;
phone_number: string;
cell_phone_number: string;
civility: ECivility;
address: Address.IAddress;
created_at: Date | null;
updated_at: Date | null;
users?: User.IUser;
customers?: Customer.ICustomer;
} }
type ECivility = "MALE" | "FEMALE" | "OTHERS";
} }

View File

@ -1,74 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Contact = void 0; exports.Contact = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Address_1 = require("./Address");
const Customer_1 = require("./Customer");
const User_1 = require("./User");
var Contact; var Contact;
(function (Contact) { (function (Contact) {
class IContact { class IContact extends __1.ContactClient.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.IContact = IContact;
})(Contact = exports.Contact || (exports.Contact = {})); })(Contact = exports.Contact || (exports.Contact = {}));

View File

@ -1,15 +1,5 @@
import { Contact } from "./Contact"; import { CustomerClient } from "../..";
import { Document } from "./Document";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
export declare namespace Customer { export declare namespace Customer {
class ICustomer { class ICustomer extends CustomerClient.ICustomer {
uuid: string;
status: ECustomerStatus;
contact: Contact.IContact;
created_at: Date | null;
updated_at: Date | null;
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
documents?: Document.IDocument[];
} }
type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED";
} }

View File

@ -1,52 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Customer = void 0; exports.Customer = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Contact_1 = require("./Contact");
var Customer; var Customer;
(function (Customer) { (function (Customer) {
class ICustomer { class ICustomer extends __1.CustomerClient.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.ICustomer = ICustomer;
})(Customer = exports.Customer || (exports.Customer = {})); })(Customer = exports.Customer || (exports.Customer = {}));

View File

@ -1,13 +1,5 @@
import { DeedType } from "./DeedType"; import { DeedClient } from "../..";
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { OfficeFolder } from "./OfficeFolder";
export declare namespace Deed { export declare namespace Deed {
class IDeed { class IDeed extends DeedClient.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;
} }
} }

View File

@ -1,49 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Deed = void 0; exports.Deed = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const DeedType_1 = require("./DeedType");
const OfficeFolder_1 = require("./OfficeFolder");
var Deed; var Deed;
(function (Deed) { (function (Deed) {
class IDeed { class IDeed extends __1.DeedClient.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.IDeed = IDeed;
})(Deed = exports.Deed || (exports.Deed = {})); })(Deed = exports.Deed || (exports.Deed = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedHasDocumentType = void 0; exports.DeedHasDocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Deed_1 = require("./Deed");
const DocumentType_1 = require("./DocumentType");
var DeedHasDocumentType; var DeedHasDocumentType;
(function (DeedHasDocumentType) { (function (DeedHasDocumentType) {
class IDeedHasDocumentType { class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.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.IDeedHasDocumentType = IDeedHasDocumentType;
})(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {})); })(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {}));

View File

@ -1,16 +1,5 @@
import { Deed } from "./Deed"; import { DeedTypeClient } from "../..";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
import { Office } from "./Office";
export declare namespace DeedType { export declare namespace DeedType {
class IDeedType { class IDeedType extends DeedTypeClient.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[];
} }
} }

View File

@ -1,61 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedType = void 0; exports.DeedType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Office_1 = require("./Office");
var DeedType; var DeedType;
(function (DeedType) { (function (DeedType) {
class IDeedType { class IDeedType extends __1.DeedTypeClient.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.IDeedType = IDeedType;
})(DeedType = exports.DeedType || (exports.DeedType = {})); })(DeedType = exports.DeedType || (exports.DeedType = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedTypeHasDocumentType = void 0; exports.DeedTypeHasDocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const DeedType_1 = require("./DeedType");
const DocumentType_1 = require("./DocumentType");
var DeedTypeHasDocumentType; var DeedTypeHasDocumentType;
(function (DeedTypeHasDocumentType) { (function (DeedTypeHasDocumentType) {
class IDeedTypeHasDocumentType { class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.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.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType;
})(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {})); })(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {}));

View File

@ -1,26 +1,5 @@
import { Customer } from "./Customer"; import { DocumentClient } from "../..";
import { DocumentHistory } from "./DocumentHistory";
import { DocumentType } from "./DocumentType";
import { File } from "./File";
import { OfficeFolder } from "./OfficeFolder";
export declare namespace Document { export declare namespace Document {
class IDocument { class IDocument extends DocumentClient.IDocument {
uuid: string;
document_status: EDocumentStatus;
document_type: DocumentType.IDocumentType;
folder: OfficeFolder.IOfficeFolder;
depositor: Customer.ICustomer;
created_at: Date | null;
updated_at: Date | null;
files?: File.IFile[];
document_history?: DocumentHistory.IDocumentHistory[];
} }
enum EDocumentStatus {
ASKED = "ASKED",
DEPOSITED = "DEPOSITED",
VALIDATED = "VALIDATED",
ANCHORED = "ANCHORED",
REFUSED = "REFUSED"
}
type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED;
} }

View File

@ -1,70 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Document = void 0; exports.Document = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Customer_1 = require("./Customer");
const DocumentType_1 = require("./DocumentType");
const OfficeFolder_1 = require("./OfficeFolder");
var Document; var Document;
(function (Document) { (function (Document) {
class IDocument { class IDocument extends __1.DocumentClient.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.IDocument = IDocument;
let EDocumentStatus;
(function (EDocumentStatus) {
EDocumentStatus["ASKED"] = "ASKED";
EDocumentStatus["DEPOSITED"] = "DEPOSITED";
EDocumentStatus["VALIDATED"] = "VALIDATED";
EDocumentStatus["ANCHORED"] = "ANCHORED";
EDocumentStatus["REFUSED"] = "REFUSED";
})(EDocumentStatus = Document.EDocumentStatus || (Document.EDocumentStatus = {}));
})(Document = exports.Document || (exports.Document = {})); })(Document = exports.Document || (exports.Document = {}));

View File

@ -1,11 +1,5 @@
import { Document } from "./Document"; import { DocumentHistoryClient } from "../..";
export declare namespace DocumentHistory { export declare namespace DocumentHistory {
class IDocumentHistory { class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {
uuid: string;
document_status: Document.EDocumentStatus;
document: Document.IDocument;
refused_reason: string | null;
created_at: Date | null;
updated_at: Date | null;
} }
} }

View File

@ -1,49 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentHistory = void 0; exports.DocumentHistory = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Document_1 = require("./Document");
var DocumentHistory; var DocumentHistory;
(function (DocumentHistory) { (function (DocumentHistory) {
class IDocumentHistory { class IDocumentHistory extends __1.DocumentHistoryClient.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.IDocumentHistory = IDocumentHistory;
})(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {})); })(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {}));

View File

@ -1,17 +1,5 @@
import { DeedHasDocumentType } from "./DeedHasDocumentType"; import { DocumentTypeClient } from "../..";
import { Document } from "./Document";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
export declare namespace DocumentType { export declare namespace DocumentType {
class IDocumentType { class IDocumentType extends DocumentTypeClient.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[];
} }
} }

View File

@ -1,65 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentType = void 0; exports.DocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
var DocumentType; var DocumentType;
(function (DocumentType) { (function (DocumentType) {
class IDocumentType { class IDocumentType extends __1.DocumentTypeClient.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.IDocumentType = IDocumentType;
})(DocumentType = exports.DocumentType || (exports.DocumentType = {})); })(DocumentType = exports.DocumentType || (exports.DocumentType = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0; exports.File = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Document_1 = require("./Document");
var File; var File;
(function (File) { (function (File) {
class IFile { class IFile extends __1.FileClient.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.IFile = IFile;
})(File = exports.File || (exports.File = {})); })(File = exports.File || (exports.File = {}));

View File

@ -1,11 +1,5 @@
import { UserHasNotification } from "./UserHasNotification"; import { NotificationClient } from "../..";
export declare namespace Notification { export declare namespace Notification {
class INotification { class INotification extends NotificationClient.INotification {
uuid: string;
message: string;
redirection_url: string;
created_at: Date | null;
updated_at: Date | null;
user_has_notifications?: UserHasNotification.IUserHasNotification[];
} }
} }

View File

@ -1,48 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Notification = void 0; exports.Notification = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
var Notification; var Notification;
(function (Notification) { (function (Notification) {
class INotification { class INotification extends __1.NotificationClient.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.INotification = INotification;
})(Notification = exports.Notification || (exports.Notification = {})); })(Notification = exports.Notification || (exports.Notification = {}));

View File

@ -1,25 +1,5 @@
import { Address } from "./Address"; import { OfficeClient } from "../..";
import { DeedType } from "./DeedType";
import { OfficeFolder } from "./OfficeFolder";
import { User } from "./User";
export declare namespace Office { export declare namespace Office {
class IOffice { class IOffice extends OfficeClient.IOffice {
uuid: string;
idNot: string;
name: string;
crpcen: string;
address: Address.IAddress;
office_status: EOfficeStatus;
created_at: Date | null;
updated_at: Date | null;
deed_types?: DeedType.IDeedType[];
users?: User.IUser[];
office_folders?: OfficeFolder.IOfficeFolder[];
balbala: string;
} }
enum EOfficeStatus {
ACTIVATED = "ACTIVATED",
DESACTIVATED = "DESACTIVATED"
}
type TOfficeStatus = EOfficeStatus.ACTIVATED | EOfficeStatus.DESACTIVATED;
} }

View File

@ -1,73 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Office = void 0; exports.Office = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Address_1 = require("./Address");
var Office; var Office;
(function (Office) { (function (Office) {
class IOffice { class IOffice extends __1.OfficeClient.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.IOffice = IOffice;
let EOfficeStatus;
(function (EOfficeStatus) {
EOfficeStatus["ACTIVATED"] = "ACTIVATED";
EOfficeStatus["DESACTIVATED"] = "DESACTIVATED";
})(EOfficeStatus = Office.EOfficeStatus || (Office.EOfficeStatus = {}));
})(Office = exports.Office || (exports.Office = {})); })(Office = exports.Office || (exports.Office = {}));

View File

@ -1,23 +1,5 @@
import { Deed } from "./Deed"; import { OfficeFolderClient } from "../..";
import { Document } from "./Document";
import { Office } from "./Office";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
export declare namespace OfficeFolder { export declare namespace OfficeFolder {
class IOfficeFolder { class IOfficeFolder extends OfficeFolderClient.IOfficeFolder {
uuid: string;
folder_number: string;
name: string;
description: string | null;
archived_description: string | null;
status: EFolderStatus;
deed: Deed.IDeed;
office: Office.IOffice;
created_at: Date | null;
updated_at: Date | null;
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
documents?: Document.IDocument[];
} }
type EFolderStatus = "LIVE" | "ARCHIVED";
} }

View File

@ -1,79 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.OfficeFolder = void 0; exports.OfficeFolder = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Deed_1 = require("./Deed");
const Office_1 = require("./Office");
var OfficeFolder; var OfficeFolder;
(function (OfficeFolder) { (function (OfficeFolder) {
class IOfficeFolder { class IOfficeFolder extends __1.OfficeFolderClient.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.IOfficeFolder = IOfficeFolder;
})(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {})); })(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.OfficeFolderHasCustomer = void 0; exports.OfficeFolderHasCustomer = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Customer_1 = require("./Customer");
const OfficeFolder_1 = require("./OfficeFolder");
var OfficeFolderHasCustomer; var OfficeFolderHasCustomer;
(function (OfficeFolderHasCustomer) { (function (OfficeFolderHasCustomer) {
class IOfficeFolderHasCustomer { class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.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.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer;
})(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {})); })(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.OfficeFolderHasStakeholder = void 0; exports.OfficeFolderHasStakeholder = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const OfficeFolder_1 = require("./OfficeFolder");
const User_1 = require("./User");
var OfficeFolderHasStakeholder; var OfficeFolderHasStakeholder;
(function (OfficeFolderHasStakeholder) { (function (OfficeFolderHasStakeholder) {
class IOfficeFolderHasStakeholder { class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.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.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder;
})(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {})); })(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {}));

View File

@ -1,16 +1,5 @@
import { Contact } from "./Contact"; import { UserClient } from "../..";
import { Document } from "./Document";
import { Office } from "./Office";
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
export declare namespace User { export declare namespace User {
class IUser { class IUser extends UserClient.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;
} }
} }

View File

@ -1,58 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.User = void 0; exports.User = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Contact_1 = require("./Contact");
const Document_1 = require("./Document");
const Office_1 = require("./Office");
var User; var User;
(function (User) { (function (User) {
class IUser { class IUser extends __1.UserClient.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.IUser = IUser;
})(User = exports.User || (exports.User = {})); })(User = exports.User || (exports.User = {}));

View File

@ -1,11 +1,5 @@
import { Notification } from "./Notification"; import { UserHasNotificationClient } from "../..";
import { User } from "./User";
export declare namespace UserHasNotification { export declare namespace UserHasNotification {
class IUserHasNotification { class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification {
uuid: string;
user: User.IUser;
notification: Notification.INotification;
created_at: Date | null;
updated_at: Date | null;
} }
} }

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.UserHasNotification = void 0; exports.UserHasNotification = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Notification_1 = require("./Notification");
const User_1 = require("./User");
var UserHasNotification; var UserHasNotification;
(function (UserHasNotification) { (function (UserHasNotification) {
class IUserHasNotification { class IUserHasNotification extends __1.UserHasNotificationClient.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.IUserHasNotification = IUserHasNotification;
})(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {})); })(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {}));

View File

@ -1,14 +1,5 @@
import { Contact } from "./Contact"; import { AddressClient } from "../..";
import { Office } from "./Office";
export declare namespace Address { export declare namespace Address {
class IAddress { class IAddress extends AddressClient.IAddress {
uuid: string;
address: string;
city: string;
zip_code: number;
created_at: Date | null;
updated_at: Date | null;
office?: Office.IOffice;
contacts?: Contact.IContact;
} }
} }

View File

@ -1,57 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Address = void 0; exports.Address = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Contact_1 = require("./Contact");
const Office_1 = require("./Office");
var Address; var Address;
(function (Address) { (function (Address) {
class IAddress { class IAddress extends __1.AddressClient.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.IAddress = IAddress;
})(Address = exports.Address || (exports.Address = {})); })(Address = exports.Address || (exports.Address = {}));

View File

@ -1,20 +1,5 @@
import { Address } from "./Address"; import { ContactClient } from "../..";
import { Customer } from "./Customer";
import { User } from "./User";
import { ContactNotary } from "../..";
export declare namespace Contact { export declare namespace Contact {
class IContact { class IContact extends ContactClient.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;
} }
} }

View File

@ -1,75 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Contact = void 0; 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("../.."); const __1 = require("../..");
var Contact; var Contact;
(function (Contact) { (function (Contact) {
class IContact { class IContact extends __1.ContactClient.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.IContact = IContact;
})(Contact = exports.Contact || (exports.Contact = {})); })(Contact = exports.Contact || (exports.Contact = {}));

View File

@ -1,15 +1,5 @@
import { Contact } from "./Contact"; import { CustomerClient } from "../..";
import { Document } from "./Document";
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
import { CustomerNotary } from "../..";
export declare namespace Customer { export declare namespace Customer {
class ICustomer { class ICustomer extends CustomerClient.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[];
} }
} }

View File

@ -1,53 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Customer = void 0; exports.Customer = void 0;
const class_validator_1 = require("class-validator");
const Contact_1 = require("./Contact");
const __1 = require("../.."); const __1 = require("../..");
var Customer; var Customer;
(function (Customer) { (function (Customer) {
class ICustomer { class ICustomer extends __1.CustomerClient.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.ICustomer = ICustomer;
})(Customer = exports.Customer || (exports.Customer = {})); })(Customer = exports.Customer || (exports.Customer = {}));

View File

@ -1,13 +1,5 @@
import { DeedType } from "./DeedType"; import { DeedClient } from "../..";
import { DeedHasDocumentType } from "./DeedHasDocumentType";
import { OfficeFolder } from "./OfficeFolder";
export declare namespace Deed { export declare namespace Deed {
class IDeed { class IDeed extends DeedClient.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;
} }
} }

View File

@ -1,49 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Deed = void 0; exports.Deed = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const DeedType_1 = require("./DeedType");
const OfficeFolder_1 = require("./OfficeFolder");
var Deed; var Deed;
(function (Deed) { (function (Deed) {
class IDeed { class IDeed extends __1.DeedClient.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.IDeed = IDeed;
})(Deed = exports.Deed || (exports.Deed = {})); })(Deed = exports.Deed || (exports.Deed = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedHasDocumentType = void 0; exports.DeedHasDocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Deed_1 = require("./Deed");
const DocumentType_1 = require("./DocumentType");
var DeedHasDocumentType; var DeedHasDocumentType;
(function (DeedHasDocumentType) { (function (DeedHasDocumentType) {
class IDeedHasDocumentType { class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.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.IDeedHasDocumentType = IDeedHasDocumentType;
})(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {})); })(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {}));

View File

@ -1,16 +1,5 @@
import { Deed } from "./Deed"; import { DeedTypeClient } from "../..";
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
import { Office } from "./Office";
export declare namespace DeedType { export declare namespace DeedType {
class IDeedType { class IDeedType extends DeedTypeClient.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[];
} }
} }

View File

@ -1,61 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedType = void 0; exports.DeedType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const Office_1 = require("./Office");
var DeedType; var DeedType;
(function (DeedType) { (function (DeedType) {
class IDeedType { class IDeedType extends __1.DeedTypeClient.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.IDeedType = IDeedType;
})(DeedType = exports.DeedType || (exports.DeedType = {})); })(DeedType = exports.DeedType || (exports.DeedType = {}));

View File

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

View File

@ -1,45 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.DeedTypeHasDocumentType = void 0; exports.DeedTypeHasDocumentType = void 0;
const class_validator_1 = require("class-validator"); const __1 = require("../..");
const DeedType_1 = require("./DeedType");
const DocumentType_1 = require("./DocumentType");
var DeedTypeHasDocumentType; var DeedTypeHasDocumentType;
(function (DeedTypeHasDocumentType) { (function (DeedTypeHasDocumentType) {
class IDeedTypeHasDocumentType { class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.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.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType;
})(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {})); })(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {}));

View File

@ -1,19 +1,5 @@
import { Customer } from "./Customer"; import { DocumentClient } from "../..";
import { DocumentHistory } from "./DocumentHistory";
import { DocumentType } from "./DocumentType";
import { File } from "./File";
import { OfficeFolder } from "./OfficeFolder";
import { DocumentNotary } from "../..";
export declare namespace Document { export declare namespace Document {
class IDocument { class IDocument extends DocumentClient.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[];
} }
} }

View File

@ -1,63 +1,10 @@
"use strict"; "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 }); Object.defineProperty(exports, "__esModule", { value: true });
exports.Document = void 0; 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("../.."); const __1 = require("../..");
var Document; var Document;
(function (Document) { (function (Document) {
class IDocument { class IDocument extends __1.DocumentClient.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.IDocument = IDocument;
})(Document = exports.Document || (exports.Document = {})); })(Document = exports.Document || (exports.Document = {}));

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