@royalinvest/dto 0.63.1 → 0.63.3
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/credit-check/index.d.ts +2 -0
- package/dist/logger/index.d.ts +4 -3
- package/dist/logger/index.js +2 -6
- package/package.json +1 -1
- package/dist/messageBrokerEvent.d.ts +0 -5
- package/dist/messageBrokerEvent.js +0 -2
- package/dist/messageGenerate.d.ts +0 -57
- package/dist/messageGenerate.js +0 -2
- package/dist/messageNotification.d.ts +0 -45
- package/dist/messageNotification.js +0 -2
|
@@ -16,6 +16,7 @@ export type TReason = {
|
|
|
16
16
|
export interface ICreateDraftCreditCheckRequest {
|
|
17
17
|
request_type: TCreditCheckInitiated;
|
|
18
18
|
bureau: TBureau;
|
|
19
|
+
screening_questionnaire_id?: string;
|
|
19
20
|
}
|
|
20
21
|
export interface ICreateDraftCreditCheckResponse {
|
|
21
22
|
request_id: string;
|
|
@@ -253,6 +254,7 @@ export interface ICreditCheckConsentTenantInfoResponse {
|
|
|
253
254
|
sender_first_name: string;
|
|
254
255
|
sender_last_name: string;
|
|
255
256
|
sender_email: string;
|
|
257
|
+
screening_questionnaire_id?: string;
|
|
256
258
|
rental_address: IAddress;
|
|
257
259
|
}
|
|
258
260
|
export interface ICreditCheckReportFileDownload {
|
package/dist/logger/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import pino from "pino";
|
|
2
|
-
export
|
|
3
|
-
export declare function createScopedLogger({ requestId, userId }: {
|
|
2
|
+
export interface ILogContext {
|
|
4
3
|
requestId: string;
|
|
5
4
|
userId?: string;
|
|
6
|
-
}
|
|
5
|
+
}
|
|
6
|
+
export declare const baseLogger: import("pino").Logger<never, boolean>;
|
|
7
|
+
export declare function createScopedLogger(context: ILogContext): pino.Logger<never, boolean>;
|
package/dist/logger/index.js
CHANGED
|
@@ -27,10 +27,6 @@ exports.baseLogger = (0, pino_1.default)({
|
|
|
27
27
|
}
|
|
28
28
|
: undefined,
|
|
29
29
|
});
|
|
30
|
-
function createScopedLogger(
|
|
31
|
-
|
|
32
|
-
if (userId) {
|
|
33
|
-
scoped = scoped.child({ user_id: userId });
|
|
34
|
-
}
|
|
35
|
-
return scoped;
|
|
30
|
+
function createScopedLogger(context) {
|
|
31
|
+
return exports.baseLogger.child(context);
|
|
36
32
|
}
|
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { LeaseTypeEnum } from "./enum";
|
|
2
|
-
import { ICertificateFormData } from "./certificateFormData";
|
|
3
|
-
import { IContractParty } from "./contractParty";
|
|
4
|
-
import { IDocumentDrawingInstructions } from "./documentDrawingInstructions";
|
|
5
|
-
import { IFileMetadata } from "./fileMetadata";
|
|
6
|
-
import { ISignaturePartySigned } from "./signaturePartySigned";
|
|
7
|
-
import { IInvoiceRenderData } from "./invoiceRenderData";
|
|
8
|
-
import { ICreditCheckReportData } from "./creditCheckReport";
|
|
9
|
-
export interface IMessageGenerate {
|
|
10
|
-
contract_id: string;
|
|
11
|
-
details: JSON;
|
|
12
|
-
user_id: string;
|
|
13
|
-
template_variant_file_name: string;
|
|
14
|
-
template_variant_name: string;
|
|
15
|
-
template_variant_language: string;
|
|
16
|
-
template_variant_mime_type: string;
|
|
17
|
-
template_variant_id: string;
|
|
18
|
-
template_name: LeaseTypeEnum;
|
|
19
|
-
file_id?: string;
|
|
20
|
-
isEdit?: boolean;
|
|
21
|
-
contract_parties?: IContractParty[];
|
|
22
|
-
drawing_instructions?: IDocumentDrawingInstructions;
|
|
23
|
-
metadata?: IFileMetadata;
|
|
24
|
-
}
|
|
25
|
-
export interface IMessageGenerateSigned {
|
|
26
|
-
party: ISignaturePartySigned;
|
|
27
|
-
generate_hash?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface IMessageGenerateVoided {
|
|
30
|
-
user_id: string;
|
|
31
|
-
contract_id: string;
|
|
32
|
-
file_id: string;
|
|
33
|
-
file_name: string;
|
|
34
|
-
notify_party_email: boolean;
|
|
35
|
-
generate_hash?: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface IMessageGenerateCertificate {
|
|
38
|
-
file_id: string;
|
|
39
|
-
blob_path: string;
|
|
40
|
-
form_data: ICertificateFormData;
|
|
41
|
-
form_instructions: JSON;
|
|
42
|
-
language: string;
|
|
43
|
-
}
|
|
44
|
-
export interface IMessageGenerateInvoice {
|
|
45
|
-
user_id: string;
|
|
46
|
-
billing_id: string;
|
|
47
|
-
blob_path: string;
|
|
48
|
-
invoice_number: string;
|
|
49
|
-
language: string;
|
|
50
|
-
data: IInvoiceRenderData;
|
|
51
|
-
}
|
|
52
|
-
export interface IMessageGenerateCreditCheckReport {
|
|
53
|
-
report_data: ICreditCheckReportData;
|
|
54
|
-
subject_id: string;
|
|
55
|
-
blob_path: string;
|
|
56
|
-
language: string;
|
|
57
|
-
}
|
package/dist/messageGenerate.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { IPhysicalFileDetails } from "./physicalFileDetails";
|
|
2
|
-
import { IPlaceholderCollection } from "./placeholderCollection";
|
|
3
|
-
import { ISignaturePartyBasic } from "./signaturePartyBasic";
|
|
4
|
-
export interface IGeneratedNotification {
|
|
5
|
-
contract_id: string;
|
|
6
|
-
user_id: string;
|
|
7
|
-
file_name: string;
|
|
8
|
-
file_language: string;
|
|
9
|
-
mime_type: string;
|
|
10
|
-
template_name: string;
|
|
11
|
-
template_variant_id: string;
|
|
12
|
-
file_id?: string;
|
|
13
|
-
isEdit?: boolean;
|
|
14
|
-
generated_placeholders?: IPlaceholderCollection;
|
|
15
|
-
generated_file_details?: IPhysicalFileDetails;
|
|
16
|
-
}
|
|
17
|
-
export interface ISignedNotification {
|
|
18
|
-
file_id: string;
|
|
19
|
-
party: ISignaturePartyBasic;
|
|
20
|
-
generated_file_details?: IPhysicalFileDetails;
|
|
21
|
-
}
|
|
22
|
-
export interface IVoidedNotification {
|
|
23
|
-
user_id: string;
|
|
24
|
-
file_id: string;
|
|
25
|
-
contract_id: string;
|
|
26
|
-
notify_party_email: boolean;
|
|
27
|
-
generated_file_details?: IPhysicalFileDetails;
|
|
28
|
-
}
|
|
29
|
-
export interface IGeneratedCertificateNotification {
|
|
30
|
-
file_id: string;
|
|
31
|
-
blob_path: string;
|
|
32
|
-
}
|
|
33
|
-
export interface IGeneratedInvoiceNotification {
|
|
34
|
-
user_id: string;
|
|
35
|
-
billing_id: string;
|
|
36
|
-
blob_path: string;
|
|
37
|
-
invoice_number: string;
|
|
38
|
-
language: string;
|
|
39
|
-
}
|
|
40
|
-
export interface IGeneratedCreditCheckReportNotification {
|
|
41
|
-
subject_id: string;
|
|
42
|
-
blob_path: string;
|
|
43
|
-
hash: string;
|
|
44
|
-
language: string;
|
|
45
|
-
}
|