🎨 fix .dist folder
This commit is contained in:
parent
de86dc49c4
commit
d3462729fa
4
dist/Interfaces/Admin/Address.d.ts
vendored
4
dist/Interfaces/Admin/Address.d.ts
vendored
@ -1,5 +1,5 @@
|
||||
import { AddressNotary } from "../..";
|
||||
import { AddressClient } from "../..";
|
||||
export declare namespace Address {
|
||||
class IAddress extends AddressNotary.IAddress {
|
||||
class IAddress extends AddressClient.IAddress {
|
||||
}
|
||||
}
|
||||
|
2
dist/Interfaces/Admin/Address.js
vendored
2
dist/Interfaces/Admin/Address.js
vendored
@ -4,7 +4,7 @@ exports.Address = void 0;
|
||||
const __1 = require("../..");
|
||||
var Address;
|
||||
(function (Address) {
|
||||
class IAddress extends __1.AddressNotary.IAddress {
|
||||
class IAddress extends __1.AddressClient.IAddress {
|
||||
}
|
||||
Address.IAddress = IAddress;
|
||||
})(Address = exports.Address || (exports.Address = {}));
|
||||
|
19
dist/Interfaces/Admin/Contact.d.ts
vendored
19
dist/Interfaces/Admin/Contact.d.ts
vendored
@ -1,20 +1,5 @@
|
||||
import { Address } from "./Address";
|
||||
import { Customer } from "./Customer";
|
||||
import { User } from "./User";
|
||||
import { ContactNotary } from "../..";
|
||||
import { ContactClient } from "../..";
|
||||
export declare namespace Contact {
|
||||
class IContact {
|
||||
uuid: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
email: string;
|
||||
phone_number: string;
|
||||
cell_phone_number: string;
|
||||
civility: ContactNotary.ECivility;
|
||||
address: Address.IAddress;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
users?: User.IUser;
|
||||
customers?: Customer.ICustomer;
|
||||
class IContact extends ContactClient.IContact {
|
||||
}
|
||||
}
|
||||
|
67
dist/Interfaces/Admin/Contact.js
vendored
67
dist/Interfaces/Admin/Contact.js
vendored
@ -1,75 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Contact = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const Customer_1 = require("./Customer");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var Contact;
|
||||
(function (Contact) {
|
||||
class IContact {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IContact extends __1.ContactClient.IContact {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "first_name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "last_name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "email", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "cell_phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "civility", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Address_1.Address.IAddress)
|
||||
], IContact.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IContact.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IContact.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IContact.prototype, "users", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IContact.prototype, "customers", void 0);
|
||||
Contact.IContact = IContact;
|
||||
})(Contact = exports.Contact || (exports.Contact = {}));
|
||||
|
14
dist/Interfaces/Admin/Customer.d.ts
vendored
14
dist/Interfaces/Admin/Customer.d.ts
vendored
@ -1,15 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Document } from "./Document";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { CustomerNotary } from "../..";
|
||||
import { CustomerClient } from "../..";
|
||||
export declare namespace Customer {
|
||||
class ICustomer {
|
||||
uuid: string;
|
||||
status: CustomerNotary.ECustomerStatus;
|
||||
contact: Contact.IContact;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
||||
documents?: Document.IDocument[];
|
||||
class ICustomer extends CustomerClient.ICustomer {
|
||||
}
|
||||
}
|
||||
|
45
dist/Interfaces/Admin/Customer.js
vendored
45
dist/Interfaces/Admin/Customer.js
vendored
@ -1,53 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Customer = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const __1 = require("../..");
|
||||
var Customer;
|
||||
(function (Customer) {
|
||||
class ICustomer {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class ICustomer extends __1.CustomerClient.ICustomer {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], ICustomer.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], ICustomer.prototype, "status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], ICustomer.prototype, "contact", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], ICustomer.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], ICustomer.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "office_folder_has_customers", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "documents", void 0);
|
||||
Customer.ICustomer = ICustomer;
|
||||
})(Customer = exports.Customer || (exports.Customer = {}));
|
||||
|
12
dist/Interfaces/Admin/Deed.d.ts
vendored
12
dist/Interfaces/Admin/Deed.d.ts
vendored
@ -1,13 +1,5 @@
|
||||
import { DeedType } from "./DeedType";
|
||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DeedClient } from "../..";
|
||||
export declare namespace Deed {
|
||||
class IDeed {
|
||||
uuid: string;
|
||||
deed_type: DeedType.IDeedType;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
||||
office_folder?: OfficeFolder.IOfficeFolder;
|
||||
class IDeed extends DeedClient.IDeed {
|
||||
}
|
||||
}
|
||||
|
43
dist/Interfaces/Admin/Deed.js
vendored
43
dist/Interfaces/Admin/Deed.js
vendored
@ -1,49 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Deed = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const DeedType_1 = require("./DeedType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Deed;
|
||||
(function (Deed) {
|
||||
class IDeed {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeed extends __1.DeedClient.IDeed {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeed.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DeedType_1.DeedType.IDeedType)
|
||||
], IDeed.prototype, "deed_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeed.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeed.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeed.prototype, "deed_has_document_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IDeed.prototype, "office_folder", void 0);
|
||||
Deed.IDeed = IDeed;
|
||||
})(Deed = exports.Deed || (exports.Deed = {}));
|
||||
|
10
dist/Interfaces/Admin/DeedHasDocumentType.d.ts
vendored
10
dist/Interfaces/Admin/DeedHasDocumentType.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { DeedHasDocumentTypeClient } from "../..";
|
||||
export declare namespace DeedHasDocumentType {
|
||||
class IDeedHasDocumentType {
|
||||
uuid: string;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
deed: Deed.IDeed;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Admin/DeedHasDocumentType.js
vendored
39
dist/Interfaces/Admin/DeedHasDocumentType.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedHasDocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Deed_1 = require("./Deed");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const __1 = require("../..");
|
||||
var DeedHasDocumentType;
|
||||
(function (DeedHasDocumentType) {
|
||||
class IDeedHasDocumentType {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.IDeedHasDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedHasDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDeedHasDocumentType.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Deed_1.Deed.IDeed)
|
||||
], IDeedHasDocumentType.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedHasDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedHasDocumentType.prototype, "updated_at", void 0);
|
||||
DeedHasDocumentType.IDeedHasDocumentType = IDeedHasDocumentType;
|
||||
})(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {}));
|
||||
|
15
dist/Interfaces/Admin/DeedType.d.ts
vendored
15
dist/Interfaces/Admin/DeedType.d.ts
vendored
@ -1,16 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
||||
import { Office } from "./Office";
|
||||
import { DeedTypeClient } from "../..";
|
||||
export declare namespace DeedType {
|
||||
class IDeedType {
|
||||
uuid: string;
|
||||
name: string;
|
||||
description: string;
|
||||
archived_at: Date | null;
|
||||
office: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed?: Deed.IDeed[];
|
||||
deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
||||
class IDeedType extends DeedTypeClient.IDeedType {
|
||||
}
|
||||
}
|
||||
|
55
dist/Interfaces/Admin/DeedType.js
vendored
55
dist/Interfaces/Admin/DeedType.js
vendored
@ -1,61 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var DeedType;
|
||||
(function (DeedType) {
|
||||
class IDeedType {
|
||||
constructor() {
|
||||
this.archived_at = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedType extends __1.DeedTypeClient.IDeedType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "archived_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IDeedType.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeedType.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeedType.prototype, "deed_type_has_document_types", void 0);
|
||||
DeedType.IDeedType = IDeedType;
|
||||
})(DeedType = exports.DeedType || (exports.DeedType = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { DeedType } from "./DeedType";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { DeedTypeHasDocumentTypeClient } from "../..";
|
||||
export declare namespace DeedTypeHasDocumentType {
|
||||
class IDeedTypeHasDocumentType {
|
||||
uuid: string;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
deed_type: DeedType.IDeedType;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Admin/DeedTypeHasDocumentType.js
vendored
39
dist/Interfaces/Admin/DeedTypeHasDocumentType.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedTypeHasDocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const DeedType_1 = require("./DeedType");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const __1 = require("../..");
|
||||
var DeedTypeHasDocumentType;
|
||||
(function (DeedTypeHasDocumentType) {
|
||||
class IDeedTypeHasDocumentType {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDeedTypeHasDocumentType.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DeedType_1.DeedType.IDeedType)
|
||||
], IDeedTypeHasDocumentType.prototype, "deed_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedTypeHasDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedTypeHasDocumentType.prototype, "updated_at", void 0);
|
||||
DeedTypeHasDocumentType.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType;
|
||||
})(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {}));
|
||||
|
18
dist/Interfaces/Admin/Document.d.ts
vendored
18
dist/Interfaces/Admin/Document.d.ts
vendored
@ -1,19 +1,5 @@
|
||||
import { Customer } from "./Customer";
|
||||
import { DocumentHistory } from "./DocumentHistory";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { File } from "./File";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DocumentNotary } from "../..";
|
||||
import { DocumentClient } from "../..";
|
||||
export declare namespace Document {
|
||||
class IDocument {
|
||||
uuid: string;
|
||||
document_status: DocumentNotary.EDocumentStatus;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
folder: OfficeFolder.IOfficeFolder;
|
||||
depositor: Customer.ICustomer;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
files?: File.IFile[];
|
||||
document_history?: DocumentHistory.IDocumentHistory[];
|
||||
class IDocument extends DocumentClient.IDocument {
|
||||
}
|
||||
}
|
||||
|
55
dist/Interfaces/Admin/Document.js
vendored
55
dist/Interfaces/Admin/Document.js
vendored
@ -1,63 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Document = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Customer_1 = require("./Customer");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Document;
|
||||
(function (Document) {
|
||||
class IDocument {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocument extends __1.DocumentClient.IDocument {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocument.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocument.prototype, "document_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDocument.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IDocument.prototype, "folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IDocument.prototype, "depositor", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocument.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocument.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "files", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "document_history", void 0);
|
||||
Document.IDocument = IDocument;
|
||||
})(Document = exports.Document || (exports.Document = {}));
|
||||
|
10
dist/Interfaces/Admin/DocumentHistory.d.ts
vendored
10
dist/Interfaces/Admin/DocumentHistory.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { Document } from "../Notary/Document";
|
||||
import { DocumentHistoryClient } from "../..";
|
||||
export declare namespace DocumentHistory {
|
||||
class IDocumentHistory {
|
||||
uuid: string;
|
||||
document_status: Document.EDocumentStatus;
|
||||
document: Document.IDocument;
|
||||
refused_reason: string | null;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {
|
||||
}
|
||||
}
|
||||
|
43
dist/Interfaces/Admin/DocumentHistory.js
vendored
43
dist/Interfaces/Admin/DocumentHistory.js
vendored
@ -1,49 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DocumentHistory = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Document_1 = require("../Notary/Document");
|
||||
const __1 = require("../..");
|
||||
var DocumentHistory;
|
||||
(function (DocumentHistory) {
|
||||
class IDocumentHistory {
|
||||
constructor() {
|
||||
this.refused_reason = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocumentHistory extends __1.DocumentHistoryClient.IDocumentHistory {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentHistory.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentHistory.prototype, "document_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Document_1.Document.IDocument)
|
||||
], IDocumentHistory.prototype, "document", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentHistory.prototype, "refused_reason", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentHistory.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentHistory.prototype, "updated_at", void 0);
|
||||
DocumentHistory.IDocumentHistory = IDocumentHistory;
|
||||
})(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {}));
|
||||
|
16
dist/Interfaces/Admin/DocumentType.d.ts
vendored
16
dist/Interfaces/Admin/DocumentType.d.ts
vendored
@ -1,17 +1,5 @@
|
||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
||||
import { Document } from "./Document";
|
||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
||||
import { DocumentTypeClient } from "../..";
|
||||
export declare namespace DocumentType {
|
||||
class IDocumentType {
|
||||
uuid: string;
|
||||
name: string;
|
||||
public_description: string;
|
||||
private_description: string | null;
|
||||
archived_at: Date | null;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
documents?: Document.IDocument[];
|
||||
deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
||||
deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
||||
class IDocumentType extends DocumentTypeClient.IDocumentType {
|
||||
}
|
||||
}
|
||||
|
59
dist/Interfaces/Admin/DocumentType.js
vendored
59
dist/Interfaces/Admin/DocumentType.js
vendored
@ -1,65 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const __1 = require("../..");
|
||||
var DocumentType;
|
||||
(function (DocumentType) {
|
||||
class IDocumentType {
|
||||
constructor() {
|
||||
this.private_description = null;
|
||||
this.archived_at = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocumentType extends __1.DocumentTypeClient.IDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentType.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentType.prototype, "public_description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "private_description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "archived_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocumentType.prototype, "documents", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocumentType.prototype, "deed_has_document_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocumentType.prototype, "deed_type_has_document_types", void 0);
|
||||
DocumentType.IDocumentType = IDocumentType;
|
||||
})(DocumentType = exports.DocumentType || (exports.DocumentType = {}));
|
||||
|
9
dist/Interfaces/Admin/File.d.ts
vendored
9
dist/Interfaces/Admin/File.d.ts
vendored
@ -1,10 +1,5 @@
|
||||
import { Document } from "./Document";
|
||||
import { FileClient } from "../..";
|
||||
export declare namespace File {
|
||||
class IFile {
|
||||
uuid: string;
|
||||
document: Document.IDocument;
|
||||
file_path: string | null;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IFile extends FileClient.IFile {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Admin/File.js
vendored
39
dist/Interfaces/Admin/File.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.File = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Document_1 = require("./Document");
|
||||
const __1 = require("../..");
|
||||
var File;
|
||||
(function (File) {
|
||||
class IFile {
|
||||
constructor() {
|
||||
this.file_path = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IFile extends __1.FileClient.IFile {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IFile.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Document_1.Document.IDocument)
|
||||
], IFile.prototype, "document", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IFile.prototype, "file_path", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IFile.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IFile.prototype, "updated_at", void 0);
|
||||
File.IFile = IFile;
|
||||
})(File = exports.File || (exports.File = {}));
|
||||
|
10
dist/Interfaces/Admin/Notification.d.ts
vendored
10
dist/Interfaces/Admin/Notification.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { UserHasNotification } from "./UserHasNotification";
|
||||
import { NotificationClient } from "../..";
|
||||
export declare namespace Notification {
|
||||
class INotification {
|
||||
uuid: string;
|
||||
message: string;
|
||||
redirection_url: string;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
user_has_notifications?: UserHasNotification.IUserHasNotification[];
|
||||
class INotification extends NotificationClient.INotification {
|
||||
}
|
||||
}
|
||||
|
42
dist/Interfaces/Admin/Notification.js
vendored
42
dist/Interfaces/Admin/Notification.js
vendored
@ -1,48 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Notification = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const __1 = require("../..");
|
||||
var Notification;
|
||||
(function (Notification) {
|
||||
class INotification {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class INotification extends __1.NotificationClient.INotification {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], INotification.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], INotification.prototype, "message", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
(0, class_validator_1.IsUrl)(),
|
||||
__metadata("design:type", String)
|
||||
], INotification.prototype, "redirection_url", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], INotification.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], INotification.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], INotification.prototype, "user_has_notifications", void 0);
|
||||
Notification.INotification = INotification;
|
||||
})(Notification = exports.Notification || (exports.Notification = {}));
|
||||
|
19
dist/Interfaces/Admin/Office.d.ts
vendored
19
dist/Interfaces/Admin/Office.d.ts
vendored
@ -1,20 +1,5 @@
|
||||
import { Address } from "./Address";
|
||||
import { DeedType } from "./DeedType";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { User } from "./User";
|
||||
import { OfficeNotary } from "../..";
|
||||
import { OfficeClient } from "../..";
|
||||
export declare namespace Office {
|
||||
class IOffice {
|
||||
uuid: string;
|
||||
idNot: string;
|
||||
name: string;
|
||||
crpcen: string;
|
||||
address: Address.IAddress;
|
||||
office_status: OfficeNotary.EOfficeStatus;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed_types?: DeedType.IDeedType[];
|
||||
users?: User.IUser[];
|
||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
||||
class IOffice extends OfficeClient.IOffice {
|
||||
}
|
||||
}
|
||||
|
61
dist/Interfaces/Admin/Office.js
vendored
61
dist/Interfaces/Admin/Office.js
vendored
@ -1,69 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Office = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const __1 = require("../..");
|
||||
var Office;
|
||||
(function (Office) {
|
||||
class IOffice {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOffice extends __1.OfficeClient.IOffice {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "idNot", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "crpcen", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Address_1.Address.IAddress)
|
||||
], IOffice.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "office_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOffice.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOffice.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "deed_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "users", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "office_folders", void 0);
|
||||
Office.IOffice = IOffice;
|
||||
})(Office = exports.Office || (exports.Office = {}));
|
||||
|
22
dist/Interfaces/Admin/OfficeFolder.d.ts
vendored
22
dist/Interfaces/Admin/OfficeFolder.d.ts
vendored
@ -1,23 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { Document } from "./Document";
|
||||
import { Office } from "./Office";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
||||
import { OfficeFolderNotary } from "../..";
|
||||
import { OfficeFolderClient } from "../..";
|
||||
export declare namespace OfficeFolder {
|
||||
class IOfficeFolder {
|
||||
uuid: string;
|
||||
folder_number: string;
|
||||
name: string;
|
||||
description: string | null;
|
||||
archived_description: string | null;
|
||||
status: OfficeFolderNotary.EFolderStatus;
|
||||
deed: Deed.IDeed;
|
||||
office: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
||||
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
||||
documents?: Document.IDocument[];
|
||||
class IOfficeFolder extends OfficeFolderClient.IOfficeFolder {
|
||||
}
|
||||
}
|
||||
|
72
dist/Interfaces/Admin/OfficeFolder.js
vendored
72
dist/Interfaces/Admin/OfficeFolder.js
vendored
@ -1,80 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OfficeFolder = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Deed_1 = require("./Deed");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolder;
|
||||
(function (OfficeFolder) {
|
||||
class IOfficeFolder {
|
||||
constructor() {
|
||||
this.description = null;
|
||||
this.archived_description = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOfficeFolder extends __1.OfficeFolderClient.IOfficeFolder {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "folder_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "archived_description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Deed_1.Deed.IDeed)
|
||||
], IOfficeFolder.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IOfficeFolder.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "office_folder_has_customers", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "documents", void 0);
|
||||
OfficeFolder.IOfficeFolder = IOfficeFolder;
|
||||
})(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { Customer } from "./Customer";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { OfficeFolderHasCustomerClient } from "../..";
|
||||
export declare namespace OfficeFolderHasCustomer {
|
||||
class IOfficeFolderHasCustomer {
|
||||
uuid: string;
|
||||
customer: Customer.ICustomer;
|
||||
office_folder: OfficeFolder.IOfficeFolder;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Admin/OfficeFolderHasCustomer.js
vendored
39
dist/Interfaces/Admin/OfficeFolderHasCustomer.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OfficeFolderHasCustomer = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Customer_1 = require("./Customer");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolderHasCustomer;
|
||||
(function (OfficeFolderHasCustomer) {
|
||||
class IOfficeFolderHasCustomer {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolderHasCustomer.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IOfficeFolderHasCustomer.prototype, "customer", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IOfficeFolderHasCustomer.prototype, "office_folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasCustomer.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasCustomer.prototype, "updated_at", void 0);
|
||||
OfficeFolderHasCustomer.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer;
|
||||
})(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { User } from "./User";
|
||||
import { OfficeFolderHasStakeholderClient } from "../..";
|
||||
export declare namespace OfficeFolderHasStakeholder {
|
||||
class IOfficeFolderHasStakeholder {
|
||||
uuid: string;
|
||||
user_stakeholder: User.IUser;
|
||||
office_folder: OfficeFolder.IOfficeFolder;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {
|
||||
}
|
||||
}
|
||||
|
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OfficeFolderHasStakeholder = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolderHasStakeholder;
|
||||
(function (OfficeFolderHasStakeholder) {
|
||||
class IOfficeFolderHasStakeholder {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolderHasStakeholder.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasStakeholder.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0);
|
||||
OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder;
|
||||
})(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {}));
|
||||
|
15
dist/Interfaces/Admin/User.d.ts
vendored
15
dist/Interfaces/Admin/User.d.ts
vendored
@ -1,16 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Document } from "./Document";
|
||||
import { Office } from "./Office";
|
||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
||||
import { UserClient } from "../..";
|
||||
export declare namespace User {
|
||||
class IUser {
|
||||
uuid: string;
|
||||
idNot: string;
|
||||
contact: Contact.IContact;
|
||||
office_membership: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
||||
documents?: Document.IDocument;
|
||||
class IUser extends UserClient.IUser {
|
||||
}
|
||||
}
|
||||
|
52
dist/Interfaces/Admin/User.js
vendored
52
dist/Interfaces/Admin/User.js
vendored
@ -1,58 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.User = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const Document_1 = require("./Document");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var User;
|
||||
(function (User) {
|
||||
class IUser {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IUser extends __1.UserClient.IUser {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IUser.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IUser.prototype, "idNot", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], IUser.prototype, "contact", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IUser.prototype, "office_membership", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUser.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUser.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IUser.prototype, "office_folder_has_stakeholders", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Document_1.Document.IDocument)
|
||||
], IUser.prototype, "documents", void 0);
|
||||
User.IUser = IUser;
|
||||
})(User = exports.User || (exports.User = {}));
|
||||
|
11
dist/Interfaces/Admin/UserHasNotification.d.ts
vendored
11
dist/Interfaces/Admin/UserHasNotification.d.ts
vendored
@ -1,12 +1,5 @@
|
||||
import { Notification } from "./Notification";
|
||||
import { User } from "./User";
|
||||
import { UserHasNotificationClient } from "../..";
|
||||
export declare namespace UserHasNotification {
|
||||
class IUserHasNotification {
|
||||
uuid: string;
|
||||
user: User.IUser;
|
||||
notification: Notification.INotification;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification {
|
||||
}
|
||||
type ENotificationStatus = "READ" | "UNREAD";
|
||||
}
|
||||
|
39
dist/Interfaces/Admin/UserHasNotification.js
vendored
39
dist/Interfaces/Admin/UserHasNotification.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UserHasNotification = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Notification_1 = require("./Notification");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var UserHasNotification;
|
||||
(function (UserHasNotification) {
|
||||
class IUserHasNotification {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IUserHasNotification extends __1.UserHasNotificationClient.IUserHasNotification {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IUserHasNotification.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IUserHasNotification.prototype, "user", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Notification_1.Notification.INotification)
|
||||
], IUserHasNotification.prototype, "notification", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUserHasNotification.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUserHasNotification.prototype, "updated_at", void 0);
|
||||
UserHasNotification.IUserHasNotification = IUserHasNotification;
|
||||
})(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {}));
|
||||
|
9
dist/Interfaces/Client/Contact.d.ts
vendored
9
dist/Interfaces/Client/Contact.d.ts
vendored
@ -1,7 +1,6 @@
|
||||
import { Address } from "./Address";
|
||||
import { Customer } from "./Customer";
|
||||
import { User } from "./User";
|
||||
import { ContactNotary } from "../..";
|
||||
export declare namespace Contact {
|
||||
class IContact {
|
||||
uuid: string;
|
||||
@ -10,11 +9,17 @@ export declare namespace Contact {
|
||||
email: string;
|
||||
phone_number: string;
|
||||
cell_phone_number: string;
|
||||
civility: ContactNotary.ECivility;
|
||||
civility: ECivility;
|
||||
address: Address.IAddress;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
users?: User.IUser;
|
||||
customers?: Customer.ICustomer;
|
||||
}
|
||||
enum ECivility {
|
||||
MALE = "MALE",
|
||||
FEMALE = "FEMALE",
|
||||
OTHERS = "OTHERS"
|
||||
}
|
||||
type TCivility = ECivility.MALE | ECivility.FEMALE | ECivility.OTHERS;
|
||||
}
|
||||
|
7
dist/Interfaces/Client/Contact.js
vendored
7
dist/Interfaces/Client/Contact.js
vendored
@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const Customer_1 = require("./Customer");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var Contact;
|
||||
(function (Contact) {
|
||||
class IContact {
|
||||
@ -72,4 +71,10 @@ var Contact;
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IContact.prototype, "customers", void 0);
|
||||
Contact.IContact = IContact;
|
||||
let ECivility;
|
||||
(function (ECivility) {
|
||||
ECivility["MALE"] = "MALE";
|
||||
ECivility["FEMALE"] = "FEMALE";
|
||||
ECivility["OTHERS"] = "OTHERS";
|
||||
})(ECivility = Contact.ECivility || (Contact.ECivility = {}));
|
||||
})(Contact = exports.Contact || (exports.Contact = {}));
|
||||
|
9
dist/Interfaces/Client/Customer.d.ts
vendored
9
dist/Interfaces/Client/Customer.d.ts
vendored
@ -1,15 +1,20 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Document } from "./Document";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { CustomerNotary } from "../..";
|
||||
export declare namespace Customer {
|
||||
class ICustomer {
|
||||
uuid: string;
|
||||
status: CustomerNotary.ECustomerStatus;
|
||||
status: ECustomerStatus;
|
||||
contact: Contact.IContact;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
||||
documents?: Document.IDocument[];
|
||||
}
|
||||
enum ECustomerStatus {
|
||||
VALIDATED = "VALIDATED",
|
||||
PENDING = "PENDING",
|
||||
ERRONED = "ERRONED"
|
||||
}
|
||||
type TCustomerStatus = ECustomerStatus.VALIDATED | ECustomerStatus.PENDING | ECustomerStatus.ERRONED;
|
||||
}
|
||||
|
7
dist/Interfaces/Client/Customer.js
vendored
7
dist/Interfaces/Client/Customer.js
vendored
@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Customer = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const __1 = require("../..");
|
||||
var Customer;
|
||||
(function (Customer) {
|
||||
class ICustomer {
|
||||
@ -50,4 +49,10 @@ var Customer;
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "documents", void 0);
|
||||
Customer.ICustomer = ICustomer;
|
||||
let ECustomerStatus;
|
||||
(function (ECustomerStatus) {
|
||||
ECustomerStatus["VALIDATED"] = "VALIDATED";
|
||||
ECustomerStatus["PENDING"] = "PENDING";
|
||||
ECustomerStatus["ERRONED"] = "ERRONED";
|
||||
})(ECustomerStatus = Customer.ECustomerStatus || (Customer.ECustomerStatus = {}));
|
||||
})(Customer = exports.Customer || (exports.Customer = {}));
|
||||
|
11
dist/Interfaces/Client/Document.d.ts
vendored
11
dist/Interfaces/Client/Document.d.ts
vendored
@ -3,11 +3,10 @@ import { DocumentHistory } from "./DocumentHistory";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { File } from "./File";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DocumentNotary } from "../..";
|
||||
export declare namespace Document {
|
||||
class IDocument {
|
||||
uuid: string;
|
||||
document_status: DocumentNotary.EDocumentStatus;
|
||||
document_status: EDocumentStatus;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
folder: OfficeFolder.IOfficeFolder;
|
||||
depositor: Customer.ICustomer;
|
||||
@ -16,4 +15,12 @@ export declare namespace Document {
|
||||
files?: File.IFile[];
|
||||
document_history?: DocumentHistory.IDocumentHistory[];
|
||||
}
|
||||
enum EDocumentStatus {
|
||||
ASKED = "ASKED",
|
||||
DEPOSITED = "DEPOSITED",
|
||||
VALIDATED = "VALIDATED",
|
||||
ANCHORED = "ANCHORED",
|
||||
REFUSED = "REFUSED"
|
||||
}
|
||||
type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED;
|
||||
}
|
||||
|
9
dist/Interfaces/Client/Document.js
vendored
9
dist/Interfaces/Client/Document.js
vendored
@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
|
||||
const Customer_1 = require("./Customer");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Document;
|
||||
(function (Document) {
|
||||
class IDocument {
|
||||
@ -60,4 +59,12 @@ var Document;
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "document_history", void 0);
|
||||
Document.IDocument = IDocument;
|
||||
let EDocumentStatus;
|
||||
(function (EDocumentStatus) {
|
||||
EDocumentStatus["ASKED"] = "ASKED";
|
||||
EDocumentStatus["DEPOSITED"] = "DEPOSITED";
|
||||
EDocumentStatus["VALIDATED"] = "VALIDATED";
|
||||
EDocumentStatus["ANCHORED"] = "ANCHORED";
|
||||
EDocumentStatus["REFUSED"] = "REFUSED";
|
||||
})(EDocumentStatus = Document.EDocumentStatus || (Document.EDocumentStatus = {}));
|
||||
})(Document = exports.Document || (exports.Document = {}));
|
||||
|
2
dist/Interfaces/Client/DocumentHistory.d.ts
vendored
2
dist/Interfaces/Client/DocumentHistory.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
import { Document } from "../Notary/Document";
|
||||
import { Document } from "../Client/Document";
|
||||
export declare namespace DocumentHistory {
|
||||
class IDocumentHistory {
|
||||
uuid: string;
|
||||
|
2
dist/Interfaces/Client/DocumentHistory.js
vendored
2
dist/Interfaces/Client/DocumentHistory.js
vendored
@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DocumentHistory = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Document_1 = require("../Notary/Document");
|
||||
const Document_1 = require("../Client/Document");
|
||||
var DocumentHistory;
|
||||
(function (DocumentHistory) {
|
||||
class IDocumentHistory {
|
||||
|
8
dist/Interfaces/Client/Office.d.ts
vendored
8
dist/Interfaces/Client/Office.d.ts
vendored
@ -2,7 +2,6 @@ import { Address } from "./Address";
|
||||
import { DeedType } from "./DeedType";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { User } from "./User";
|
||||
import { OfficeNotary } from "../..";
|
||||
export declare namespace Office {
|
||||
class IOffice {
|
||||
uuid: string;
|
||||
@ -10,11 +9,16 @@ export declare namespace Office {
|
||||
name: string;
|
||||
crpcen: string;
|
||||
address: Address.IAddress;
|
||||
office_status: OfficeNotary.EOfficeStatus;
|
||||
office_status: EOfficeStatus;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed_types?: DeedType.IDeedType[];
|
||||
users?: User.IUser[];
|
||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
||||
}
|
||||
enum EOfficeStatus {
|
||||
ACTIVATED = "ACTIVATED",
|
||||
DESACTIVATED = "DESACTIVATED"
|
||||
}
|
||||
type TOfficeStatus = EOfficeStatus.ACTIVATED | EOfficeStatus.DESACTIVATED;
|
||||
}
|
||||
|
6
dist/Interfaces/Client/Office.js
vendored
6
dist/Interfaces/Client/Office.js
vendored
@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Office = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const __1 = require("../..");
|
||||
var Office;
|
||||
(function (Office) {
|
||||
class IOffice {
|
||||
@ -66,4 +65,9 @@ var Office;
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "office_folders", void 0);
|
||||
Office.IOffice = IOffice;
|
||||
let EOfficeStatus;
|
||||
(function (EOfficeStatus) {
|
||||
EOfficeStatus["ACTIVATED"] = "ACTIVATED";
|
||||
EOfficeStatus["DESACTIVATED"] = "DESACTIVATED";
|
||||
})(EOfficeStatus = Office.EOfficeStatus || (Office.EOfficeStatus = {}));
|
||||
})(Office = exports.Office || (exports.Office = {}));
|
||||
|
8
dist/Interfaces/Client/OfficeFolder.d.ts
vendored
8
dist/Interfaces/Client/OfficeFolder.d.ts
vendored
@ -3,7 +3,6 @@ import { Document } from "./Document";
|
||||
import { Office } from "./Office";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
||||
import { OfficeFolderNotary } from "../..";
|
||||
export declare namespace OfficeFolder {
|
||||
class IOfficeFolder {
|
||||
uuid: string;
|
||||
@ -11,7 +10,7 @@ export declare namespace OfficeFolder {
|
||||
name: string;
|
||||
description: string | null;
|
||||
archived_description: string | null;
|
||||
status: OfficeFolderNotary.EFolderStatus;
|
||||
status: EFolderStatus;
|
||||
deed: Deed.IDeed;
|
||||
office: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
@ -20,4 +19,9 @@ export declare namespace OfficeFolder {
|
||||
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
||||
documents?: Document.IDocument[];
|
||||
}
|
||||
enum EFolderStatus {
|
||||
LIVE = "LIVE",
|
||||
ARCHIVED = "ARCHIVED"
|
||||
}
|
||||
type TFolderStatus = EFolderStatus.LIVE | EFolderStatus.ARCHIVED;
|
||||
}
|
||||
|
6
dist/Interfaces/Client/OfficeFolder.js
vendored
6
dist/Interfaces/Client/OfficeFolder.js
vendored
@ -13,7 +13,6 @@ exports.OfficeFolder = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Deed_1 = require("./Deed");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolder;
|
||||
(function (OfficeFolder) {
|
||||
class IOfficeFolder {
|
||||
@ -77,4 +76,9 @@ var OfficeFolder;
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "documents", void 0);
|
||||
OfficeFolder.IOfficeFolder = IOfficeFolder;
|
||||
let EFolderStatus;
|
||||
(function (EFolderStatus) {
|
||||
EFolderStatus["LIVE"] = "LIVE";
|
||||
EFolderStatus["ARCHIVED"] = "ARCHIVED";
|
||||
})(EFolderStatus = OfficeFolder.EFolderStatus || (OfficeFolder.EFolderStatus = {}));
|
||||
})(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {}));
|
||||
|
13
dist/Interfaces/Notary/Address.d.ts
vendored
13
dist/Interfaces/Notary/Address.d.ts
vendored
@ -1,14 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Office } from "./Office";
|
||||
import { AddressClient } from "../..";
|
||||
export declare namespace Address {
|
||||
class IAddress {
|
||||
uuid: string;
|
||||
address: string;
|
||||
city: string;
|
||||
zip_code: number;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office?: Office.IOffice;
|
||||
contacts?: Contact.IContact;
|
||||
class IAddress extends AddressClient.IAddress {
|
||||
}
|
||||
}
|
||||
|
51
dist/Interfaces/Notary/Address.js
vendored
51
dist/Interfaces/Notary/Address.js
vendored
@ -1,57 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Address = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var Address;
|
||||
(function (Address) {
|
||||
class IAddress {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IAddress extends __1.AddressClient.IAddress {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IAddress.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IAddress.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IAddress.prototype, "city", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Number)
|
||||
], IAddress.prototype, "zip_code", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IAddress.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IAddress.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IAddress.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], IAddress.prototype, "contacts", void 0);
|
||||
Address.IAddress = IAddress;
|
||||
})(Address = exports.Address || (exports.Address = {}));
|
||||
|
19
dist/Interfaces/Notary/Contact.d.ts
vendored
19
dist/Interfaces/Notary/Contact.d.ts
vendored
@ -1,20 +1,5 @@
|
||||
import { Address } from "./Address";
|
||||
import { Customer } from "./Customer";
|
||||
import { User } from "./User";
|
||||
import { ContactClient } from "../..";
|
||||
export declare namespace Contact {
|
||||
class IContact {
|
||||
uuid: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
email: string;
|
||||
phone_number: string;
|
||||
cell_phone_number: string;
|
||||
civility: ECivility;
|
||||
address: Address.IAddress;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
users?: User.IUser;
|
||||
customers?: Customer.ICustomer;
|
||||
class IContact extends ContactClient.IContact {
|
||||
}
|
||||
type ECivility = "MALE" | "FEMALE" | "OTHERS";
|
||||
}
|
||||
|
68
dist/Interfaces/Notary/Contact.js
vendored
68
dist/Interfaces/Notary/Contact.js
vendored
@ -1,74 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Contact = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const Customer_1 = require("./Customer");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var Contact;
|
||||
(function (Contact) {
|
||||
class IContact {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IContact extends __1.ContactClient.IContact {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "first_name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "last_name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "email", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "cell_phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "civility", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Address_1.Address.IAddress)
|
||||
], IContact.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IContact.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IContact.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IContact.prototype, "users", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IContact.prototype, "customers", void 0);
|
||||
Contact.IContact = IContact;
|
||||
})(Contact = exports.Contact || (exports.Contact = {}));
|
||||
|
14
dist/Interfaces/Notary/Customer.d.ts
vendored
14
dist/Interfaces/Notary/Customer.d.ts
vendored
@ -1,15 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Document } from "./Document";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { CustomerClient } from "../..";
|
||||
export declare namespace Customer {
|
||||
class ICustomer {
|
||||
uuid: string;
|
||||
status: ECustomerStatus;
|
||||
contact: Contact.IContact;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
||||
documents?: Document.IDocument[];
|
||||
class ICustomer extends CustomerClient.ICustomer {
|
||||
}
|
||||
type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED";
|
||||
}
|
||||
|
46
dist/Interfaces/Notary/Customer.js
vendored
46
dist/Interfaces/Notary/Customer.js
vendored
@ -1,52 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Customer = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const __1 = require("../..");
|
||||
var Customer;
|
||||
(function (Customer) {
|
||||
class ICustomer {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class ICustomer extends __1.CustomerClient.ICustomer {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], ICustomer.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], ICustomer.prototype, "status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], ICustomer.prototype, "contact", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], ICustomer.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], ICustomer.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "office_folder_has_customers", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "documents", void 0);
|
||||
Customer.ICustomer = ICustomer;
|
||||
})(Customer = exports.Customer || (exports.Customer = {}));
|
||||
|
12
dist/Interfaces/Notary/Deed.d.ts
vendored
12
dist/Interfaces/Notary/Deed.d.ts
vendored
@ -1,13 +1,5 @@
|
||||
import { DeedType } from "./DeedType";
|
||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DeedClient } from "../..";
|
||||
export declare namespace Deed {
|
||||
class IDeed {
|
||||
uuid: string;
|
||||
deed_type: DeedType.IDeedType;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
||||
office_folder?: OfficeFolder.IOfficeFolder;
|
||||
class IDeed extends DeedClient.IDeed {
|
||||
}
|
||||
}
|
||||
|
43
dist/Interfaces/Notary/Deed.js
vendored
43
dist/Interfaces/Notary/Deed.js
vendored
@ -1,49 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Deed = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const DeedType_1 = require("./DeedType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Deed;
|
||||
(function (Deed) {
|
||||
class IDeed {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeed extends __1.DeedClient.IDeed {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeed.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DeedType_1.DeedType.IDeedType)
|
||||
], IDeed.prototype, "deed_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeed.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeed.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeed.prototype, "deed_has_document_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IDeed.prototype, "office_folder", void 0);
|
||||
Deed.IDeed = IDeed;
|
||||
})(Deed = exports.Deed || (exports.Deed = {}));
|
||||
|
10
dist/Interfaces/Notary/DeedHasDocumentType.d.ts
vendored
10
dist/Interfaces/Notary/DeedHasDocumentType.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { DeedHasDocumentTypeClient } from "../..";
|
||||
export declare namespace DeedHasDocumentType {
|
||||
class IDeedHasDocumentType {
|
||||
uuid: string;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
deed: Deed.IDeed;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Notary/DeedHasDocumentType.js
vendored
39
dist/Interfaces/Notary/DeedHasDocumentType.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedHasDocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Deed_1 = require("./Deed");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const __1 = require("../..");
|
||||
var DeedHasDocumentType;
|
||||
(function (DeedHasDocumentType) {
|
||||
class IDeedHasDocumentType {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.IDeedHasDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedHasDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDeedHasDocumentType.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Deed_1.Deed.IDeed)
|
||||
], IDeedHasDocumentType.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedHasDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedHasDocumentType.prototype, "updated_at", void 0);
|
||||
DeedHasDocumentType.IDeedHasDocumentType = IDeedHasDocumentType;
|
||||
})(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {}));
|
||||
|
15
dist/Interfaces/Notary/DeedType.d.ts
vendored
15
dist/Interfaces/Notary/DeedType.d.ts
vendored
@ -1,16 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
||||
import { Office } from "./Office";
|
||||
import { DeedTypeClient } from "../..";
|
||||
export declare namespace DeedType {
|
||||
class IDeedType {
|
||||
uuid: string;
|
||||
name: string;
|
||||
description: string;
|
||||
archived_at: Date | null;
|
||||
office: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed?: Deed.IDeed[];
|
||||
deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
||||
class IDeedType extends DeedTypeClient.IDeedType {
|
||||
}
|
||||
}
|
||||
|
55
dist/Interfaces/Notary/DeedType.js
vendored
55
dist/Interfaces/Notary/DeedType.js
vendored
@ -1,61 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var DeedType;
|
||||
(function (DeedType) {
|
||||
class IDeedType {
|
||||
constructor() {
|
||||
this.archived_at = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedType extends __1.DeedTypeClient.IDeedType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "archived_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IDeedType.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeedType.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeedType.prototype, "deed_type_has_document_types", void 0);
|
||||
DeedType.IDeedType = IDeedType;
|
||||
})(DeedType = exports.DeedType || (exports.DeedType = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { DeedType } from "./DeedType";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { DeedTypeHasDocumentTypeClient } from "../..";
|
||||
export declare namespace DeedTypeHasDocumentType {
|
||||
class IDeedTypeHasDocumentType {
|
||||
uuid: string;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
deed_type: DeedType.IDeedType;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {
|
||||
}
|
||||
}
|
||||
|
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedTypeHasDocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const DeedType_1 = require("./DeedType");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const __1 = require("../..");
|
||||
var DeedTypeHasDocumentType;
|
||||
(function (DeedTypeHasDocumentType) {
|
||||
class IDeedTypeHasDocumentType {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDeedTypeHasDocumentType.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DeedType_1.DeedType.IDeedType)
|
||||
], IDeedTypeHasDocumentType.prototype, "deed_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedTypeHasDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedTypeHasDocumentType.prototype, "updated_at", void 0);
|
||||
DeedTypeHasDocumentType.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType;
|
||||
})(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {}));
|
||||
|
25
dist/Interfaces/Notary/Document.d.ts
vendored
25
dist/Interfaces/Notary/Document.d.ts
vendored
@ -1,26 +1,5 @@
|
||||
import { Customer } from "./Customer";
|
||||
import { DocumentHistory } from "./DocumentHistory";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { File } from "./File";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DocumentClient } from "../..";
|
||||
export declare namespace Document {
|
||||
class IDocument {
|
||||
uuid: string;
|
||||
document_status: EDocumentStatus;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
folder: OfficeFolder.IOfficeFolder;
|
||||
depositor: Customer.ICustomer;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
files?: File.IFile[];
|
||||
document_history?: DocumentHistory.IDocumentHistory[];
|
||||
class IDocument extends DocumentClient.IDocument {
|
||||
}
|
||||
enum EDocumentStatus {
|
||||
ASKED = "ASKED",
|
||||
DEPOSITED = "DEPOSITED",
|
||||
VALIDATED = "VALIDATED",
|
||||
ANCHORED = "ANCHORED",
|
||||
REFUSED = "REFUSED"
|
||||
}
|
||||
type TDocumentStatus = EDocumentStatus.ASKED | EDocumentStatus.DEPOSITED | EDocumentStatus.VALIDATED | EDocumentStatus.ANCHORED | EDocumentStatus.REFUSED;
|
||||
}
|
||||
|
64
dist/Interfaces/Notary/Document.js
vendored
64
dist/Interfaces/Notary/Document.js
vendored
@ -1,70 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Document = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Customer_1 = require("./Customer");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Document;
|
||||
(function (Document) {
|
||||
class IDocument {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocument extends __1.DocumentClient.IDocument {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocument.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocument.prototype, "document_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDocument.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IDocument.prototype, "folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IDocument.prototype, "depositor", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocument.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocument.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "files", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "document_history", void 0);
|
||||
Document.IDocument = IDocument;
|
||||
let EDocumentStatus;
|
||||
(function (EDocumentStatus) {
|
||||
EDocumentStatus["ASKED"] = "ASKED";
|
||||
EDocumentStatus["DEPOSITED"] = "DEPOSITED";
|
||||
EDocumentStatus["VALIDATED"] = "VALIDATED";
|
||||
EDocumentStatus["ANCHORED"] = "ANCHORED";
|
||||
EDocumentStatus["REFUSED"] = "REFUSED";
|
||||
})(EDocumentStatus = Document.EDocumentStatus || (Document.EDocumentStatus = {}));
|
||||
})(Document = exports.Document || (exports.Document = {}));
|
||||
|
10
dist/Interfaces/Notary/DocumentHistory.d.ts
vendored
10
dist/Interfaces/Notary/DocumentHistory.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { Document } from "./Document";
|
||||
import { DocumentHistoryClient } from "../..";
|
||||
export declare namespace DocumentHistory {
|
||||
class IDocumentHistory {
|
||||
uuid: string;
|
||||
document_status: Document.EDocumentStatus;
|
||||
document: Document.IDocument;
|
||||
refused_reason: string | null;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDocumentHistory extends DocumentHistoryClient.IDocumentHistory {
|
||||
}
|
||||
}
|
||||
|
43
dist/Interfaces/Notary/DocumentHistory.js
vendored
43
dist/Interfaces/Notary/DocumentHistory.js
vendored
@ -1,49 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DocumentHistory = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Document_1 = require("./Document");
|
||||
const __1 = require("../..");
|
||||
var DocumentHistory;
|
||||
(function (DocumentHistory) {
|
||||
class IDocumentHistory {
|
||||
constructor() {
|
||||
this.refused_reason = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocumentHistory extends __1.DocumentHistoryClient.IDocumentHistory {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentHistory.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentHistory.prototype, "document_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Document_1.Document.IDocument)
|
||||
], IDocumentHistory.prototype, "document", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentHistory.prototype, "refused_reason", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentHistory.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentHistory.prototype, "updated_at", void 0);
|
||||
DocumentHistory.IDocumentHistory = IDocumentHistory;
|
||||
})(DocumentHistory = exports.DocumentHistory || (exports.DocumentHistory = {}));
|
||||
|
16
dist/Interfaces/Notary/DocumentType.d.ts
vendored
16
dist/Interfaces/Notary/DocumentType.d.ts
vendored
@ -1,17 +1,5 @@
|
||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
||||
import { Document } from "./Document";
|
||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
||||
import { DocumentTypeClient } from "../..";
|
||||
export declare namespace DocumentType {
|
||||
class IDocumentType {
|
||||
uuid: string;
|
||||
name: string;
|
||||
public_description: string;
|
||||
private_description: string | null;
|
||||
archived_at: Date | null;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
documents?: Document.IDocument[];
|
||||
deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
||||
deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
||||
class IDocumentType extends DocumentTypeClient.IDocumentType {
|
||||
}
|
||||
}
|
||||
|
59
dist/Interfaces/Notary/DocumentType.js
vendored
59
dist/Interfaces/Notary/DocumentType.js
vendored
@ -1,65 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const __1 = require("../..");
|
||||
var DocumentType;
|
||||
(function (DocumentType) {
|
||||
class IDocumentType {
|
||||
constructor() {
|
||||
this.private_description = null;
|
||||
this.archived_at = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocumentType extends __1.DocumentTypeClient.IDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentType.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocumentType.prototype, "public_description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "private_description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "archived_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocumentType.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocumentType.prototype, "documents", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocumentType.prototype, "deed_has_document_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocumentType.prototype, "deed_type_has_document_types", void 0);
|
||||
DocumentType.IDocumentType = IDocumentType;
|
||||
})(DocumentType = exports.DocumentType || (exports.DocumentType = {}));
|
||||
|
9
dist/Interfaces/Notary/File.d.ts
vendored
9
dist/Interfaces/Notary/File.d.ts
vendored
@ -1,10 +1,5 @@
|
||||
import { Document } from "./Document";
|
||||
import { FileClient } from "../..";
|
||||
export declare namespace File {
|
||||
class IFile {
|
||||
uuid: string;
|
||||
document: Document.IDocument;
|
||||
file_path: string | null;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IFile extends FileClient.IFile {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Notary/File.js
vendored
39
dist/Interfaces/Notary/File.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.File = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Document_1 = require("./Document");
|
||||
const __1 = require("../..");
|
||||
var File;
|
||||
(function (File) {
|
||||
class IFile {
|
||||
constructor() {
|
||||
this.file_path = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IFile extends __1.FileClient.IFile {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IFile.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Document_1.Document.IDocument)
|
||||
], IFile.prototype, "document", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IFile.prototype, "file_path", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IFile.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IFile.prototype, "updated_at", void 0);
|
||||
File.IFile = IFile;
|
||||
})(File = exports.File || (exports.File = {}));
|
||||
|
10
dist/Interfaces/Notary/Notification.d.ts
vendored
10
dist/Interfaces/Notary/Notification.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { UserHasNotification } from "./UserHasNotification";
|
||||
import { NotificationClient } from "../..";
|
||||
export declare namespace Notification {
|
||||
class INotification {
|
||||
uuid: string;
|
||||
message: string;
|
||||
redirection_url: string;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
user_has_notifications?: UserHasNotification.IUserHasNotification[];
|
||||
class INotification extends NotificationClient.INotification {
|
||||
}
|
||||
}
|
||||
|
42
dist/Interfaces/Notary/Notification.js
vendored
42
dist/Interfaces/Notary/Notification.js
vendored
@ -1,48 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Notification = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const __1 = require("../..");
|
||||
var Notification;
|
||||
(function (Notification) {
|
||||
class INotification {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class INotification extends __1.NotificationClient.INotification {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], INotification.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], INotification.prototype, "message", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
(0, class_validator_1.IsUrl)(),
|
||||
__metadata("design:type", String)
|
||||
], INotification.prototype, "redirection_url", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], INotification.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], INotification.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], INotification.prototype, "user_has_notifications", void 0);
|
||||
Notification.INotification = INotification;
|
||||
})(Notification = exports.Notification || (exports.Notification = {}));
|
||||
|
24
dist/Interfaces/Notary/Office.d.ts
vendored
24
dist/Interfaces/Notary/Office.d.ts
vendored
@ -1,25 +1,5 @@
|
||||
import { Address } from "./Address";
|
||||
import { DeedType } from "./DeedType";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { User } from "./User";
|
||||
import { OfficeClient } from "../..";
|
||||
export declare namespace Office {
|
||||
class IOffice {
|
||||
uuid: string;
|
||||
idNot: string;
|
||||
name: string;
|
||||
crpcen: string;
|
||||
address: Address.IAddress;
|
||||
office_status: EOfficeStatus;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed_types?: DeedType.IDeedType[];
|
||||
users?: User.IUser[];
|
||||
office_folders?: OfficeFolder.IOfficeFolder[];
|
||||
balbala: string;
|
||||
class IOffice extends OfficeClient.IOffice {
|
||||
}
|
||||
enum EOfficeStatus {
|
||||
ACTIVATED = "ACTIVATED",
|
||||
DESACTIVATED = "DESACTIVATED"
|
||||
}
|
||||
type TOfficeStatus = EOfficeStatus.ACTIVATED | EOfficeStatus.DESACTIVATED;
|
||||
}
|
||||
|
67
dist/Interfaces/Notary/Office.js
vendored
67
dist/Interfaces/Notary/Office.js
vendored
@ -1,73 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Office = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const __1 = require("../..");
|
||||
var Office;
|
||||
(function (Office) {
|
||||
class IOffice {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOffice extends __1.OfficeClient.IOffice {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "idNot", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "crpcen", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Address_1.Address.IAddress)
|
||||
], IOffice.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOffice.prototype, "office_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOffice.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOffice.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "deed_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "users", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOffice.prototype, "office_folders", void 0);
|
||||
Office.IOffice = IOffice;
|
||||
let EOfficeStatus;
|
||||
(function (EOfficeStatus) {
|
||||
EOfficeStatus["ACTIVATED"] = "ACTIVATED";
|
||||
EOfficeStatus["DESACTIVATED"] = "DESACTIVATED";
|
||||
})(EOfficeStatus = Office.EOfficeStatus || (Office.EOfficeStatus = {}));
|
||||
})(Office = exports.Office || (exports.Office = {}));
|
||||
|
22
dist/Interfaces/Notary/OfficeFolder.d.ts
vendored
22
dist/Interfaces/Notary/OfficeFolder.d.ts
vendored
@ -1,23 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { Document } from "./Document";
|
||||
import { Office } from "./Office";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
||||
import { OfficeFolderClient } from "../..";
|
||||
export declare namespace OfficeFolder {
|
||||
class IOfficeFolder {
|
||||
uuid: string;
|
||||
folder_number: string;
|
||||
name: string;
|
||||
description: string | null;
|
||||
archived_description: string | null;
|
||||
status: EFolderStatus;
|
||||
deed: Deed.IDeed;
|
||||
office: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
||||
office_folder_has_stakeholder?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
||||
documents?: Document.IDocument[];
|
||||
class IOfficeFolder extends OfficeFolderClient.IOfficeFolder {
|
||||
}
|
||||
type EFolderStatus = "LIVE" | "ARCHIVED";
|
||||
}
|
||||
|
73
dist/Interfaces/Notary/OfficeFolder.js
vendored
73
dist/Interfaces/Notary/OfficeFolder.js
vendored
@ -1,79 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OfficeFolder = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Deed_1 = require("./Deed");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolder;
|
||||
(function (OfficeFolder) {
|
||||
class IOfficeFolder {
|
||||
constructor() {
|
||||
this.description = null;
|
||||
this.archived_description = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOfficeFolder extends __1.OfficeFolderClient.IOfficeFolder {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "folder_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "archived_description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolder.prototype, "status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Deed_1.Deed.IDeed)
|
||||
], IOfficeFolder.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IOfficeFolder.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolder.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "office_folder_has_customers", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IOfficeFolder.prototype, "documents", void 0);
|
||||
OfficeFolder.IOfficeFolder = IOfficeFolder;
|
||||
})(OfficeFolder = exports.OfficeFolder || (exports.OfficeFolder = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { Customer } from "./Customer";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { OfficeFolderHasCustomerClient } from "../..";
|
||||
export declare namespace OfficeFolderHasCustomer {
|
||||
class IOfficeFolderHasCustomer {
|
||||
uuid: string;
|
||||
customer: Customer.ICustomer;
|
||||
office_folder: OfficeFolder.IOfficeFolder;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IOfficeFolderHasCustomer extends OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {
|
||||
}
|
||||
}
|
||||
|
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OfficeFolderHasCustomer = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Customer_1 = require("./Customer");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolderHasCustomer;
|
||||
(function (OfficeFolderHasCustomer) {
|
||||
class IOfficeFolderHasCustomer {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOfficeFolderHasCustomer extends __1.OfficeFolderHasCustomerClient.IOfficeFolderHasCustomer {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolderHasCustomer.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IOfficeFolderHasCustomer.prototype, "customer", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IOfficeFolderHasCustomer.prototype, "office_folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasCustomer.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasCustomer.prototype, "updated_at", void 0);
|
||||
OfficeFolderHasCustomer.IOfficeFolderHasCustomer = IOfficeFolderHasCustomer;
|
||||
})(OfficeFolderHasCustomer = exports.OfficeFolderHasCustomer || (exports.OfficeFolderHasCustomer = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { User } from "./User";
|
||||
import { OfficeFolderHasStakeholderClient } from "../..";
|
||||
export declare namespace OfficeFolderHasStakeholder {
|
||||
class IOfficeFolderHasStakeholder {
|
||||
uuid: string;
|
||||
user_stakeholder: User.IUser;
|
||||
office_folder: OfficeFolder.IOfficeFolder;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IOfficeFolderHasStakeholder extends OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {
|
||||
}
|
||||
}
|
||||
|
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OfficeFolderHasStakeholder = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var OfficeFolderHasStakeholder;
|
||||
(function (OfficeFolderHasStakeholder) {
|
||||
class IOfficeFolderHasStakeholder {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IOfficeFolderHasStakeholder extends __1.OfficeFolderHasStakeholderClient.IOfficeFolderHasStakeholder {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IOfficeFolderHasStakeholder.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasStakeholder.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0);
|
||||
OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder = IOfficeFolderHasStakeholder;
|
||||
})(OfficeFolderHasStakeholder = exports.OfficeFolderHasStakeholder || (exports.OfficeFolderHasStakeholder = {}));
|
||||
|
15
dist/Interfaces/Notary/User.d.ts
vendored
15
dist/Interfaces/Notary/User.d.ts
vendored
@ -1,16 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Document } from "./Document";
|
||||
import { Office } from "./Office";
|
||||
import { OfficeFolderHasStakeholder } from "./OfficeFolderHasStakeholder";
|
||||
import { UserClient } from "../..";
|
||||
export declare namespace User {
|
||||
class IUser {
|
||||
uuid: string;
|
||||
idNot: string;
|
||||
contact: Contact.IContact;
|
||||
office_membership: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_stakeholders?: OfficeFolderHasStakeholder.IOfficeFolderHasStakeholder[];
|
||||
documents?: Document.IDocument;
|
||||
class IUser extends UserClient.IUser {
|
||||
}
|
||||
}
|
||||
|
52
dist/Interfaces/Notary/User.js
vendored
52
dist/Interfaces/Notary/User.js
vendored
@ -1,58 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.User = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const Document_1 = require("./Document");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var User;
|
||||
(function (User) {
|
||||
class IUser {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IUser extends __1.UserClient.IUser {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IUser.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IUser.prototype, "idNot", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], IUser.prototype, "contact", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IUser.prototype, "office_membership", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUser.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUser.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IUser.prototype, "office_folder_has_stakeholders", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Document_1.Document.IDocument)
|
||||
], IUser.prototype, "documents", void 0);
|
||||
User.IUser = IUser;
|
||||
})(User = exports.User || (exports.User = {}));
|
||||
|
10
dist/Interfaces/Notary/UserHasNotification.d.ts
vendored
10
dist/Interfaces/Notary/UserHasNotification.d.ts
vendored
@ -1,11 +1,5 @@
|
||||
import { Notification } from "./Notification";
|
||||
import { User } from "./User";
|
||||
import { UserHasNotificationClient } from "../..";
|
||||
export declare namespace UserHasNotification {
|
||||
class IUserHasNotification {
|
||||
uuid: string;
|
||||
user: User.IUser;
|
||||
notification: Notification.INotification;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IUserHasNotification extends UserHasNotificationClient.IUserHasNotification {
|
||||
}
|
||||
}
|
||||
|
39
dist/Interfaces/Notary/UserHasNotification.js
vendored
39
dist/Interfaces/Notary/UserHasNotification.js
vendored
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UserHasNotification = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Notification_1 = require("./Notification");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var UserHasNotification;
|
||||
(function (UserHasNotification) {
|
||||
class IUserHasNotification {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IUserHasNotification extends __1.UserHasNotificationClient.IUserHasNotification {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IUserHasNotification.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IUserHasNotification.prototype, "user", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Notification_1.Notification.INotification)
|
||||
], IUserHasNotification.prototype, "notification", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUserHasNotification.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IUserHasNotification.prototype, "updated_at", void 0);
|
||||
UserHasNotification.IUserHasNotification = IUserHasNotification;
|
||||
})(UserHasNotification = exports.UserHasNotification || (exports.UserHasNotification = {}));
|
||||
|
13
dist/Interfaces/SuperAdmin/Address.d.ts
vendored
13
dist/Interfaces/SuperAdmin/Address.d.ts
vendored
@ -1,14 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Office } from "./Office";
|
||||
import { AddressClient } from "../..";
|
||||
export declare namespace Address {
|
||||
class IAddress {
|
||||
uuid: string;
|
||||
address: string;
|
||||
city: string;
|
||||
zip_code: number;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office?: Office.IOffice;
|
||||
contacts?: Contact.IContact;
|
||||
class IAddress extends AddressClient.IAddress {
|
||||
}
|
||||
}
|
||||
|
51
dist/Interfaces/SuperAdmin/Address.js
vendored
51
dist/Interfaces/SuperAdmin/Address.js
vendored
@ -1,57 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Address = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var Address;
|
||||
(function (Address) {
|
||||
class IAddress {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IAddress extends __1.AddressClient.IAddress {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IAddress.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IAddress.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IAddress.prototype, "city", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Number)
|
||||
], IAddress.prototype, "zip_code", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IAddress.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IAddress.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IAddress.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], IAddress.prototype, "contacts", void 0);
|
||||
Address.IAddress = IAddress;
|
||||
})(Address = exports.Address || (exports.Address = {}));
|
||||
|
19
dist/Interfaces/SuperAdmin/Contact.d.ts
vendored
19
dist/Interfaces/SuperAdmin/Contact.d.ts
vendored
@ -1,20 +1,5 @@
|
||||
import { Address } from "./Address";
|
||||
import { Customer } from "./Customer";
|
||||
import { User } from "./User";
|
||||
import { ContactNotary } from "../..";
|
||||
import { ContactClient } from "../..";
|
||||
export declare namespace Contact {
|
||||
class IContact {
|
||||
uuid: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
email: string;
|
||||
phone_number: string;
|
||||
cell_phone_number: string;
|
||||
civility: ContactNotary.ECivility;
|
||||
address: Address.IAddress;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
users?: User.IUser;
|
||||
customers?: Customer.ICustomer;
|
||||
class IContact extends ContactClient.IContact {
|
||||
}
|
||||
}
|
||||
|
67
dist/Interfaces/SuperAdmin/Contact.js
vendored
67
dist/Interfaces/SuperAdmin/Contact.js
vendored
@ -1,75 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Contact = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Address_1 = require("./Address");
|
||||
const Customer_1 = require("./Customer");
|
||||
const User_1 = require("./User");
|
||||
const __1 = require("../..");
|
||||
var Contact;
|
||||
(function (Contact) {
|
||||
class IContact {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IContact extends __1.ContactClient.IContact {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "first_name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "last_name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "email", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "cell_phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IContact.prototype, "civility", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Address_1.Address.IAddress)
|
||||
], IContact.prototype, "address", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IContact.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IContact.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", User_1.User.IUser)
|
||||
], IContact.prototype, "users", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IContact.prototype, "customers", void 0);
|
||||
Contact.IContact = IContact;
|
||||
})(Contact = exports.Contact || (exports.Contact = {}));
|
||||
|
14
dist/Interfaces/SuperAdmin/Customer.d.ts
vendored
14
dist/Interfaces/SuperAdmin/Customer.d.ts
vendored
@ -1,15 +1,5 @@
|
||||
import { Contact } from "./Contact";
|
||||
import { Document } from "./Document";
|
||||
import { OfficeFolderHasCustomer } from "./OfficeFolderHasCustomer";
|
||||
import { CustomerNotary } from "../..";
|
||||
import { CustomerClient } from "../..";
|
||||
export declare namespace Customer {
|
||||
class ICustomer {
|
||||
uuid: string;
|
||||
status: CustomerNotary.ECustomerStatus;
|
||||
contact: Contact.IContact;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
office_folder_has_customers?: OfficeFolderHasCustomer.IOfficeFolderHasCustomer[];
|
||||
documents?: Document.IDocument[];
|
||||
class ICustomer extends CustomerClient.ICustomer {
|
||||
}
|
||||
}
|
||||
|
45
dist/Interfaces/SuperAdmin/Customer.js
vendored
45
dist/Interfaces/SuperAdmin/Customer.js
vendored
@ -1,53 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Customer = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Contact_1 = require("./Contact");
|
||||
const __1 = require("../..");
|
||||
var Customer;
|
||||
(function (Customer) {
|
||||
class ICustomer {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class ICustomer extends __1.CustomerClient.ICustomer {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], ICustomer.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], ICustomer.prototype, "status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Contact_1.Contact.IContact)
|
||||
], ICustomer.prototype, "contact", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], ICustomer.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], ICustomer.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "office_folder_has_customers", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], ICustomer.prototype, "documents", void 0);
|
||||
Customer.ICustomer = ICustomer;
|
||||
})(Customer = exports.Customer || (exports.Customer = {}));
|
||||
|
12
dist/Interfaces/SuperAdmin/Deed.d.ts
vendored
12
dist/Interfaces/SuperAdmin/Deed.d.ts
vendored
@ -1,13 +1,5 @@
|
||||
import { DeedType } from "./DeedType";
|
||||
import { DeedHasDocumentType } from "./DeedHasDocumentType";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DeedClient } from "../..";
|
||||
export declare namespace Deed {
|
||||
class IDeed {
|
||||
uuid: string;
|
||||
deed_type: DeedType.IDeedType;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed_has_document_types?: DeedHasDocumentType.IDeedHasDocumentType[];
|
||||
office_folder?: OfficeFolder.IOfficeFolder;
|
||||
class IDeed extends DeedClient.IDeed {
|
||||
}
|
||||
}
|
||||
|
43
dist/Interfaces/SuperAdmin/Deed.js
vendored
43
dist/Interfaces/SuperAdmin/Deed.js
vendored
@ -1,49 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Deed = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const DeedType_1 = require("./DeedType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Deed;
|
||||
(function (Deed) {
|
||||
class IDeed {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeed extends __1.DeedClient.IDeed {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeed.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DeedType_1.DeedType.IDeedType)
|
||||
], IDeed.prototype, "deed_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeed.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeed.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeed.prototype, "deed_has_document_types", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IDeed.prototype, "office_folder", void 0);
|
||||
Deed.IDeed = IDeed;
|
||||
})(Deed = exports.Deed || (exports.Deed = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { DeedHasDocumentTypeClient } from "../..";
|
||||
export declare namespace DeedHasDocumentType {
|
||||
class IDeedHasDocumentType {
|
||||
uuid: string;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
deed: Deed.IDeed;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDeedHasDocumentType extends DeedHasDocumentTypeClient.IDeedHasDocumentType {
|
||||
}
|
||||
}
|
||||
|
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedHasDocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Deed_1 = require("./Deed");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const __1 = require("../..");
|
||||
var DeedHasDocumentType;
|
||||
(function (DeedHasDocumentType) {
|
||||
class IDeedHasDocumentType {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedHasDocumentType extends __1.DeedHasDocumentTypeClient.IDeedHasDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedHasDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDeedHasDocumentType.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Deed_1.Deed.IDeed)
|
||||
], IDeedHasDocumentType.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedHasDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedHasDocumentType.prototype, "updated_at", void 0);
|
||||
DeedHasDocumentType.IDeedHasDocumentType = IDeedHasDocumentType;
|
||||
})(DeedHasDocumentType = exports.DeedHasDocumentType || (exports.DeedHasDocumentType = {}));
|
||||
|
15
dist/Interfaces/SuperAdmin/DeedType.d.ts
vendored
15
dist/Interfaces/SuperAdmin/DeedType.d.ts
vendored
@ -1,16 +1,5 @@
|
||||
import { Deed } from "./Deed";
|
||||
import { DeedTypeHasDocumentType } from "./DeedTypeHasDocumentType";
|
||||
import { Office } from "./Office";
|
||||
import { DeedTypeClient } from "../..";
|
||||
export declare namespace DeedType {
|
||||
class IDeedType {
|
||||
uuid: string;
|
||||
name: string;
|
||||
description: string;
|
||||
archived_at: Date | null;
|
||||
office: Office.IOffice;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
deed?: Deed.IDeed[];
|
||||
deed_type_has_document_types?: DeedTypeHasDocumentType.IDeedTypeHasDocumentType[];
|
||||
class IDeedType extends DeedTypeClient.IDeedType {
|
||||
}
|
||||
}
|
||||
|
55
dist/Interfaces/SuperAdmin/DeedType.js
vendored
55
dist/Interfaces/SuperAdmin/DeedType.js
vendored
@ -1,61 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Office_1 = require("./Office");
|
||||
const __1 = require("../..");
|
||||
var DeedType;
|
||||
(function (DeedType) {
|
||||
class IDeedType {
|
||||
constructor() {
|
||||
this.archived_at = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedType extends __1.DeedTypeClient.IDeedType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDeedType.prototype, "description", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "archived_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Office_1.Office.IOffice)
|
||||
], IDeedType.prototype, "office", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedType.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeedType.prototype, "deed", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDeedType.prototype, "deed_type_has_document_types", void 0);
|
||||
DeedType.IDeedType = IDeedType;
|
||||
})(DeedType = exports.DeedType || (exports.DeedType = {}));
|
||||
|
@ -1,11 +1,5 @@
|
||||
import { DeedType } from "./DeedType";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { DeedTypeHasDocumentTypeClient } from "../..";
|
||||
export declare namespace DeedTypeHasDocumentType {
|
||||
class IDeedTypeHasDocumentType {
|
||||
uuid: string;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
deed_type: DeedType.IDeedType;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
class IDeedTypeHasDocumentType extends DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {
|
||||
}
|
||||
}
|
||||
|
@ -1,45 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DeedTypeHasDocumentType = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const DeedType_1 = require("./DeedType");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const __1 = require("../..");
|
||||
var DeedTypeHasDocumentType;
|
||||
(function (DeedTypeHasDocumentType) {
|
||||
class IDeedTypeHasDocumentType {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDeedTypeHasDocumentType extends __1.DeedTypeHasDocumentTypeClient.IDeedTypeHasDocumentType {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDeedTypeHasDocumentType.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDeedTypeHasDocumentType.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DeedType_1.DeedType.IDeedType)
|
||||
], IDeedTypeHasDocumentType.prototype, "deed_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedTypeHasDocumentType.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDeedTypeHasDocumentType.prototype, "updated_at", void 0);
|
||||
DeedTypeHasDocumentType.IDeedTypeHasDocumentType = IDeedTypeHasDocumentType;
|
||||
})(DeedTypeHasDocumentType = exports.DeedTypeHasDocumentType || (exports.DeedTypeHasDocumentType = {}));
|
||||
|
18
dist/Interfaces/SuperAdmin/Document.d.ts
vendored
18
dist/Interfaces/SuperAdmin/Document.d.ts
vendored
@ -1,19 +1,5 @@
|
||||
import { Customer } from "./Customer";
|
||||
import { DocumentHistory } from "./DocumentHistory";
|
||||
import { DocumentType } from "./DocumentType";
|
||||
import { File } from "./File";
|
||||
import { OfficeFolder } from "./OfficeFolder";
|
||||
import { DocumentNotary } from "../..";
|
||||
import { DocumentClient } from "../..";
|
||||
export declare namespace Document {
|
||||
class IDocument {
|
||||
uuid: string;
|
||||
document_status: DocumentNotary.EDocumentStatus;
|
||||
document_type: DocumentType.IDocumentType;
|
||||
folder: OfficeFolder.IOfficeFolder;
|
||||
depositor: Customer.ICustomer;
|
||||
created_at: Date | null;
|
||||
updated_at: Date | null;
|
||||
files?: File.IFile[];
|
||||
document_history?: DocumentHistory.IDocumentHistory[];
|
||||
class IDocument extends DocumentClient.IDocument {
|
||||
}
|
||||
}
|
||||
|
55
dist/Interfaces/SuperAdmin/Document.js
vendored
55
dist/Interfaces/SuperAdmin/Document.js
vendored
@ -1,63 +1,10 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Document = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const Customer_1 = require("./Customer");
|
||||
const DocumentType_1 = require("./DocumentType");
|
||||
const OfficeFolder_1 = require("./OfficeFolder");
|
||||
const __1 = require("../..");
|
||||
var Document;
|
||||
(function (Document) {
|
||||
class IDocument {
|
||||
constructor() {
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
class IDocument extends __1.DocumentClient.IDocument {
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], IDocument.prototype, "uuid", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", String)
|
||||
], IDocument.prototype, "document_status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", DocumentType_1.DocumentType.IDocumentType)
|
||||
], IDocument.prototype, "document_type", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", OfficeFolder_1.OfficeFolder.IOfficeFolder)
|
||||
], IDocument.prototype, "folder", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsNotEmpty)({ groups: ["create"] }),
|
||||
__metadata("design:type", Customer_1.Customer.ICustomer)
|
||||
], IDocument.prototype, "depositor", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocument.prototype, "created_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsDate)(),
|
||||
__metadata("design:type", Object)
|
||||
], IDocument.prototype, "updated_at", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "files", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
__metadata("design:type", Array)
|
||||
], IDocument.prototype, "document_history", void 0);
|
||||
Document.IDocument = IDocument;
|
||||
})(Document = exports.Document || (exports.Document = {}));
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user