gemcap-be-common 1.4.5 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -155,7 +155,7 @@ export declare class LoanTransactionsService {
155
155
  getTransactionReport(transactionIds: string[], borrowerId: string, effectiveDate: Date): Promise<{
156
156
  transactionIdsToMark: any[];
157
157
  transactions: {
158
- [x: string]: (string | number | string[] | Date)[];
158
+ [x: string]: (string | number | Date | string[])[];
159
159
  }[];
160
160
  }>;
161
161
  getBorrowerIdsForFile(transactionFileId: string): Promise<{
@@ -48,9 +48,6 @@ export declare class SignsService {
48
48
  private readonly loanStatementService;
49
49
  private readonly usersService;
50
50
  constructor(lockService: LockService, loanTransactionsService: LoanTransactionsService, loanStatementService: LoanStatementService, usersService: UsersService);
51
- users: IUser[];
52
- fulfillUserList(): Promise<void>;
53
- clearUserList(): void;
54
51
  getAvailabilitiesSigns(bbcDateIds: string[]): Promise<IAvailabilitySignView[]>;
55
52
  getAvailabilitySigns(bbcDateId: string): Promise<IAvailabilitySignView>;
56
53
  revokeAvailability(bbcDateId: string, userId: string, userIdRevoked: string): Promise<void>;
@@ -32,13 +32,6 @@ class SignsService {
32
32
  this.loanStatementService = loanStatementService;
33
33
  this.usersService = usersService;
34
34
  }
35
- users = null;
36
- async fulfillUserList() {
37
- this.users = await this.usersService.getUserList();
38
- }
39
- clearUserList() {
40
- this.users = null;
41
- }
42
35
  async getAvailabilitiesSigns(bbcDateIds) {
43
36
  const availabilitySigns = await (0, availability_db_1.getAvailabilitySigns)(bbcDateIds);
44
37
  const users = await this.usersService.getUserList();
@@ -50,16 +50,6 @@ export class SignsService {
50
50
  ) {
51
51
  }
52
52
 
53
- users: IUser[] = null;
54
-
55
- async fulfillUserList() {
56
- this.users = await this.usersService.getUserList();
57
- }
58
-
59
- clearUserList() {
60
- this.users = null;
61
- }
62
-
63
53
  async getAvailabilitiesSigns(bbcDateIds: string[]): Promise<IAvailabilitySignView[]> {
64
54
  const availabilitySigns = await getAvailabilitySigns(bbcDateIds);
65
55
  const users = await this.usersService.getUserList();