♻️ refacto index interfaces extends of Client interfaces
This commit is contained in:
parent
e199733ec6
commit
de86dc49c4
9
dist/Interfaces/Notary/Document.d.ts
vendored
9
dist/Interfaces/Notary/Document.d.ts
vendored
@ -15,5 +15,12 @@ export declare namespace Document {
|
|||||||
files?: File.IFile[];
|
files?: File.IFile[];
|
||||||
document_history?: DocumentHistory.IDocumentHistory[];
|
document_history?: DocumentHistory.IDocumentHistory[];
|
||||||
}
|
}
|
||||||
type EDocumentStatus = "ASKED" | "DEPOSITED" | "VALIDATED" | "ANCHORED" | "REFUSED";
|
enum EDocumentStatus {
|
||||||
|
ASKED = "ASKED",
|
||||||
|
DEPOSITED = "DEPOSITED",
|
||||||
|
VALIDATED = "VALIDATED",
|
||||||
|
ANCHORED = "ANCHORED",
|
||||||
|
REFUSED = "REFUSED"
|
||||||
|
}
|
||||||
|
type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED;
|
||||||
}
|
}
|
||||||
|
8
dist/Interfaces/Notary/Document.js
vendored
8
dist/Interfaces/Notary/Document.js
vendored
@ -59,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 = {}));
|
||||||
|
1
dist/Interfaces/Notary/Office.d.ts
vendored
1
dist/Interfaces/Notary/Office.d.ts
vendored
@ -15,6 +15,7 @@ export declare namespace Office {
|
|||||||
deed_types?: DeedType.IDeedType[];
|
deed_types?: DeedType.IDeedType[];
|
||||||
users?: User.IUser[];
|
users?: User.IUser[];
|
||||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
office_folders?: OfficeFolder.IOfficeFolder[];
|
||||||
|
balbala: string;
|
||||||
}
|
}
|
||||||
enum EOfficeStatus {
|
enum EOfficeStatus {
|
||||||
ACTIVATED = "ACTIVATED",
|
ACTIVATED = "ACTIVATED",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import { AddressNotary } from "../..";
|
import { AddressClient } from "../..";
|
||||||
|
|
||||||
|
|
||||||
export namespace Address {
|
export namespace Address {
|
||||||
export class IAddress extends AddressNotary.IAddress {}
|
export class IAddress extends AddressClient.IAddress {}
|
||||||
}
|
}
|
||||||
|
@ -1,45 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { ContactClient } from "../..";
|
||||||
import { Address } from "./Address";
|
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { User } from "./User";
|
|
||||||
import { ContactNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Contact {
|
export namespace Contact {
|
||||||
export class IContact {
|
export class IContact extends ContactClient.IContact {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public first_name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public last_name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public email!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public phone_number!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public cell_phone_number!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public civility!: ContactNotary.ECivility;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: Address.IAddress;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public users?: User.IUser;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public customers?: Customer.ICustomer;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,30 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { CustomerClient, CustomerNotary } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
|
||||||
import { CustomerNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Customer {
|
export namespace Customer {
|
||||||
export class ICustomer {
|
export class ICustomer extends CustomerClient.ICustomer {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public status!: CustomerNotary.ECustomerStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public contact!: Contact.IContact;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DeedClient } from "../..";
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
export namespace Deed {
|
export namespace Deed {
|
||||||
export class IDeed {
|
export class IDeed extends DeedClient.IDeed {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed_type!: DeedType.IDeedType;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public office_folder?: OfficeFolder.IOfficeFolder;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { DeedHasDocumentTypeClient } from "../..";
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
export namespace DeedHasDocumentType {
|
export namespace DeedHasDocumentType {
|
||||||
export class IDeedHasDocumentType {
|
export class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed!: Deed.IDeed;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,36 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DeedTypeClient } from "../..";
|
||||||
|
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
|
|
||||||
export namespace DeedType {
|
export namespace DeedType {
|
||||||
export class IDeedType {
|
export class IDeedType extends DeedTypeClient.IDeedType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public description!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public archived_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed?: Deed.IDeed[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { DeedTypeHasDocumentTypeClient } from "../..";
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
|
|
||||||
export namespace DeedTypeHasDocumentType {
|
export namespace DeedTypeHasDocumentType {
|
||||||
export class IDeedTypeHasDocumentType {
|
export class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed_type!: DeedType.IDeedType;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,38 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentClient } from "../..";
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { DocumentHistory } from "./DocumentHistory";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
import { File } from "./File";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { DocumentNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Document {
|
export namespace Document {
|
||||||
export class IDocument {
|
export class IDocument extends DocumentClient.IDocument {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_status!: DocumentNotary.EDocumentStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public depositor!: Customer.ICustomer;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public files?: File.IFile[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public document_history?: DocumentHistory.IDocumentHistory[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentHistoryClient } from "../..";
|
||||||
import { Document } from "../Notary/Document";
|
|
||||||
|
|
||||||
export namespace DocumentHistory {
|
export namespace DocumentHistory {
|
||||||
export class IDocumentHistory {
|
export class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_status!: Document.EDocumentStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document!: Document.IDocument;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public refused_reason: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,38 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentTypeClient } from "../..";
|
||||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
|
||||||
|
|
||||||
export namespace DocumentType {
|
export namespace DocumentType {
|
||||||
export class IDocumentType {
|
export class IDocumentType extends DocumentTypeClient.IDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public public_description!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public private_description: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public archived_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public documents?: Document.IDocument[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { FileClient } from "../..";
|
||||||
import { Document } from "./Document";
|
|
||||||
|
|
||||||
export namespace File {
|
export namespace File {
|
||||||
export class IFile {
|
export class IFile extends FileClient.IFile {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document!: Document.IDocument;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public file_path: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsUrl, IsOptional } from "class-validator";
|
import { NotificationClient } from "../..";
|
||||||
import { UserHasNotification } from "./UserHasNotification";
|
|
||||||
|
|
||||||
export namespace Notification {
|
export namespace Notification {
|
||||||
export class INotification {
|
export class INotification extends NotificationClient.INotification {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public message!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
@IsUrl()
|
|
||||||
public redirection_url!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
user_has_notifications?: UserHasNotification.IUserHasNotification[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,43 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { OfficeClient } from "../..";
|
||||||
import { Address } from "./Address";
|
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { User } from "./User";
|
|
||||||
import { OfficeNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Office {
|
export namespace Office {
|
||||||
export class IOffice {
|
export class IOffice extends OfficeClient.IOffice {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public idNot!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public crpcen!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: Address.IAddress;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_status!: OfficeNotary.EOfficeStatus;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
deed_types?: DeedType.IDeedType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
users?: User.IUser[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,50 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { OfficeFolderClient } from "../..";
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
|
||||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
|
||||||
import { OfficeFolderNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace OfficeFolder {
|
export namespace OfficeFolder {
|
||||||
export class IOfficeFolder {
|
export class IOfficeFolder extends OfficeFolderClient.IOfficeFolder {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public folder_number!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public description: string | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public archived_description: string | null = null;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public status!: OfficeFolderNotary.EFolderStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed!: Deed.IDeed;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { OfficeFolderHasCustomerClient } from "../..";
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
export namespace OfficeFolderHasCustomer {
|
export namespace OfficeFolderHasCustomer {
|
||||||
export class IOfficeFolderHasCustomer {
|
export class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public customer!: Customer.ICustomer;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { OfficeFolderHasStakeholderClient } from "../..";
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace OfficeFolderHasStakeholder {
|
export namespace OfficeFolderHasStakeholder {
|
||||||
export class IOfficeFolderHasStakeholder {
|
export class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public user_stakeholder!: User.IUser;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,33 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { UserClient } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
|
||||||
|
|
||||||
export namespace User {
|
export namespace User {
|
||||||
export class IUser {
|
export class IUser extends UserClient.IUser {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public idNot!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public contact!: Contact.IContact;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_membership!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { UserHasNotificationClient } from "../..";
|
||||||
import { Notification } from "./Notification";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace UserHasNotification {
|
export namespace UserHasNotification {
|
||||||
export class IUserHasNotification {
|
export class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification {
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public user!: User.IUser;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public notification!: Notification.INotification;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
}
|
||||||
export type ENotificationStatus = "READ" | "UNREAD";
|
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
|||||||
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 namespace Contact {
|
export namespace Contact {
|
||||||
export class IContact {
|
export class IContact {
|
||||||
@ -25,7 +24,7 @@ export namespace Contact {
|
|||||||
public cell_phone_number!: string;
|
public cell_phone_number!: string;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public civility!: ContactNotary.ECivility;
|
public civility!: ECivility;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public address!: Address.IAddress;
|
public address!: Address.IAddress;
|
||||||
@ -42,4 +41,10 @@ export namespace Contact {
|
|||||||
@IsOptional()
|
@IsOptional()
|
||||||
public customers?: Customer.ICustomer;
|
public customers?: Customer.ICustomer;
|
||||||
}
|
}
|
||||||
|
export enum ECivility {
|
||||||
|
MALE = "MALE",
|
||||||
|
FEMALE = "FEMALE",
|
||||||
|
OTHERS = "OTHERS",
|
||||||
|
}
|
||||||
|
export type TCivility = ECivility.MALE | ECivility.FEMALE | ECivility.OTHERS;
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
|||||||
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 namespace Customer {
|
export namespace Customer {
|
||||||
export class ICustomer {
|
export class ICustomer {
|
||||||
@ -10,7 +9,7 @@ export namespace Customer {
|
|||||||
public uuid!: string;
|
public uuid!: string;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public status!: CustomerNotary.ECustomerStatus;
|
public status!: ECustomerStatus;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public contact!: Contact.IContact;
|
public contact!: Contact.IContact;
|
||||||
@ -27,4 +26,10 @@ export namespace Customer {
|
|||||||
@IsOptional()
|
@IsOptional()
|
||||||
documents?: Document.IDocument[];
|
documents?: Document.IDocument[];
|
||||||
}
|
}
|
||||||
|
export enum ECustomerStatus {
|
||||||
|
VALIDATED = "VALIDATED",
|
||||||
|
PENDING = "PENDING",
|
||||||
|
ERRONED = "ERRONED",
|
||||||
|
}
|
||||||
|
export type TCustomerStatus = ECustomerStatus.VALIDATED | ECustomerStatus.PENDING | ECustomerStatus.ERRONED;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,6 @@ 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 namespace Document {
|
export namespace Document {
|
||||||
export class IDocument {
|
export class IDocument {
|
||||||
@ -12,7 +11,7 @@ export namespace Document {
|
|||||||
public uuid!: string;
|
public uuid!: string;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public document_status!: DocumentNotary.EDocumentStatus;
|
public document_status!: EDocumentStatus;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public document_type!: DocumentType.IDocumentType;
|
public document_type!: DocumentType.IDocumentType;
|
||||||
@ -35,4 +34,18 @@ export namespace Document {
|
|||||||
@IsOptional()
|
@IsOptional()
|
||||||
public document_history?: DocumentHistory.IDocumentHistory[];
|
public document_history?: DocumentHistory.IDocumentHistory[];
|
||||||
}
|
}
|
||||||
|
export enum EDocumentStatus {
|
||||||
|
ASKED = "ASKED",
|
||||||
|
DEPOSITED ="DEPOSITED",
|
||||||
|
VALIDATED = "VALIDATED",
|
||||||
|
ANCHORED = "ANCHORED",
|
||||||
|
REFUSED = "REFUSED",
|
||||||
|
}
|
||||||
|
|
||||||
|
export type TDocumentStatus =
|
||||||
|
| EDocumentStatus.ASKED
|
||||||
|
| EDocumentStatus.DEPOSITED
|
||||||
|
| EDocumentStatus.VALIDATED
|
||||||
|
| EDocumentStatus.ANCHORED
|
||||||
|
| EDocumentStatus.REFUSED;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
||||||
import { Document } from "../Notary/Document";
|
import { Document } from "../Client/Document";
|
||||||
|
|
||||||
export namespace DocumentHistory {
|
export namespace DocumentHistory {
|
||||||
export class IDocumentHistory {
|
export class IDocumentHistory {
|
||||||
|
@ -3,7 +3,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 namespace Office {
|
export namespace Office {
|
||||||
export class IOffice {
|
export class IOffice {
|
||||||
@ -23,7 +22,7 @@ export namespace Office {
|
|||||||
public address!: Address.IAddress;
|
public address!: Address.IAddress;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public office_status!: OfficeNotary.EOfficeStatus;
|
public office_status!: EOfficeStatus;
|
||||||
|
|
||||||
@IsDate()
|
@IsDate()
|
||||||
public created_at: Date | null = null;
|
public created_at: Date | null = null;
|
||||||
@ -40,4 +39,13 @@ export namespace Office {
|
|||||||
@IsOptional()
|
@IsOptional()
|
||||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
office_folders?: OfficeFolder.IOfficeFolder[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum EOfficeStatus {
|
||||||
|
ACTIVATED = "ACTIVATED",
|
||||||
|
DESACTIVATED = "DESACTIVATED",
|
||||||
|
}
|
||||||
|
|
||||||
|
export type TOfficeStatus =
|
||||||
|
| EOfficeStatus.ACTIVATED
|
||||||
|
| EOfficeStatus.DESACTIVATED;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,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 namespace OfficeFolder {
|
export namespace OfficeFolder {
|
||||||
export class IOfficeFolder {
|
export class IOfficeFolder {
|
||||||
@ -24,7 +23,7 @@ export namespace OfficeFolder {
|
|||||||
public archived_description: string | null = null;
|
public archived_description: string | null = null;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public status!: OfficeFolderNotary.EFolderStatus;
|
public status!: EFolderStatus;
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
@IsNotEmpty({ groups: ["create"] })
|
||||||
public deed!: Deed.IDeed;
|
public deed!: Deed.IDeed;
|
||||||
@ -47,4 +46,10 @@ export namespace OfficeFolder {
|
|||||||
@IsOptional()
|
@IsOptional()
|
||||||
documents?: Document.IDocument[];
|
documents?: Document.IDocument[];
|
||||||
}
|
}
|
||||||
|
export enum EFolderStatus {
|
||||||
|
LIVE = "LIVE",
|
||||||
|
ARCHIVED = "ARCHIVED",
|
||||||
|
}
|
||||||
|
export type TFolderStatus = EFolderStatus.LIVE | EFolderStatus.ARCHIVED;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,31 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { AddressClient } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
|
|
||||||
export namespace Address {
|
export namespace Address {
|
||||||
export class IAddress {
|
export class IAddress extends AddressClient.IAddress {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public city!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public zip_code!: number;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public office?: Office.IOffice;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public contacts?: Contact.IContact;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,46 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { ContactClient } from "../..";
|
||||||
import { Address } from "./Address";
|
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace Contact {
|
export namespace Contact {
|
||||||
export class IContact {
|
export class IContact extends ContactClient.IContact {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public first_name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public last_name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public email!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public phone_number!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public cell_phone_number!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public civility!: ECivility;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: Address.IAddress;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public users?: User.IUser;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public customers?: Customer.ICustomer;
|
|
||||||
}
|
|
||||||
|
|
||||||
export type ECivility = "MALE" | "FEMALE" | "OTHERS";
|
|
||||||
}
|
}
|
||||||
|
@ -1,30 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { CustomerClient, CustomerNotary } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
|
||||||
export namespace Customer {
|
export namespace Customer {
|
||||||
export class ICustomer {
|
export class ICustomer extends CustomerClient.ICustomer {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public status!: ECustomerStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public contact!: Contact.IContact;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED";
|
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DeedClient } from "../..";
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
export namespace Deed {
|
export namespace Deed {
|
||||||
export class IDeed {
|
export class IDeed extends DeedClient.IDeed {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed_type!: DeedType.IDeedType;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public office_folder?: OfficeFolder.IOfficeFolder;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { DeedHasDocumentTypeClient } from "../..";
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
export namespace DeedHasDocumentType {
|
export namespace DeedHasDocumentType {
|
||||||
export class IDeedHasDocumentType {
|
export class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed!: Deed.IDeed;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,36 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DeedTypeClient } from "../..";
|
||||||
|
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
|
|
||||||
export namespace DeedType {
|
export namespace DeedType {
|
||||||
export class IDeedType {
|
export class IDeedType extends DeedTypeClient.IDeedType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public description!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public archived_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed?: Deed.IDeed[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { DeedTypeHasDocumentTypeClient } from "../..";
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
|
|
||||||
export namespace DeedTypeHasDocumentType {
|
export namespace DeedTypeHasDocumentType {
|
||||||
export class IDeedTypeHasDocumentType {
|
export class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed_type!: DeedType.IDeedType;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,43 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentClient } from "../..";
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { DocumentHistory } from "./DocumentHistory";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
import { File } from "./File";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
|
|
||||||
export namespace Document {
|
export namespace Document {
|
||||||
export class IDocument {
|
export class IDocument extends DocumentClient.IDocument {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_status!: EDocumentStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public depositor!: Customer.ICustomer;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public files?: File.IFile[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public document_history?: DocumentHistory.IDocumentHistory[];
|
|
||||||
}
|
|
||||||
export type EDocumentStatus =
|
|
||||||
| "ASKED"
|
|
||||||
| "DEPOSITED"
|
|
||||||
| "VALIDATED"
|
|
||||||
| "ANCHORED"
|
|
||||||
| "REFUSED";
|
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentHistoryClient } from "../..";
|
||||||
import { Document } from "./Document";
|
|
||||||
|
|
||||||
export namespace DocumentHistory {
|
export namespace DocumentHistory {
|
||||||
export class IDocumentHistory {
|
export class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_status!: Document.EDocumentStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document!: Document.IDocument;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public refused_reason: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,38 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentTypeClient } from "../..";
|
||||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
|
||||||
|
|
||||||
export namespace DocumentType {
|
export namespace DocumentType {
|
||||||
export class IDocumentType {
|
export class IDocumentType extends DocumentTypeClient.IDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public public_description!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public private_description: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public archived_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public documents?: Document.IDocument[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { FileClient } from "../..";
|
||||||
import { Document } from "./Document";
|
|
||||||
|
|
||||||
export namespace File {
|
export namespace File {
|
||||||
export class IFile {
|
export class IFile extends FileClient.IFile {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document!: Document.IDocument;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public file_path: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsUrl, IsOptional } from "class-validator";
|
import { NotificationClient } from "../..";
|
||||||
import { UserHasNotification } from "./UserHasNotification";
|
|
||||||
|
|
||||||
export namespace Notification {
|
export namespace Notification {
|
||||||
export class INotification {
|
export class INotification extends NotificationClient.INotification {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public message!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
@IsUrl()
|
|
||||||
public redirection_url!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
user_has_notifications?: UserHasNotification.IUserHasNotification[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,49 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { OfficeClient } from "../..";
|
||||||
import { Address } from "./Address";
|
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace Office {
|
export namespace Office {
|
||||||
export class IOffice {
|
export class IOffice extends OfficeClient.IOffice {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public idNot!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public crpcen!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: Address.IAddress;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_status!: EOfficeStatus;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
deed_types?: DeedType.IDeedType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
users?: User.IUser[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
|
||||||
}
|
|
||||||
export enum EOfficeStatus {
|
|
||||||
ACTIVATED = "ACTIVATED",
|
|
||||||
DESACTIVATED = "DESACTIVATED",
|
|
||||||
}
|
|
||||||
export type TOfficeStatus =
|
|
||||||
| EOfficeStatus.ACTIVATED
|
|
||||||
| EOfficeStatus.DESACTIVATED;
|
|
||||||
}
|
}
|
||||||
|
@ -1,50 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { OfficeFolderClient } from "../..";
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
|
||||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
|
||||||
|
|
||||||
export namespace OfficeFolder {
|
export namespace OfficeFolder {
|
||||||
export class IOfficeFolder {
|
export class IOfficeFolder extends OfficeFolderClient.IOfficeFolder {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public folder_number!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public description: string | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public archived_description: string | null = null;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public status!: EFolderStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed!: Deed.IDeed;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument[];
|
|
||||||
}
|
|
||||||
export type EFolderStatus = "LIVE" | "ARCHIVED";
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { OfficeFolderHasCustomerClient } from "../..";
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
export namespace OfficeFolderHasCustomer {
|
export namespace OfficeFolderHasCustomer {
|
||||||
export class IOfficeFolderHasCustomer {
|
export class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public customer!: Customer.ICustomer;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { OfficeFolderHasStakeholderClient } from "../..";
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace OfficeFolderHasStakeholder {
|
export namespace OfficeFolderHasStakeholder {
|
||||||
export class IOfficeFolderHasStakeholder {
|
export class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public user_stakeholder!: User.IUser;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,33 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { UserClient } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
|
||||||
|
|
||||||
export namespace User {
|
export namespace User {
|
||||||
export class IUser {
|
export class IUser extends UserClient.IUser {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public idNot!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public contact!: Contact.IContact;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_membership!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { UserHasNotificationClient } from "../..";
|
||||||
import { Notification } from "./Notification";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace UserHasNotification {
|
export namespace UserHasNotification {
|
||||||
export class IUserHasNotification {
|
export class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification {
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public user!: User.IUser;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public notification!: Notification.INotification;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,31 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { AddressClient } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
|
|
||||||
export namespace Address {
|
export namespace Address {
|
||||||
export class IAddress {
|
export class IAddress extends AddressClient.IAddress {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public city!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public zip_code!: number;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public office?: Office.IOffice;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public contacts?: Contact.IContact;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,45 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { ContactClient } from "../..";
|
||||||
import { Address } from "./Address";
|
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { User } from "./User";
|
|
||||||
import { ContactNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Contact {
|
export namespace Contact {
|
||||||
export class IContact {
|
export class IContact extends ContactClient.IContact {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public first_name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public last_name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public email!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public phone_number!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public cell_phone_number!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public civility!: ContactNotary.ECivility;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: Address.IAddress;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public users?: User.IUser;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public customers?: Customer.ICustomer;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,30 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { CustomerClient, CustomerNotary } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
|
||||||
import { CustomerNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Customer {
|
export namespace Customer {
|
||||||
export class ICustomer {
|
export class ICustomer extends CustomerClient.ICustomer {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public status!: CustomerNotary.ECustomerStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public contact!: Contact.IContact;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DeedClient } from "../..";
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
export namespace Deed {
|
export namespace Deed {
|
||||||
export class IDeed {
|
export class IDeed extends DeedClient.IDeed {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed_type!: DeedType.IDeedType;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public office_folder?: OfficeFolder.IOfficeFolder;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { DeedHasDocumentTypeClient } from "../..";
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
export namespace DeedHasDocumentType {
|
export namespace DeedHasDocumentType {
|
||||||
export class IDeedHasDocumentType {
|
export class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed!: Deed.IDeed;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,36 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DeedTypeClient } from "../..";
|
||||||
|
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
|
|
||||||
export namespace DeedType {
|
export namespace DeedType {
|
||||||
export class IDeedType {
|
export class IDeedType extends DeedTypeClient.IDeedType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public description!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public archived_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed?: Deed.IDeed[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { DeedTypeHasDocumentTypeClient } from "../..";
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
|
|
||||||
export namespace DeedTypeHasDocumentType {
|
export namespace DeedTypeHasDocumentType {
|
||||||
export class IDeedTypeHasDocumentType {
|
export class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed_type!: DeedType.IDeedType;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,38 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentClient } from "../..";
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { DocumentHistory } from "./DocumentHistory";
|
|
||||||
import { DocumentType } from "./DocumentType";
|
|
||||||
import { File } from "./File";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { DocumentNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Document {
|
export namespace Document {
|
||||||
export class IDocument {
|
export class IDocument extends DocumentClient.IDocument {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_status!: DocumentNotary.EDocumentStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_type!: DocumentType.IDocumentType;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public depositor!: Customer.ICustomer;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public files?: File.IFile[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public document_history?: DocumentHistory.IDocumentHistory[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentHistoryClient } from "../..";
|
||||||
import { Document } from "../Notary/Document";
|
|
||||||
|
|
||||||
export namespace DocumentHistory {
|
export namespace DocumentHistory {
|
||||||
export class IDocumentHistory {
|
export class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document_status!: Document.EDocumentStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document!: Document.IDocument;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public refused_reason: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,38 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { DocumentTypeClient } from "../..";
|
||||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
|
||||||
|
|
||||||
export namespace DocumentType {
|
export namespace DocumentType {
|
||||||
export class IDocumentType {
|
export class IDocumentType extends DocumentTypeClient.IDocumentType {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public public_description!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public private_description: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public archived_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public documents?: Document.IDocument[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { FileClient } from "../..";
|
||||||
import { Document } from "./Document";
|
|
||||||
|
|
||||||
export namespace File {
|
export namespace File {
|
||||||
export class IFile {
|
export class IFile extends FileClient.IFile {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public document!: Document.IDocument;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public file_path: string | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
|
|
||||||
export default class IBlockchainAnchor {
|
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public smartSigJobId!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public documents?: Document.IDocument[];
|
|
||||||
}
|
|
@ -1,25 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsUrl, IsOptional } from "class-validator";
|
import { NotificationClient } from "../..";
|
||||||
import { UserHasNotification } from "./UserHasNotification";
|
|
||||||
|
|
||||||
export namespace Notification {
|
export namespace Notification {
|
||||||
export class INotification {
|
export class INotification extends NotificationClient.INotification {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public message!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
@IsUrl()
|
|
||||||
public redirection_url!: string;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
user_has_notifications?: UserHasNotification.IUserHasNotification[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,43 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { OfficeClient } from "../..";
|
||||||
import { Address } from "./Address";
|
|
||||||
import { DeedType } from "./DeedType";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { User } from "./User";
|
|
||||||
import { OfficeNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace Office {
|
export namespace Office {
|
||||||
export class IOffice {
|
export class IOffice extends OfficeClient.IOffice {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public idNot!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public crpcen!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public address!: Address.IAddress;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_status!: OfficeNotary.EOfficeStatus;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
deed_types?: DeedType.IDeedType[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
users?: User.IUser[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,50 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { OfficeFolderClient } from "../..";
|
||||||
import { Deed } from "./Deed";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
|
||||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
|
||||||
import { OfficeFolderNotary } from "../..";
|
|
||||||
|
|
||||||
export namespace OfficeFolder {
|
export namespace OfficeFolder {
|
||||||
export class IOfficeFolder {
|
export class IOfficeFolder extends OfficeFolderClient.IOfficeFolder {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public folder_number!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public name!: string;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public description: string | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
public archived_description: string | null = null;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public status!: OfficeFolderNotary.EFolderStatus;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public deed!: Deed.IDeed;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument[];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,4 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { OfficeFolderHasCustomerClient } from "../..";
|
||||||
import { Customer } from "./Customer";
|
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
export namespace OfficeFolderHasCustomer {
|
export namespace OfficeFolderHasCustomer {
|
||||||
export class IOfficeFolderHasCustomer {
|
export class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public customer!: Customer.ICustomer;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { OfficeFolderHasStakeholderClient } from "../..";
|
||||||
import { OfficeFolder } from "./OfficeFolder";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace OfficeFolderHasStakeholder {
|
export namespace OfficeFolderHasStakeholder {
|
||||||
export class IOfficeFolderHasStakeholder {
|
export class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public user_stakeholder!: User.IUser;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_folder!: OfficeFolder.IOfficeFolder;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,33 +1,5 @@
|
|||||||
import { IsNotEmpty, IsDate, IsOptional } from "class-validator";
|
import { UserClient } from "../..";
|
||||||
import { Contact } from "./Contact";
|
|
||||||
import { Document } from "./Document";
|
|
||||||
import { Office } from "./Office";
|
|
||||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
|
||||||
|
|
||||||
export namespace User {
|
export namespace User {
|
||||||
export class IUser {
|
export class IUser extends UserClient.IUser {}
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public idNot!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public contact!: Contact.IContact;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public office_membership!: Office.IOffice;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
|
||||||
|
|
||||||
@IsOptional()
|
|
||||||
documents?: Document.IDocument;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,6 @@
|
|||||||
import { IsNotEmpty, IsDate } from "class-validator";
|
import { UserHasNotificationClient } from "../..";
|
||||||
import { Notification } from "./Notification";
|
|
||||||
import { User } from "./User";
|
|
||||||
|
|
||||||
export namespace UserHasNotification {
|
export namespace UserHasNotification {
|
||||||
export class IUserHasNotification {
|
export class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification {
|
||||||
@IsNotEmpty()
|
|
||||||
public uuid!: string;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public user!: User.IUser;
|
|
||||||
|
|
||||||
@IsNotEmpty({ groups: ["create"] })
|
|
||||||
public notification!: Notification.INotification;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public created_at: Date | null = null;
|
|
||||||
|
|
||||||
@IsDate()
|
|
||||||
public updated_at: Date | null = null;
|
|
||||||
}
|
}
|
||||||
export type ENotificationStatus = "READ" | "UNREAD";
|
|
||||||
}
|
}
|
||||||
|
45
src/index.ts
45
src/index.ts
@ -1,3 +1,26 @@
|
|||||||
|
/**
|
||||||
|
* @description Namespace Client
|
||||||
|
* It contains all the interfaces and namespaces for the Client
|
||||||
|
*/
|
||||||
|
export { Address as AddressClient } from "./Interfaces/Client/Address";
|
||||||
|
export { Contact as ContactClient } from "./Interfaces/Client/Contact";
|
||||||
|
export { Customer as CustomerClient } from "./Interfaces/Client/Customer";
|
||||||
|
export { Deed as DeedClient } from "./Interfaces/Client/Deed";
|
||||||
|
export { DeedHasDocumentType as DeedHasDocumentTypeClient } from "./Interfaces/Client/DeedHasDocumentType";
|
||||||
|
export { DeedType as DeedTypeClient } from "./Interfaces/Client/DeedType";
|
||||||
|
export { DeedTypeHasDocumentType as DeedTypeHasDocumentTypeClient } from "./Interfaces/Client/DeedTypeHasDocumentType";
|
||||||
|
export { Document as DocumentClient } from "./Interfaces/Client/Document";
|
||||||
|
export { DocumentHistory as DocumentHistoryClient } from "./Interfaces/Client/DocumentHistory";
|
||||||
|
export { DocumentType as DocumentTypeClient } from "./Interfaces/Client/DocumentType";
|
||||||
|
export { File as FileClient } from "./Interfaces/Client/File";
|
||||||
|
export { Notification as NotificationClient } from "./Interfaces/Client/Notification";
|
||||||
|
export { Office as OfficeClient } from "./Interfaces/Client/Office";
|
||||||
|
export { OfficeFolder as OfficeFolderClient } from "./Interfaces/Client/OfficeFolder";
|
||||||
|
export { OfficeFolderHasCustomer as OfficeFolderHasCustomerClient } from "./Interfaces/Client/OfficeFolderHasCustomer";
|
||||||
|
export { OfficeFolderHasStakeholder as OfficeFolderHasStakeholderClient } from "./Interfaces/Client/OfficeFolderHasStakeholder";
|
||||||
|
export { User as UserClient } from "./Interfaces/Client/User";
|
||||||
|
export { UserHasNotification as UserHasNotificationClient } from "./Interfaces/Client/UserHasNotification";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Namespace Notary
|
* @description Namespace Notary
|
||||||
* It contains all the interfaces and enums for the user
|
* It contains all the interfaces and enums for the user
|
||||||
@ -44,28 +67,6 @@ export { OfficeFolderHasStakeholder as OfficeFolderHasStakeholderAdmin } from ".
|
|||||||
export { User as UserAdmin } from "./Interfaces/Admin/User";
|
export { User as UserAdmin } from "./Interfaces/Admin/User";
|
||||||
export { UserHasNotification as UserHasNotificationAdmin } from "./Interfaces/Admin/UserHasNotification";
|
export { UserHasNotification as UserHasNotificationAdmin } from "./Interfaces/Admin/UserHasNotification";
|
||||||
|
|
||||||
/**
|
|
||||||
* @description Namespace Client
|
|
||||||
* It contains all the interfaces and namespaces for the Client
|
|
||||||
*/
|
|
||||||
export { Address as AddressClient } from "./Interfaces/Client/Address";
|
|
||||||
export { Contact as ContactClient } from "./Interfaces/Client/Contact";
|
|
||||||
export { Customer as ClientClient } from "./Interfaces/Client/Customer";
|
|
||||||
export { Deed as DeedClient } from "./Interfaces/Client/Deed";
|
|
||||||
export { DeedHasDocumentType as DeedHasDocumentTypeClient } from "./Interfaces/Client/DeedHasDocumentType";
|
|
||||||
export { DeedType as DeedTypeClient } from "./Interfaces/Client/DeedType";
|
|
||||||
export { DeedTypeHasDocumentType as DeedTypeHasDocumentTypeClient } from "./Interfaces/Client/DeedTypeHasDocumentType";
|
|
||||||
export { Document as DocumentClient } from "./Interfaces/Client/Document";
|
|
||||||
export { DocumentHistory as DocumentHistoryClient } from "./Interfaces/Client/DocumentHistory";
|
|
||||||
export { DocumentType as DocumentTypeClient } from "./Interfaces/Client/DocumentType";
|
|
||||||
export { File as FileClient } from "./Interfaces/Client/File";
|
|
||||||
export { Notification as NotificationClient } from "./Interfaces/Client/Notification";
|
|
||||||
export { Office as OfficeClient } from "./Interfaces/Client/Office";
|
|
||||||
export { OfficeFolder as OfficeFolderClient } from "./Interfaces/Client/OfficeFolder";
|
|
||||||
export { OfficeFolderHasCustomer as OfficeFolderHasClientClient } from "./Interfaces/Client/OfficeFolderHasCustomer";
|
|
||||||
export { OfficeFolderHasStakeholder as OfficeFolderHasStakeholderClient } from "./Interfaces/Client/OfficeFolderHasStakeholder";
|
|
||||||
export { User as UserClient } from "./Interfaces/Client/User";
|
|
||||||
export { UserHasNotification as UserHasNotificationClient } from "./Interfaces/Client/UserHasNotification";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Namespace SuperAdmin
|
* @description Namespace SuperAdmin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user