gemcap-be-common 1.5.175 → 1.5.176
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.
|
@@ -44,9 +44,8 @@ export interface IQuickbooksAccountPlain extends Omit<IQuickbooksAccount, 'compa
|
|
|
44
44
|
_id: string;
|
|
45
45
|
companyId: string;
|
|
46
46
|
}
|
|
47
|
-
type TQuickbooksAccountModel = Model<IQuickbooksAccount>;
|
|
47
|
+
export type TQuickbooksAccountModel = Model<IQuickbooksAccount>;
|
|
48
48
|
export declare const QuickbooksAccountSchema: mongoose.Schema<IQuickbooksAccount, TQuickbooksAccountModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IQuickbooksAccount, mongoose.Document<unknown, {}, mongoose.FlatRecord<IQuickbooksAccount>> & mongoose.FlatRecord<IQuickbooksAccount> & {
|
|
49
49
|
_id: mongoose.Types.ObjectId;
|
|
50
50
|
}>;
|
|
51
51
|
export declare const QuickbooksAccount: TQuickbooksAccountModel;
|
|
52
|
-
export {};
|
|
@@ -36,7 +36,7 @@ export interface IQuickbooksAccountPlain extends Omit<IQuickbooksAccount, 'compa
|
|
|
36
36
|
companyId: string;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
type TQuickbooksAccountModel = Model<IQuickbooksAccount>;
|
|
39
|
+
export type TQuickbooksAccountModel = Model<IQuickbooksAccount>;
|
|
40
40
|
|
|
41
41
|
export const QuickbooksAccountSchema = new mongoose.Schema<IQuickbooksAccount, TQuickbooksAccountModel>(
|
|
42
42
|
{
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ export declare class ComplianceBorrowersService {
|
|
|
58
58
|
isComplianceBorrowerAllowed(userAccess: IUserAccess, requestedBorrowerId: string): boolean;
|
|
59
59
|
calculateInstanceStatuses(instance: IBorrowerItemInstance, item: IBorrowerItemLean): IInstanceStatus;
|
|
60
60
|
getFullComplianceBorrowerById(complianceBorrowerId: string): Promise<IComplianceBorrowerDocumentFullWithStatuses>;
|
|
61
|
-
getAllBorrowersShortened(userAccess: IUserAccess): Promise<Pick<IComplianceBorrowerWithBorrower, "borrower" | "
|
|
61
|
+
getAllBorrowersShortened(userAccess: IUserAccess): Promise<Pick<IComplianceBorrowerWithBorrower, "borrower" | "fundingStatus" | "items">[]>;
|
|
62
62
|
generateInstances(complianceBorrowerId: any): Promise<IComplianceBorrowerDocumentFullWithStatuses>;
|
|
63
63
|
calculateAndUpdateFundingStatus(complianceBorrowerId: string): Promise<void>;
|
|
64
64
|
calculateFundingStatus(complianceBorrower: IComplianceBorrowerDocumentFull): string;
|