gemcap-be-common 1.5.170 → 1.5.172
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/db/brokers.db.d.ts +1 -1
- package/models/LoanBroker.model.d.ts +1 -0
- package/models/LoanBroker.model.ts +1 -0
- package/models/ProductBroker.model.d.ts +3 -0
- package/models/ProductBroker.model.ts +4 -0
- package/package.json +1 -1
- package/services/brokers.service.d.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/db/brokers.db.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const enrichWithBrokers: (transactions: ILedgerDataRow[], product
|
|
|
33
33
|
export declare const getBorrowerBrokers: (borrowerId: string) => Promise<IProductBrokerLean[]>;
|
|
34
34
|
export declare const getAllProductBrokers: () => Promise<IProductBrokerLean[]>;
|
|
35
35
|
export declare const getAllLoanBrokers: () => Promise<{
|
|
36
|
-
emails: import("../models/LoanBroker.model").
|
|
36
|
+
emails: import("../models/LoanBroker.model").ILoanBrokerEmailLean[];
|
|
37
37
|
_id: mongoose.Types.ObjectId;
|
|
38
38
|
createdAt: Date;
|
|
39
39
|
updatedAt: Date;
|
|
@@ -59,6 +59,9 @@ export interface IProductBrokerPlain extends Omit<IProductBroker, 'borrowerId' |
|
|
|
59
59
|
export interface IProductBrokerDocWithLoanBroker extends TProductBrokerDoc {
|
|
60
60
|
loanBroker?: ILoanBrokerLean;
|
|
61
61
|
}
|
|
62
|
+
export interface IProductBrokerLeanWithLoanBroker extends IProductBrokerLean {
|
|
63
|
+
loanBroker?: ILoanBrokerLean;
|
|
64
|
+
}
|
|
62
65
|
export interface IProductBrokerWithLoanBrokerPlain extends IProductBrokerPlain {
|
|
63
66
|
loanBroker?: ILoanBrokerPlain;
|
|
64
67
|
}
|
|
@@ -60,6 +60,10 @@ export interface IProductBrokerDocWithLoanBroker extends TProductBrokerDoc {
|
|
|
60
60
|
loanBroker?: ILoanBrokerLean;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
export interface IProductBrokerLeanWithLoanBroker extends IProductBrokerLean {
|
|
64
|
+
loanBroker?: ILoanBrokerLean;
|
|
65
|
+
}
|
|
66
|
+
|
|
63
67
|
export interface IProductBrokerWithLoanBrokerPlain extends IProductBrokerPlain {
|
|
64
68
|
loanBroker?: ILoanBrokerPlain;
|
|
65
69
|
}
|
package/package.json
CHANGED
|
@@ -49,7 +49,7 @@ export declare class BrokersService {
|
|
|
49
49
|
checkTotalShares(borrowerId: string, brokers: IProductBrokerView[]): Promise<boolean>;
|
|
50
50
|
saveProductBrokers(borrowerId: string, brokers: IProductBrokerView[]): Promise<import("mongodb").BulkWriteResult>;
|
|
51
51
|
getAllLoanBrokers(): Promise<{
|
|
52
|
-
emails: import("../models/LoanBroker.model").
|
|
52
|
+
emails: import("../models/LoanBroker.model").ILoanBrokerEmailLean[];
|
|
53
53
|
_id: import("mongoose").Types.ObjectId;
|
|
54
54
|
createdAt: Date;
|
|
55
55
|
updatedAt: Date;
|