@tomei/rental 0.17.3-dev.7 → 0.17.3-dev.8
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/interfaces/agreemeent-signature-attr.interface.d.ts +4 -0
- package/dist/src/ClassMappings/ItemClassMap.d.ts +4 -0
- package/dist/src/ClassMappings/ItemClassMap.js +8 -0
- package/dist/src/ClassMappings/ItemClassMap.js.map +1 -0
- package/dist/src/ClassMappings/index.d.ts +2 -0
- package/dist/src/ClassMappings/index.js +6 -0
- package/dist/src/ClassMappings/index.js.map +1 -0
- package/dist/src/components/agreement/agreement.js +91 -72
- package/dist/src/components/agreement/agreement.js.map +1 -1
- package/dist/src/components/agreement/agreement.repository.js +50 -35
- package/dist/src/components/agreement/agreement.repository.js.map +1 -1
- package/dist/src/components/agreement-history/agreement-history.js +21 -10
- package/dist/src/components/agreement-history/agreement-history.js.map +1 -1
- package/dist/src/components/agreement-history/agreement-history.repository.js +50 -35
- package/dist/src/components/agreement-history/agreement-history.repository.js.map +1 -1
- package/dist/src/components/agreement-signature/agreement-signature.js +70 -57
- package/dist/src/components/agreement-signature/agreement-signature.js.map +1 -1
- package/dist/src/components/agreement-signature/agreement-signature.repository.js +51 -36
- package/dist/src/components/agreement-signature/agreement-signature.repository.js.map +1 -1
- package/dist/src/components/booking/booking.js +231 -206
- package/dist/src/components/booking/booking.js.map +1 -1
- package/dist/src/components/booking/booking.repository.js +50 -35
- package/dist/src/components/booking/booking.repository.js.map +1 -1
- package/dist/src/components/hirer-change-request-new-hirer/hirer-change-request-new-hirer.js +62 -47
- package/dist/src/components/hirer-change-request-new-hirer/hirer-change-request-new-hirer.js.map +1 -1
- package/dist/src/components/hirer-change-request-new-hirer/hirer-change-request-new-hirer.repository.js +63 -46
- package/dist/src/components/hirer-change-request-new-hirer/hirer-change-request-new-hirer.repository.js.map +1 -1
- package/dist/src/components/hirer-change-request-remove-hirer/hirer-change-request-remove-hirer.js +64 -49
- package/dist/src/components/hirer-change-request-remove-hirer/hirer-change-request-remove-hirer.js.map +1 -1
- package/dist/src/components/hirer-change-request-remove-hirer/hirer-change-request-remove-hirer.repository.js +64 -47
- package/dist/src/components/hirer-change-request-remove-hirer/hirer-change-request-remove-hirer.repository.js.map +1 -1
- package/dist/src/components/hirer-change-request-signature/hirer-change-request-signature.js +167 -150
- package/dist/src/components/hirer-change-request-signature/hirer-change-request-signature.js.map +1 -1
- package/dist/src/components/hirer-change-request-signature/hirer-change-request-signature.repository.js +64 -47
- package/dist/src/components/hirer-change-request-signature/hirer-change-request-signature.repository.js.map +1 -1
- package/dist/src/components/joint-hirer/joint-hirer.d.ts +2 -0
- package/dist/src/components/joint-hirer/joint-hirer.js +133 -81
- package/dist/src/components/joint-hirer/joint-hirer.js.map +1 -1
- package/dist/src/components/joint-hirer/joint-hirer.repository.js +50 -35
- package/dist/src/components/joint-hirer/joint-hirer.repository.js.map +1 -1
- package/dist/src/components/rental/rental.d.ts +12 -3
- package/dist/src/components/rental/rental.js +755 -549
- package/dist/src/components/rental/rental.js.map +1 -1
- package/dist/src/components/rental/rental.repository.js +50 -35
- package/dist/src/components/rental/rental.repository.js.map +1 -1
- package/dist/src/components/rental-hirer-change-request/rental-hirer-change-request.js +456 -416
- package/dist/src/components/rental-hirer-change-request/rental-hirer-change-request.js.map +1 -1
- package/dist/src/components/rental-hirer-change-request/rental-hirer-change-request.repository.js +63 -46
- package/dist/src/components/rental-hirer-change-request/rental-hirer-change-request.repository.js.map +1 -1
- package/dist/src/components/rental-price/rental-price.js +46 -33
- package/dist/src/components/rental-price/rental-price.js.map +1 -1
- package/dist/src/components/rental-price/rental-price.repository.js +50 -35
- package/dist/src/components/rental-price/rental-price.repository.js.map +1 -1
- package/dist/src/enum/agreement-signature-verification-method.enum.d.ts +4 -0
- package/dist/src/enum/agreement-signature-verification-method.enum.js +9 -0
- package/dist/src/enum/agreement-signature-verification-method.enum.js.map +1 -0
- package/dist/src/enum/index.d.ts +2 -1
- package/dist/src/enum/index.js +3 -1
- package/dist/src/enum/index.js.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.js +3 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/models/agreement-signature.entity.d.ts +4 -0
- package/dist/src/models/agreement-signature.entity.js +22 -0
- package/dist/src/models/agreement-signature.entity.js.map +1 -1
- package/dist/src/models/hirer-change-request-new-hirer.entity.d.ts +1 -1
- package/dist/src/models/hirer-change-request-remove-hirer.entity.d.ts +1 -1
- package/dist/src/models/hirer-change-request-signature.entity.d.ts +1 -1
- package/dist/src/models/joint-hirer.entity.js +0 -4
- package/dist/src/models/joint-hirer.entity.js.map +1 -1
- 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
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import { ApplicationConfig } from '@tomei/config';
|
|
|
5
5
|
import { LoginUser } from '@tomei/sso';
|
|
6
6
|
import { ActionEnum, Activity } from '@tomei/activity-history';
|
|
7
7
|
import { AgreementSignatureStatusEnum } from '../../enum/agreement-signature-status.enum';
|
|
8
|
+
import { AgreementSignatureVerificationMethodEnum } from '../../enum/agreement-signature-verification-method.enum';
|
|
8
9
|
|
|
9
10
|
export class AgreementSignature
|
|
10
11
|
extends ObjectBase
|
|
@@ -20,6 +21,9 @@ export class AgreementSignature
|
|
|
20
21
|
PartyType: string;
|
|
21
22
|
SignatureStatus: AgreementSignatureStatusEnum;
|
|
22
23
|
SignedAt: Date;
|
|
24
|
+
VerificationMethod: AgreementSignatureVerificationMethodEnum;
|
|
25
|
+
VerificationJustification: string;
|
|
26
|
+
VerifiedById: string;
|
|
23
27
|
CreatedById: string;
|
|
24
28
|
CreatedAt: Date;
|
|
25
29
|
UpdatedById: string;
|
|
@@ -45,6 +49,10 @@ export class AgreementSignature
|
|
|
45
49
|
this.PartyType = AgreementSignatureAttr.PartyType;
|
|
46
50
|
this.SignatureStatus = AgreementSignatureAttr.SignatureStatus;
|
|
47
51
|
this.SignedAt = AgreementSignatureAttr.SignedAt;
|
|
52
|
+
this.VerificationMethod = AgreementSignatureAttr.VerificationMethod;
|
|
53
|
+
this.VerificationJustification =
|
|
54
|
+
AgreementSignatureAttr.VerificationJustification;
|
|
55
|
+
this.VerifiedById = AgreementSignatureAttr.VerifiedById;
|
|
48
56
|
this.CreatedById = AgreementSignatureAttr.CreatedById;
|
|
49
57
|
this.CreatedAt = AgreementSignatureAttr.CreatedAt;
|
|
50
58
|
this.UpdatedById = AgreementSignatureAttr.UpdatedById;
|
|
@@ -101,6 +109,7 @@ export class AgreementSignature
|
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
this.ObjectId = this.createId();
|
|
112
|
+
this.VerifiedById = loginUser.ObjectId;
|
|
104
113
|
this.CreatedById = loginUser.ObjectId;
|
|
105
114
|
this.CreatedAt = new Date();
|
|
106
115
|
this.UpdatedById = loginUser.ObjectId;
|
|
@@ -114,6 +123,9 @@ export class AgreementSignature
|
|
|
114
123
|
PartyType: this.PartyType,
|
|
115
124
|
SignatureStatus: this.SignatureStatus,
|
|
116
125
|
SignedAt: this.SignedAt,
|
|
126
|
+
VerificationMethod: this.VerificationMethod,
|
|
127
|
+
VerificationJustification: this.VerificationJustification,
|
|
128
|
+
VerifiedById: this.VerifiedById,
|
|
117
129
|
CreatedById: this.CreatedById,
|
|
118
130
|
CreatedAt: this.CreatedAt,
|
|
119
131
|
UpdatedById: this.UpdatedById,
|
|
@@ -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
|
|
|
3
4
|
export interface IAgreementSignatureAttr {
|
|
@@ -8,6 +9,9 @@ export interface IAgreementSignatureAttr {
|
|
|
8
9
|
PartyType: string;
|
|
9
10
|
SignatureStatus: AgreementSignatureStatusEnum;
|
|
10
11
|
SignedAt: Date;
|
|
12
|
+
VerificationMethod: AgreementSignatureVerificationMethodEnum;
|
|
13
|
+
VerificationJustification?: string;
|
|
14
|
+
VerifiedById?: string;
|
|
11
15
|
CreatedById: string;
|
|
12
16
|
CreatedAt: Date;
|
|
13
17
|
UpdatedById: string;
|