@tomei/rental 0.17.5 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/agreement-signature/agreement-signature.d.ts +4 -0
- package/dist/components/agreement-signature/agreement-signature.js +8 -0
- package/dist/components/agreement-signature/agreement-signature.js.map +1 -1
- package/dist/index.js +52 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces/agreemeent-signature-attr.interface.d.ts +4 -0
- package/dist/src/components/agreement-signature/agreement-signature.d.ts +4 -0
- package/dist/src/components/agreement-signature/agreement-signature.js +8 -0
- package/dist/src/components/agreement-signature/agreement-signature.js.map +1 -1
- package/dist/src/interfaces/agreemeent-signature-attr.interface.d.ts +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/agreement-signature/agreement-signature.ts +12 -0
- package/src/interfaces/agreemeent-signature-attr.interface.ts +4 -0
|
@@ -3,6 +3,7 @@ import { AgreementSignatureRepository } from './agreement-signature.repository';
|
|
|
3
3
|
import { IAgreementSignatureAttr } from '../../interfaces/agreemeent-signature-attr.interface';
|
|
4
4
|
import { LoginUser } from '@tomei/sso';
|
|
5
5
|
import { AgreementSignatureStatusEnum } from '../../enum/agreement-signature-status.enum';
|
|
6
|
+
import { AgreementSignatureVerificationMethodEnum } from '../../enum/agreement-signature-verification-method.enum';
|
|
6
7
|
export declare class AgreementSignature extends ObjectBase implements IAgreementSignatureAttr {
|
|
7
8
|
ObjectId: string;
|
|
8
9
|
ObjectName: string;
|
|
@@ -14,6 +15,9 @@ export declare class AgreementSignature extends ObjectBase implements IAgreement
|
|
|
14
15
|
PartyType: string;
|
|
15
16
|
SignatureStatus: AgreementSignatureStatusEnum;
|
|
16
17
|
SignedAt: Date;
|
|
18
|
+
VerificationMethod: AgreementSignatureVerificationMethodEnum;
|
|
19
|
+
VerificationJustification: string;
|
|
20
|
+
VerifiedById: string;
|
|
17
21
|
CreatedById: string;
|
|
18
22
|
CreatedAt: Date;
|
|
19
23
|
UpdatedById: string;
|
|
@@ -24,6 +24,10 @@ class AgreementSignature extends general_1.ObjectBase {
|
|
|
24
24
|
this.PartyType = AgreementSignatureAttr.PartyType;
|
|
25
25
|
this.SignatureStatus = AgreementSignatureAttr.SignatureStatus;
|
|
26
26
|
this.SignedAt = AgreementSignatureAttr.SignedAt;
|
|
27
|
+
this.VerificationMethod = AgreementSignatureAttr.VerificationMethod;
|
|
28
|
+
this.VerificationJustification =
|
|
29
|
+
AgreementSignatureAttr.VerificationJustification;
|
|
30
|
+
this.VerifiedById = AgreementSignatureAttr.VerifiedById;
|
|
27
31
|
this.CreatedById = AgreementSignatureAttr.CreatedById;
|
|
28
32
|
this.CreatedAt = AgreementSignatureAttr.CreatedAt;
|
|
29
33
|
this.UpdatedById = AgreementSignatureAttr.UpdatedById;
|
|
@@ -58,6 +62,7 @@ class AgreementSignature extends general_1.ObjectBase {
|
|
|
58
62
|
throw new general_1.ClassError('AgreementSignature', 'AgreementSignatureErrMsg03', 'AgreementNo, PartyId and PartyType are required.');
|
|
59
63
|
}
|
|
60
64
|
this.ObjectId = this.createId();
|
|
65
|
+
this.VerifiedById = loginUser.ObjectId;
|
|
61
66
|
this.CreatedById = loginUser.ObjectId;
|
|
62
67
|
this.CreatedAt = new Date();
|
|
63
68
|
this.UpdatedById = loginUser.ObjectId;
|
|
@@ -70,6 +75,9 @@ class AgreementSignature extends general_1.ObjectBase {
|
|
|
70
75
|
PartyType: this.PartyType,
|
|
71
76
|
SignatureStatus: this.SignatureStatus,
|
|
72
77
|
SignedAt: this.SignedAt,
|
|
78
|
+
VerificationMethod: this.VerificationMethod,
|
|
79
|
+
VerificationJustification: this.VerificationJustification,
|
|
80
|
+
VerifiedById: this.VerifiedById,
|
|
73
81
|
CreatedById: this.CreatedById,
|
|
74
82
|
CreatedAt: this.CreatedAt,
|
|
75
83
|
UpdatedById: this.UpdatedById,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agreement-signature.js","sourceRoot":"","sources":["../../../src/components/agreement-signature/agreement-signature.ts"],"names":[],"mappings":";;;AAAA,4CAAwD;AACxD,qFAAgF;AAEhF,0CAAkD;AAElD,8DAA+D;
|
|
1
|
+
{"version":3,"file":"agreement-signature.js","sourceRoot":"","sources":["../../../src/components/agreement-signature/agreement-signature.ts"],"names":[],"mappings":";;;AAAA,4CAAwD;AACxD,qFAAgF;AAEhF,0CAAkD;AAElD,8DAA+D;AAI/D,MAAa,kBACX,SAAQ,oBAAU;IAqBlB,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,WAAW,CAAC,KAAa;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAID,YAAsB,sBAAgD;QACpE,KAAK,EAAE,CAAC;QA3BV,eAAU,GAAW,oBAAoB,CAAC;QAC1C,cAAS,GAAW,2BAA2B,CAAC;QA2B9C,IAAI,sBAAsB,EAAE,CAAC;YAC3B,IAAI,CAAC,WAAW,GAAG,sBAAsB,CAAC,WAAW,CAAC;YACtD,IAAI,CAAC,WAAW,GAAG,sBAAsB,CAAC,WAAW,CAAC;YACtD,IAAI,CAAC,KAAK,GAAG,sBAAsB,CAAC,KAAK,CAAC;YAC1C,IAAI,CAAC,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC;YAC9C,IAAI,CAAC,SAAS,GAAG,sBAAsB,CAAC,SAAS,CAAC;YAClD,IAAI,CAAC,eAAe,GAAG,sBAAsB,CAAC,eAAe,CAAC;YAC9D,IAAI,CAAC,QAAQ,GAAG,sBAAsB,CAAC,QAAQ,CAAC;YAChD,IAAI,CAAC,kBAAkB,GAAG,sBAAsB,CAAC,kBAAkB,CAAC;YACpE,IAAI,CAAC,yBAAyB;gBAC5B,sBAAsB,CAAC,yBAAyB,CAAC;YACnD,IAAI,CAAC,YAAY,GAAG,sBAAsB,CAAC,Y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H,MAAM,QAAQ,GAAG,IAAI,2BAAQ,EAAE,CAAC;YAChC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACpC,QAAQ,CAAC,MAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;YACpC,QAAQ,CAAC,WAAW,GAAG,2BAA2B,CAAC;YACnD,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;YAClC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;YACtC,QAAQ,CAAC,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;YAChD,QAAQ,CAAC,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;YAE7D,MAAM,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;YAEzD,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;;AAhJH,gDAiJC;AAnHkB,8BAAW,GAAG,IAAI,6DAA4B,EAAE,AAArC,CAAsC"}
|
package/dist/index.js
CHANGED
|
@@ -14,5 +14,56 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
17
|
+
exports.ItemClassMap = exports.HirerChangeRequestRemoveHirerRepository = exports.HirerChangeRequestRemoveHirer = exports.HirerChangeRequestNewHirerRepository = exports.HirerChangeRequestNewHirer = exports.HirerChangeRequestSignatureRepository = exports.HirerChangeRequestSignature = exports.RentalHirerChangeRequestRepository = exports.RentalHirerChangeRequest = exports.AgreementHistoryRepository = exports.AgreementHistory = exports.AgreementSignatureRepository = exports.AgreementSignature = exports.AgreementRepository = exports.Agreement = exports.JointHirerRepository = exports.JointHirer = exports.rentalDb = exports.BookingRepository = exports.Booking = exports.RentalPriceRepository = exports.RentalRepository = exports.RentalPrice = exports.Rental = void 0;
|
|
18
|
+
const rental_price_repository_1 = require("./components/rental-price/rental-price.repository");
|
|
19
|
+
Object.defineProperty(exports, "RentalPriceRepository", { enumerable: true, get: function () { return rental_price_repository_1.RentalPriceRepository; } });
|
|
20
|
+
const rental_repository_1 = require("./components/rental/rental.repository");
|
|
21
|
+
Object.defineProperty(exports, "RentalRepository", { enumerable: true, get: function () { return rental_repository_1.RentalRepository; } });
|
|
22
|
+
const rental_1 = require("./components/rental/rental");
|
|
23
|
+
Object.defineProperty(exports, "Rental", { enumerable: true, get: function () { return rental_1.Rental; } });
|
|
24
|
+
const rental_price_1 = require("./components/rental-price/rental-price");
|
|
25
|
+
Object.defineProperty(exports, "RentalPrice", { enumerable: true, get: function () { return rental_price_1.RentalPrice; } });
|
|
26
|
+
const booking_1 = require("./components/booking/booking");
|
|
27
|
+
Object.defineProperty(exports, "Booking", { enumerable: true, get: function () { return booking_1.Booking; } });
|
|
28
|
+
const booking_repository_1 = require("./components/booking/booking.repository");
|
|
29
|
+
Object.defineProperty(exports, "BookingRepository", { enumerable: true, get: function () { return booking_repository_1.BookingRepository; } });
|
|
30
|
+
const joint_hirer_1 = require("./components/joint-hirer/joint-hirer");
|
|
31
|
+
Object.defineProperty(exports, "JointHirer", { enumerable: true, get: function () { return joint_hirer_1.JointHirer; } });
|
|
32
|
+
const joint_hirer_repository_1 = require("./components/joint-hirer/joint-hirer.repository");
|
|
33
|
+
Object.defineProperty(exports, "JointHirerRepository", { enumerable: true, get: function () { return joint_hirer_repository_1.JointHirerRepository; } });
|
|
34
|
+
const agreement_1 = require("./components/agreement/agreement");
|
|
35
|
+
Object.defineProperty(exports, "Agreement", { enumerable: true, get: function () { return agreement_1.Agreement; } });
|
|
36
|
+
const agreement_repository_1 = require("./components/agreement/agreement.repository");
|
|
37
|
+
Object.defineProperty(exports, "AgreementRepository", { enumerable: true, get: function () { return agreement_repository_1.AgreementRepository; } });
|
|
38
|
+
const agreement_signature_1 = require("./components/agreement-signature/agreement-signature");
|
|
39
|
+
Object.defineProperty(exports, "AgreementSignature", { enumerable: true, get: function () { return agreement_signature_1.AgreementSignature; } });
|
|
40
|
+
const agreement_signature_repository_1 = require("./components/agreement-signature/agreement-signature.repository");
|
|
41
|
+
Object.defineProperty(exports, "AgreementSignatureRepository", { enumerable: true, get: function () { return agreement_signature_repository_1.AgreementSignatureRepository; } });
|
|
42
|
+
const agreement_history_1 = require("./components/agreement-history/agreement-history");
|
|
43
|
+
Object.defineProperty(exports, "AgreementHistory", { enumerable: true, get: function () { return agreement_history_1.AgreementHistory; } });
|
|
44
|
+
const agreement_history_repository_1 = require("./components/agreement-history/agreement-history.repository");
|
|
45
|
+
Object.defineProperty(exports, "AgreementHistoryRepository", { enumerable: true, get: function () { return agreement_history_repository_1.AgreementHistoryRepository; } });
|
|
46
|
+
const rental_hirer_change_request_1 = require("./components/rental-hirer-change-request/rental-hirer-change-request");
|
|
47
|
+
Object.defineProperty(exports, "RentalHirerChangeRequest", { enumerable: true, get: function () { return rental_hirer_change_request_1.RentalHirerChangeRequest; } });
|
|
48
|
+
const rental_hirer_change_request_repository_1 = require("./components/rental-hirer-change-request/rental-hirer-change-request.repository");
|
|
49
|
+
Object.defineProperty(exports, "RentalHirerChangeRequestRepository", { enumerable: true, get: function () { return rental_hirer_change_request_repository_1.RentalHirerChangeRequestRepository; } });
|
|
50
|
+
const hirer_change_request_signature_1 = require("./components/hirer-change-request-signature/hirer-change-request-signature");
|
|
51
|
+
Object.defineProperty(exports, "HirerChangeRequestSignature", { enumerable: true, get: function () { return hirer_change_request_signature_1.HirerChangeRequestSignature; } });
|
|
52
|
+
const hirer_change_request_signature_repository_1 = require("./components/hirer-change-request-signature/hirer-change-request-signature.repository");
|
|
53
|
+
Object.defineProperty(exports, "HirerChangeRequestSignatureRepository", { enumerable: true, get: function () { return hirer_change_request_signature_repository_1.HirerChangeRequestSignatureRepository; } });
|
|
54
|
+
const hirer_change_request_new_hirer_1 = require("./components/hirer-change-request-new-hirer/hirer-change-request-new-hirer");
|
|
55
|
+
Object.defineProperty(exports, "HirerChangeRequestNewHirer", { enumerable: true, get: function () { return hirer_change_request_new_hirer_1.HirerChangeRequestNewHirer; } });
|
|
56
|
+
const hirer_change_request_new_hirer_repository_1 = require("./components/hirer-change-request-new-hirer/hirer-change-request-new-hirer.repository");
|
|
57
|
+
Object.defineProperty(exports, "HirerChangeRequestNewHirerRepository", { enumerable: true, get: function () { return hirer_change_request_new_hirer_repository_1.HirerChangeRequestNewHirerRepository; } });
|
|
58
|
+
const hirer_change_request_remove_hirer_1 = require("./components/hirer-change-request-remove-hirer/hirer-change-request-remove-hirer");
|
|
59
|
+
Object.defineProperty(exports, "HirerChangeRequestRemoveHirer", { enumerable: true, get: function () { return hirer_change_request_remove_hirer_1.HirerChangeRequestRemoveHirer; } });
|
|
60
|
+
const hirer_change_request_remove_hirer_repository_1 = require("./components/hirer-change-request-remove-hirer/hirer-change-request-remove-hirer.repository");
|
|
61
|
+
Object.defineProperty(exports, "HirerChangeRequestRemoveHirerRepository", { enumerable: true, get: function () { return hirer_change_request_remove_hirer_repository_1.HirerChangeRequestRemoveHirerRepository; } });
|
|
62
|
+
const ItemClassMap_1 = require("./ClassMappings/ItemClassMap");
|
|
63
|
+
Object.defineProperty(exports, "ItemClassMap", { enumerable: true, get: function () { return ItemClassMap_1.ItemClassMap; } });
|
|
64
|
+
const rentalDb = require("./database");
|
|
65
|
+
exports.rentalDb = rentalDb;
|
|
66
|
+
__exportStar(require("./interfaces"), exports);
|
|
67
|
+
__exportStar(require("./models"), exports);
|
|
68
|
+
__exportStar(require("./enum"), exports);
|
|
18
69
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceR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AAY,OA8BP;AA7Bd,uCAAuC;AAYrC,4BAAQ;AAXV,+CAA6B;AAC7B,2CAAyB;AACzB,yCAAuB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AgreementSignatureVerificationMethodEnum } from '../enum/agreement-signature-verification-method.enum';
|
|
1
2
|
import { AgreementSignatureStatusEnum } from '../enum/agreement-signature-status.enum';
|
|
2
3
|
export interface IAgreementSignatureAttr {
|
|
3
4
|
SignatureId: string;
|
|
@@ -7,6 +8,9 @@ export interface IAgreementSignatureAttr {
|
|
|
7
8
|
PartyType: string;
|
|
8
9
|
SignatureStatus: AgreementSignatureStatusEnum;
|
|
9
10
|
SignedAt: Date;
|
|
11
|
+
VerificationMethod: AgreementSignatureVerificationMethodEnum;
|
|
12
|
+
VerificationJustification?: string;
|
|
13
|
+
VerifiedById?: string;
|
|
10
14
|
CreatedById: string;
|
|
11
15
|
CreatedAt: Date;
|
|
12
16
|
UpdatedById: string;
|
|
@@ -3,6 +3,7 @@ import { AgreementSignatureRepository } from './agreement-signature.repository';
|
|
|
3
3
|
import { IAgreementSignatureAttr } from '../../interfaces/agreemeent-signature-attr.interface';
|
|
4
4
|
import { LoginUser } from '@tomei/sso';
|
|
5
5
|
import { AgreementSignatureStatusEnum } from '../../enum/agreement-signature-status.enum';
|
|
6
|
+
import { AgreementSignatureVerificationMethodEnum } from '../../enum/agreement-signature-verification-method.enum';
|
|
6
7
|
export declare class AgreementSignature extends ObjectBase implements IAgreementSignatureAttr {
|
|
7
8
|
ObjectId: string;
|
|
8
9
|
ObjectName: string;
|
|
@@ -14,6 +15,9 @@ export declare class AgreementSignature extends ObjectBase implements IAgreement
|
|
|
14
15
|
PartyType: string;
|
|
15
16
|
SignatureStatus: AgreementSignatureStatusEnum;
|
|
16
17
|
SignedAt: Date;
|
|
18
|
+
VerificationMethod: AgreementSignatureVerificationMethodEnum;
|
|
19
|
+
VerificationJustification: string;
|
|
20
|
+
VerifiedById: string;
|
|
17
21
|
CreatedById: string;
|
|
18
22
|
CreatedAt: Date;
|
|
19
23
|
UpdatedById: string;
|
|
@@ -33,6 +33,10 @@ class AgreementSignature extends general_1.ObjectBase {
|
|
|
33
33
|
this.PartyType = AgreementSignatureAttr.PartyType;
|
|
34
34
|
this.SignatureStatus = AgreementSignatureAttr.SignatureStatus;
|
|
35
35
|
this.SignedAt = AgreementSignatureAttr.SignedAt;
|
|
36
|
+
this.VerificationMethod = AgreementSignatureAttr.VerificationMethod;
|
|
37
|
+
this.VerificationJustification =
|
|
38
|
+
AgreementSignatureAttr.VerificationJustification;
|
|
39
|
+
this.VerifiedById = AgreementSignatureAttr.VerifiedById;
|
|
36
40
|
this.CreatedById = AgreementSignatureAttr.CreatedById;
|
|
37
41
|
this.CreatedAt = AgreementSignatureAttr.CreatedAt;
|
|
38
42
|
this.UpdatedById = AgreementSignatureAttr.UpdatedById;
|
|
@@ -70,6 +74,7 @@ class AgreementSignature extends general_1.ObjectBase {
|
|
|
70
74
|
throw new general_1.ClassError('AgreementSignature', 'AgreementSignatureErrMsg03', 'AgreementNo, PartyId and PartyType are required.');
|
|
71
75
|
}
|
|
72
76
|
this.ObjectId = this.createId();
|
|
77
|
+
this.VerifiedById = loginUser.ObjectId;
|
|
73
78
|
this.CreatedById = loginUser.ObjectId;
|
|
74
79
|
this.CreatedAt = new Date();
|
|
75
80
|
this.UpdatedById = loginUser.ObjectId;
|
|
@@ -82,6 +87,9 @@ class AgreementSignature extends general_1.ObjectBase {
|
|
|
82
87
|
PartyType: this.PartyType,
|
|
83
88
|
SignatureStatus: this.SignatureStatus,
|
|
84
89
|
SignedAt: this.SignedAt,
|
|
90
|
+
VerificationMethod: this.VerificationMethod,
|
|
91
|
+
VerificationJustification: this.VerificationJustification,
|
|
92
|
+
VerifiedById: this.VerifiedById,
|
|
85
93
|
CreatedById: this.CreatedById,
|
|
86
94
|
CreatedAt: this.CreatedAt,
|
|
87
95
|
UpdatedById: this.UpdatedById,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agreement-signature.js","sourceRoot":"","sources":["../../../../src/components/agreement-signature/agreement-signature.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,qFAAgF;AAEhF,0CAAkD;AAElD,8DAA+D;
|
|
1
|
+
{"version":3,"file":"agreement-signature.js","sourceRoot":"","sources":["../../../../src/components/agreement-signature/agreement-signature.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,qFAAgF;AAEhF,0CAAkD;AAElD,8DAA+D;AAI/D,MAAa,kBACX,SAAQ,oBAAU;IAqBlB,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,WAAW,CAAC,KAAa;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAID,YAAsB,sBAAgD;QACpE,KAAK,EAAE,CAAC;QA3BV,eAAU,GAAW,oBAAoB,CAAC;QAC1C,cAAS,GAAW,2BAA2B,CAAC;QA2B9C,IAAI,sBAAsB,EAAE,CAAC;YAC3B,IAAI,CAAC,WAAW,GAAG,sBAAsB,CAAC,WAAW,CAAC;YACtD,IAAI,CAAC,WAAW,GAAG,sBAAsB,CAAC,WAAW,CAAC;YACtD,IAAI,CAAC,KAAK,GAAG,sBAAsB,CAAC,KAAK,CAAC;YAC1C,IAAI,CAAC,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC;YAC9C,IAAI,CAAC,SAAS,GAAG,sBAAsB,CAAC,SAAS,CAAC;YAClD,IAAI,CAAC,eAAe,GAAG,sBAAsB,CAAC,eAAe,CAAC;YAC9D,IAAI,CAAC,QAAQ,GAAG,sBAAsB,CAAC,QAAQ,CAAC;YAChD,IAAI,CAAC,kBAAkB,GAAG,sBAAsB,CAAC,kBAAkB,CAAC;YACpE,IAAI,CAAC,yBAAyB;gBAC5B,sBAAsB,CAAC,yBAAyB,CAAC;YACnD,IAAI,CAAC,YAAY,GAAG,sBAAsB,CAAC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,CAAC;gBAEH,MAAM,QAAQ,GAAG,IAAI,2BAAQ,EAAE,CAAC;gBAChC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACpC,QAAQ,CAAC,MAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;gBACpC,QAAQ,CAAC,WAAW,GAAG,2BAA2B,CAAC;gBACnD,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;gBAClC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBACtC,QAAQ,CAAC,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;gBAChD,QAAQ,CAAC,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;gBAE7D,MAAM,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;gBAEzD,OAAO,IAAI,CAAC;YACd,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;KAAA;;AAhJH,gDAiJC;AAnHkB,8BAAW,GAAG,IAAI,6DAA4B,EAAE,AAArC,CAAsC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AgreementSignatureVerificationMethodEnum } from '../enum/agreement-signature-verification-method.enum';
|
|
1
2
|
import { AgreementSignatureStatusEnum } from '../enum/agreement-signature-status.enum';
|
|
2
3
|
export interface IAgreementSignatureAttr {
|
|
3
4
|
SignatureId: string;
|
|
@@ -7,6 +8,9 @@ export interface IAgreementSignatureAttr {
|
|
|
7
8
|
PartyType: string;
|
|
8
9
|
SignatureStatus: AgreementSignatureStatusEnum;
|
|
9
10
|
SignedAt: Date;
|
|
11
|
+
VerificationMethod: AgreementSignatureVerificationMethodEnum;
|
|
12
|
+
VerificationJustification?: string;
|
|
13
|
+
VerifiedById?: string;
|
|
10
14
|
CreatedById: string;
|
|
11
15
|
CreatedAt: Date;
|
|
12
16
|
UpdatedById: string;
|