law-common 8.5.1 → 8.7.0
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.
|
@@ -14,6 +14,16 @@ export interface IBankEntity extends IAuditColumnEntity {
|
|
|
14
14
|
emailForPaymentInfoCsv: string;
|
|
15
15
|
status: BankStatusEnum;
|
|
16
16
|
remark?: string;
|
|
17
|
+
swiftAddress?: string;
|
|
18
|
+
eefcBankAccountNo?: string;
|
|
19
|
+
intermediaryBankDetails?: string;
|
|
20
|
+
intermediaryBankAccountNo?: string;
|
|
21
|
+
intermediaryBankAddress?: string;
|
|
22
|
+
intermediarySwiftAddress?: string;
|
|
23
|
+
ibanNo?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IBankEntityUpdateDtoValidationData {
|
|
26
|
+
bankEntity: IBankEntity;
|
|
17
27
|
}
|
|
18
28
|
export interface IBankActionDataDto {
|
|
19
29
|
action: BankActionEnum;
|
|
@@ -7,5 +7,7 @@ export interface IClientAffiliateEntity extends IAuditColumnEntity {
|
|
|
7
7
|
details?: string;
|
|
8
8
|
clientId: number;
|
|
9
9
|
organizationId: number;
|
|
10
|
+
zipCode: string;
|
|
11
|
+
country: string;
|
|
10
12
|
}
|
|
11
13
|
export type IClientAffiliateEntityFilterDto = IEntityFilterData<IClientAffiliateEntity>;
|
|
@@ -7,5 +7,6 @@ export declare class DateCodeModel {
|
|
|
7
7
|
static getRange(startDate: DateCodeModel, endDate: DateCodeModel): DateCodeModel[];
|
|
8
8
|
static fromDate(date: Date): string;
|
|
9
9
|
getFormattedDate(): string;
|
|
10
|
+
getFormattedDateWithMonthName(): string;
|
|
10
11
|
isWithinOffset(offsetInDays: number): boolean;
|
|
11
12
|
}
|
|
@@ -49,6 +49,9 @@ class DateCodeModel {
|
|
|
49
49
|
getFormattedDate() {
|
|
50
50
|
return (0, date_fns_1.format)(this.getDate(), "dd-MM-yyyy");
|
|
51
51
|
}
|
|
52
|
+
getFormattedDateWithMonthName() {
|
|
53
|
+
return (0, date_fns_1.format)(this.getDate(), "dd-MMM-yyyy");
|
|
54
|
+
}
|
|
52
55
|
isWithinOffset(offsetInDays) {
|
|
53
56
|
const todaysDateModel = new DateCodeModel(DateCodeModel.fromDate(new Date()));
|
|
54
57
|
const onTimeDateModel = todaysDateModel.getByOffset(offsetInDays);
|